Simplified decompilation tool for Project Zomboid powered by Vineflower.
- Install Java 17 or above.
- Download the latest .zip from Releases.
- Extract the zip.
- Navigate to
bin/and runZomboidDecompiler.bat. - Wait a few minutes for decompilation to complete. The black box will close when the program has finished.
- If you receive an error about not being able to find the game directory, open your command line to the
binfolder and executeZomboidDecompiler.bat "PATH", replacingPATHwith the path to your game installation'sProjectZomboidfolder.- Example:
ZomboidDecompiler.bat "D:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid"
- Example:
- If you receive an error about not being able to find the game directory, open your command line to the
The decompiled source code will be written to output/.
- Install Java 17 or above.
- Download the latest .zip from Releases.
- Extract the zip.
- Navigate to
bin/and runZomboidDecompiler.- If you receive an error about not being able to find the game directory, open your terminal and run
ZomboidDecompiler PATHreplacingPATHwith the path to your game installation'sProjectZomboidfolder.- Example:
ZomboidDecompiler "~/.steam/steam/steamapps/common/ProjectZomboid"
- Example:
- If you receive an error about not being able to find the game directory, open your terminal and run
- Wait a few minutes for decompilation to complete.
The decompiled source code will be written to
output/.
- Single click game decompilation.
- Addition of doc comments, either scraped from the official Javadocs or community written.
- Line number remapping for remote debugging.
Sometimes the game changes too much for Zomboid Decompiler to reasonably maintain compatibility with older versions. Downloads for the latest version supporting certain game versions are listed here.
| Game version | Last supporting version |
|---|---|
| 42.13.0–latest | latest |
| unknown–42.12.3 | v0.2.3 |
Launch with -h or --help for information about command line parameters.
A basic guide on using ZomboidDecompiler for remote debugging is hosted here.
ZomboidDecompiler can be built with gradlew build.
You can include Rosetta files in src/main/resources/rosetta/ to be used as defaults when no rosetta directory is passed.
The standard binaries in Releases are built with the
latest Rosetta data included.