-
-
Save vgmoose/efc86b9376a39f8e0f1c016cb403d8b9 to your computer and use it in GitHub Desktop.
BZLA LUA recursive file extractor (such as those extracted from BEA files in super mario party)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 https://github.com/HansWessels/unluac ) | |
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