Jump to content

.lub to .lua someone know?


LeandroLima

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   1
  • Joined:  08/24/13
  • Last Seen:  

Hi guys, first sorry for my english, i'm learning. xD

Well, i wanted know how convert .lub to .lua, i saw others topics but did not work none.

 

I saw this topics here:

 

and this video:

 

Using the chankspy, this error appears:

 

Pos   Hex Data           Description or Code

------------------------------------------------------------------------
0000                     ** source chunk: accessoryid.lub
                         ** global header start **
0000  1B4C7561           header signature: "\27Lua"
ChunkSpy: A Lua 5.0.2 binary chunk disassembler
Version 0.9.7 (20050605)  Copyright © 2004-2005 Kein-Hong Man
The COPYRIGHT file describes the conditions under which this
software may be distributed (basically a Lua 5-style license.)
 
* Run with option -h or --help for usage information
ChunkSpy:1101: ChunkSpy cannot read version 51 chunks

 

And using luadec the file .lua goes blank.

 

Someone can help me? I wanted learn how do this conversion.

thank you, hugs!

Edited by Leandro Lima
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/09/13
  • Last Seen:  

Try to rename the extension name. lub to .lua

 

ex. Filename.lub to Filename.lua

 

Just try :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   1
  • Joined:  08/24/13
  • Last Seen:  

@caizercafe,I did but gave error also.

I managed to do, but have helped me on another forumif they allow I post here too ..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/09/13
  • Last Seen:  

Open notepad++

 

Copy this

for /r %%x in (*.lub) do ren "%%x" *.lua 
rmdir /s /q "lub files\chatwndinfo"
rmdir /s /q "lub files\optioninfo"
del /s *_f.lua
del /s *_function.lua
pause 5

and paste it on your notepad++

 

then save it as lubtolua.bat

 

or just save lubtolua if the save as type: is already "batch file"

 

then copy the batch file that you save, and paste inside your folder with lub files

 

then execute it inside your folder

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...