Jump to content
  • 0

[Question] LUA files, oh we love them ~


Question

Posted (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 by Mirage

6 answers to this question

Recommended Posts

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...