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.sh
in this repo to work on a lot of files:./unluac.sh (input directory) [optional output directory]
Passing the
-r
option before the input directory will delete theluac
files after they have been decompiled.
(Note: you need the Java Development Kit to build the JAR file)
git clone
the repocd
to its root directory./build.sh
should create abuild
directory, stick the class files there, then put the finished JAR in the root directory