Case study
kfiv-decomp: matching decompilation of King's Field IV
kfiv-decomp reconstructs King's Field: The Ancient City's USA PlayStation 2 executable as matching C and assembly. Its build extracts a user-supplied disc, splits the executable with splat, and checks the linked ROM SHA-1; the author reports a byte-identical result while much game code remains assembly.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Stars
- 22
- Last commit
- 2026-10-21
- Language
- C
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Requirements & limits
- Prerequisites: Own USA SLUS-20318 disc image.
- Prerequisites: 64-bit Linux with 32-bit glibc, gcc -m32 support, flex, bison, curl, git and Python 3.
- Limits: The game code remains partly in splat-disassembled assembly; VU1 microprograms are not wired in.
- License: MIT license.
Cite
BibTeX
@misc{kfiv-decomp-case,
title = {{kfiv-decomp: matching decompilation of King's Field IV}},
howpublished = {\url{https://github.com/Voicedrew11/kfiv-decomp}},
url = {https://github.com/Voicedrew11/kfiv-decomp},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/kfiv-decomp-case/}}
}Plain text
kfiv-decomp: matching decompilation of King's Field IV. https://github.com/Voicedrew11/kfiv-decomp (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/kfiv-decomp-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · Voicedrew11/kfiv-decomp · Revision 09adc15
- CONTRIBUTING.md GitHub · Voicedrew11/kfiv-decomp · Revision 09adc15
More in Games
- Kid Icarus: Of Myths and Monsters: a Game Boy disassembly · Case study
- Kingdom Hearts 2 Final Mix: an in-progress PS2 main-ELF decompilation · Case study
- Kingdom Hearts 358/2 Days: a matching Nintendo DS decompilation · Case study
- Kingdom Hearts: Chain of Memories — matching GBA decompilation · Case study
- Kirby Air Ride: a GameCube DOL decompilation · Case study
- Kirby Air Ride: a three-region GameCube decompilation · Case study