Skip to content

Instantly share code, notes, and snippets.

@jsoctocat
Created October 9, 2019 04:10
Show Gist options
  • Save jsoctocat/58dab46fdaaa9db297ed0d5aec1c702d to your computer and use it in GitHub Desktop.
Save jsoctocat/58dab46fdaaa9db297ed0d5aec1c702d to your computer and use it in GitHub Desktop.
decompile all lua files within a folder, require Java and unluac.jar (you can find unluac.jar on google)
@echo off
for /r %~d1 %%g in (*.luac) do java -jar unluac.jar "%%g" > %%~dpng.lua
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment