Skip to content

ntsc-v1.0.0: ICO USA retail boot ELF rebuilt from source

Choose a tag to compare

@nathanialf nathanialf released this 24 Oct 02:51
· 6 commits to ntsc since this release

ICO USA retail boot ELF, SLUS-20218 (SCUS_971.13; SYSTEM.CNF VER = 1.00, VMODE = NTSC; the debug menu dates the build Aug 20 2001), rebuilt from source.

Every object of the link is built from the C and assembly under ico2/ and sce/ with the toolchain the game was built with (ee-gcc 2.9-991111 and its assembler for the game, newlib and libgcc; Sony's 2.10 assembler for the SDK archives; GNU ld 2.10 with the EE and DVP patches; dvp-as for the five VU1 microprograms), or, for the game's 73 code-less data members, generated at build time from the user's own disc image and the committed record schema. The stub list is empty. Every allocated section of build/ntsc/ico.elf is byte-identical to the disc's SCUS_971.13, the ROM image SHA-1 is fbf50c75cd5911273511c4f9af90503ff8423582 and the ELF file SHA-1 is a4d8fc1948fb2da2395f3863a94a3b93de55de14.

One function, girl_act.c's subGirlControl, carries a debug display that every retail build compiles out. The ROM keeps its eight strings and pins the count of its statements, not their text; the display is written as an educated guess and marked in the source as a draft with unverified ordering.

To build, clone the branch and copy the disc image into baserom/:

git clone -b ntsc https://github.com/nathanialf/ico.git && cd ico && mkdir -p baserom
cp "/path/to/Ico (USA).bin" baserom/Ico_USA.bin && cp "/path/to/Ico (USA).cue" baserom/Ico_USA.cue && ./build.sh

The ntsc branch is a single-target tree, the PAL source with the USA build's differences, and it is not yet merged with main. docs/README.md lists those differences. No disc data is in the repository.