Fork of https://sourceforge.net/projects/unluac/ to work with the Playdate's Lua bytecode
(Note: you need the Java runtime to run the JAR file)
-
Download the JAR from the releases section
-
java -jar unluac.jar -o (output_file.lua) (input_file.luac) -
Alternately, you can use
unluac.shin this repo to work on a lot of files:./unluac.sh (input directory) [optional output directory]Passing the
-roption before the input directory will delete theluacfiles after they have been decompiled.
(Note: you need the Java Development Kit to build the JAR file)
git clonethe repocdto its root directory./build.shshould create abuilddirectory, stick the class files there, then put the finished JAR in the root directory