Case study
Psychonauts: matching Lua scripts and PC engine functions
Psychonauts decompiles the PC game's modified Lua 4.0 scripts and portions of its 32-bit x86 engine into source checked by per-function byte comparisons. Its tools extract scripts from a user-owned game copy, rebuild them with a patched Lua compiler, and compare engine objects with Psychonauts.exe. The author reports all script functions matching and the engine still early in progress.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 22
- Last commit
- 2026-10-26
- Language
- C
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Evidence
- Observed
- Code and documentation observed; no download method or demo found.
- Checked
- 2026-11-09
Requirements & limits
- Prerequisites: A personal copy of the current Steam version of Psychonauts.
- Prerequisites: Linux or WSL, Python 3 and gcc; engine matching also needs pefile, capstone and Visual C++ 2008 without a service pack.
- Limits: The author reports 106607 of 106607 script functions and 3375 of 10930 engine functions matching.
- License: MIT license.
Cite
BibTeX
@misc{psychonauts-decomp-case,
title = {{Psychonauts: matching Lua scripts and PC engine functions}},
howpublished = {\url{https://github.com/DrDecki/psychonauts-decomp}},
url = {https://github.com/DrDecki/psychonauts-decomp},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/psychonauts-decomp-case/}}
}Plain text
Psychonauts: matching Lua scripts and PC engine functions. https://github.com/DrDecki/psychonauts-decomp (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/psychonauts-decomp-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · DrDecki/psychonauts-decomp · Revision 358267b
More in Games
- pw: a matching decompilation of the Pokéwalker firmware · Case study
- ra2-decomp: a matching decompilation of Yuri's Revenge · Case study
- Rage of Mages / Allods: matching reconstruction of the 1998 engine · Case study
- Rally Trophy Decomp: function-matched reconstruction of Rally Trophy 1.01 · Case study
- Rampage 2: Universal Tour: matching PlayStation decompilation · Case study
- Ratatouille: matching the January 2006 prototype · Case study