ICO's USA disc now rebuilds from decompiled source
A decompiled source tree for the USA retail ICO (PS2) boot file rebuilds it byte for byte from your own disc image.
PS2 → PS2 · Decompilation
The nathanialf/ico repository now has a release that rebuilds the USA retail boot file of ICO, the 2001 PlayStation 2 game from Sony Computer Entertainment. The tag is ntsc-v1.0.0, and the release is dated October 24, 2026. A decompilation here means readable C and assembly source that compiles back into the same ELF the disc loads.
The source targets SLUS-20218, the USA disc (SCUS_971.13, with SYSTEM.CNF reading VER = 1.00, VMODE = NTSC). It builds with the toolchain the game shipped with: ee-gcc 2.9-991111 for the game code, Sony’s 2.10 assembler for the SDK archives, GNU ld 2.10 with the EE and DVP patches, and dvp-as for the five VU1 microprograms. Every allocated section of build/ntsc/ico.elf matches the disc’s SCUS_971.13 byte for byte. The ELF SHA-1 is a4d8fc1948fb2da2395f3863a94a3b93de55de14, and the stub list is empty.
A few things stay outside the repo. The 73 data members with no code are generated at build time from your own disc image, since the repository holds no disc data. One function, subGirlControl in girl_act.c, has a debug display that retail builds compile out. The ROM keeps its eight strings and the statement count, but not their text, so the display text is a guess, and the source marks it as a draft with unverified ordering. The ntsc branch covers one target only. It is the PAL source with the USA differences, and it is not merged into main yet. docs/README.md lists those differences.
To build it, you need your own disc image:
- Clone the branch and create the baserom folder:
git clone -b ntsc https://github.com/nathanialf/ico.git && cd ico && mkdir -p baserom - Copy your disc image in:
cp "/path/to/Ico (USA).bin" baserom/Ico_USA.bin && cp "/path/to/Ico (USA).cue" baserom/Ico_USA.cue - Run
./build.sh.