Case study
Serial Experiments Lain: matching PlayStation decompilation and native port
Serial Experiments Lain is reconstructed as C source for the PlayStation release and ported to Windows, macOS and Linux through a reimplementation of PlayStation SDK calls. The author reports that the rebuilt executable matches the retail binary byte for byte; the native client reads media and data from the user's two original discs.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 154
- Last commit
- 2026-10-03
- Language
- C
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Evidence
- Observed
- Code, documentation and a download method observed; no demo found.
- Checked
- 2026-11-09
Requirements & limits
- Prerequisites: Two original Japanese PlayStation discs dumped as Redump .cue and .bin images are required for the native client.
- Prerequisites: The decompilation build requires Python 3, Docker, and the disc images; the native build requires CMake, a C/C++ compiler, SDL2, and OpenAL.
- Scope: The author reports a byte-identical executable and 321 matching game functions.
- License: MIT license.
Cite
BibTeX
@misc{lain-psx-decompiled-case,
title = {{Serial Experiments Lain: matching PlayStation decompilation and native port}},
howpublished = {\url{https://github.com/Y0oshi/lain-psx-decompiled}},
url = {https://github.com/Y0oshi/lain-psx-decompiled},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/lain-psx-decompiled-case/}}
}Plain text
Serial Experiments Lain: matching PlayStation decompilation and native port. https://github.com/Y0oshi/lain-psx-decompiled (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/lain-psx-decompiled-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · Y0oshi/lain-psx-decompiled · Revision 205c197
- docs/findings/README.md GitHub · Y0oshi/lain-psx-decompiled · Revision 205c197
More in Games
- SF1DISASM: a reassemblable Shining Force disassembly · Case study
- SF2RE: reconstructing Shining Force II disassembly in IDA · Case study
- Shadow of the Colossus: matching decompilation of the PS2 release · Case study
- Shadow the Hedgehog: a matching GameCube decompilation · Case study
- Shadow the Hedgehog: a three-region GameCube decompilation · Case study
- Shaun Palmer's Pro Snowboarder: a PS2 decompilation and format study · Case study