Skip to content

jun26-v1.0.2: GirlForceFieldGeo takes the object, declarations made visible, main's shared layer

Choose a tag to compare

@nathanialf nathanialf released this 30 Oct 08:05
· 30 commits to main since this release

ICO's June 26, 2001 demo boot ELF, CUS97113/SCPS_000.00 on the Official U.S. PlayStation Magazine demo disc 49 (SCUS-97158), rebuilt from source: the force field's empty geometry process declared as the kind table calls it, nine calls' declarations made visible, and the branch on main's current shared layer.

The build is unchanged in its bytes: every allocated section of build/jun26/ico.elf is byte-identical to the disc's SCPS_000.00, the ROM image SHA-1 is e5d6dd3c156ed5489a4d2e7bbf4707cd58d0dccc and the ELF file SHA-1 is 95c3d438185c3b75303b68719cfd48c84f2f8bfa.

Changes since jun26-v1.0.1 (each commit's gate passed; no byte moved; jun26-v1.0.1..5e83f06):

  • GirlForceFieldGeo takes the object (5af5925): the empty geometry process in ico2/sugipon/src/girlForceField.c is called through the obj-kind table's geo slot, void (*geo)(GObj *), and now takes GObj *self as that slot does instead of (void); girlForceField.h declares struct GObj before the first prototype that names it. Found by the PC port (89a23ca2c).
  • Declarations made visible (5e83f06), each for a call with no declaration in scope: girl_act.c includes lineManager.h (DrawLine); pool.c debug_exception.h and <assert.h> (debug_assertMessage, __assert); st13b.c camera-ico2.h and enemy_act.h (CameraSetCameraSet, actEnemyFlagCheckDead); Light.c staticBlur.h and Texture.h (GetSunWorldPos, tex_TransTexture); enemy_act.c layout_texture.h (lt_switch_layout); and icoMisc.c declares gif_SetZWrite and gif_SetZTest beside its other gif externs, since its gif_Sprite and gif_Line externs take a 32-bit z and GifPacket.h cannot be included.
  • Main's shared layer (991cb36, 4019598): the cn target (the Asian retail disc, SCPS-55001, SCPS_550.01) registered in ico_version.py/.sh, extract_elf.py/.sh, build.sh and check_no_rom.sh; LN taking the seventh argument in compile_c.sh and gen_ninja.py; the self-tests of check_targets.py, gen_data_c.py and format_layout.py covering the seventh target's conditions; and the Pages script, workflow and dashboard reading cn's tab from branch cn as a frozen target.

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

git clone -b jun26-v1.0.2 https://github.com/nathanialf/ico.git && cd ico && mkdir -p baserom
cp "/path/to/demo disc 49.iso" baserom/Ico_JUN26.iso && ./build.sh

No disc data is in the repository.