Mirage Posted December 9, 2011 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 217 Reputation: 18 Joined: 11/20/11 Last Seen: March 25, 2014 Share Posted December 9, 2011 (edited) Well here it is folks, the question that will determine how long my night will be. Is it possible, to massive convert LUA files -> LUB? Edited December 9, 2011 by Mirage Quote Link to comment Share on other sites More sharing options...
leadtech Posted December 9, 2011 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 59 Reputation: 2 Joined: 11/12/11 Last Seen: March 31, 2020 Share Posted December 9, 2011 yeah ,,, It's possible .. just use LUAC Quote Link to comment Share on other sites More sharing options...
Aerie Posted December 9, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted December 9, 2011 Here a link : luac5.0.2.exe And how use it : http://www.eathena.ws/board/index.php?showtopic=251329 Quote Link to comment Share on other sites More sharing options...
Mirage Posted December 9, 2011 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 217 Reputation: 18 Joined: 11/20/11 Last Seen: March 25, 2014 Author Share Posted December 9, 2011 Well...thats one by one. I know that way, I was thinking more of a "all at the same time" converter... Quote Link to comment Share on other sites More sharing options...
FatalEror Posted December 9, 2011 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 67 Reputation: 23 Joined: 11/14/11 Last Seen: October 3, 2014 Share Posted December 9, 2011 Copy that luac5.0.2.exe in your "Lua Files" folder Create a batch file(eg:convert.bat) Copy paste this to convert.bat and save it... @echo off for /f "usebackq tokens=*" %%a in (`dir /b/s/a:d`) do ( for %%l in (%%~nxa\*.lua) do ( luac5.0.2 -o %%~nxa\%%~nl.lub %%l ) ) for %%l in (*.lua) do ( luac5.0.2 -o %%~nl.lub %%l ) pause Run convert.bat 2 Quote Link to comment Share on other sites More sharing options...
dapoks143 Posted December 9, 2011 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 12/03/11 Last Seen: September 29, 2013 Share Posted December 9, 2011 i cant run the convert.bat Quote Link to comment Share on other sites More sharing options...
Mirage Posted December 9, 2011 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 217 Reputation: 18 Joined: 11/20/11 Last Seen: March 25, 2014 Author Share Posted December 9, 2011 Sweet thanks. Worked perfectly ! @dapoks Use notepad++ to make the batch converter Quote Link to comment Share on other sites More sharing options...
Question
Mirage
Well here it is folks, the question that will determine how long my night will be.
Is it possible, to massive convert LUA files -> LUB?
Edited by MirageLink to comment
Share on other sites
6 answers to this question
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.