LeandroLima Posted December 1, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 1 Joined: 08/24/13 Last Seen: January 4, 2015 Share Posted December 1, 2013 (edited) 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: http://rathena.org/board/topic/73005-lub-to-lua-converter/ http://rathena.org/board/topic/64011-how-to-convert-the-lub-to-lua/ 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 December 1, 2013 by Leandro Lima Quote Link to comment Share on other sites More sharing options...
caizercafe Posted December 2, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 62 Reputation: 1 Joined: 10/09/13 Last Seen: December 20, 2013 Share Posted December 2, 2013 Try to rename the extension name. lub to .lua ex. Filename.lub to Filename.lua Just try Quote Link to comment Share on other sites More sharing options...
LeandroLima Posted December 2, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 1 Joined: 08/24/13 Last Seen: January 4, 2015 Author Share Posted December 2, 2013 @caizercafe,I did but gave error also. I managed to do, but have helped me on another forumif they allow I post here too .. Quote Link to comment Share on other sites More sharing options...
caizercafe Posted December 2, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 62 Reputation: 1 Joined: 10/09/13 Last Seen: December 20, 2013 Share Posted December 2, 2013 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 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.