Mirage Posted December 9, 2011 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 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 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 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 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 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 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...
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