Jump to content
  • 0
Mirage

[Question] LUA files, oh we love them ~

Question

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 Mirage
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

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 :D

  • Upvote 2
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
Answer this question...

×   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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.