Skip to content

Instantly share code, notes, and snippets.

Created Nov 27, 2018
What would you like to do?
BZLA LUA recursive file extractor (such as those extracted from BEA files in super mario party)
# run within an extracted mini game directory (one of the mg* files)
# recursively snips header from .lua files (.lua.ex) then runs unluac on them to be readable (.lua.ex.txt)
# replace /path/to/unluac.jar to an absolute path where yours is (can be built from here )
find . -name "*.lua" -exec sh -c 'tail -c +21 "$1" > "$1.ex"; java -jar /path/to/unluac.jar "$1.ex" > "$1.ex.txt"' x {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment