Skip to content
This repository was archived by the owner on Dec 2, 2026. It is now read-only.

Releases

v0.2.0: Milestone 1 complete — 407 matching Card Cage functions

Choose a tag to compare

@mateusgiordani mateusgiordani released this 26 Sep 21:24

Inventory correction (2026-09-26): Milestone 1 is reopened. A new PAL review confirmed 28 additional functions, bringing the catalog to 435 (407 matching, 28 pending). The 407 matches certified by this release remain valid. See the inventory review.

This release addressed the catalog gap documented in v0.1.1, but did not establish complete inventory coverage. The boundary review ultimately confirmed 89 additional functions; all are now included with their source, verification recipe, and hashes.

What changed

  • Added 89 matching C functions: 84 in CARDGAME and 5 in STCRDDEK.
  • Added 22,728 bytes of matching code, bringing the catalog to 198,596 bytes.
  • Preserved the previously published 318 C sources and their recipes.
  • Updated the README, function inventory, recipe headers, and verification certificate.
Overlay Matching functions in the v0.2.0 snapshot
CARDGAME 283 / 283
STCRDABM 27 / 27
STCRDDEK 53 / 53
STCRDSHP 44 / 44
Total 407 / 407

Verification

All 407 functions passed full-range byte comparison, including their jump tables, with both toolchains:

  • Public: GCC 2.8.1 PSX, maspsx, and GNU as.
  • Original PsyQ: CC1PSX 2.8.1 and ASPSX 2.79.

The two runs produced identical matched-byte hashes. The 19 local tool tests, checks of all 407 recipe headers, and GitHub CI passed.

This release certifies its 407-function snapshot. The card game function milestone remains open; it is also not a byte-identical rebuild of the .PRO files. Overlay headers, data, and overall layout are not reconstructed here. No game data or proprietary tool binaries are distributed.

Changes since v0.1.1

v0.1.1: correction, milestone 1 (card game overlays) still in progress

Choose a tag to compare

@mateusgiordani mateusgiordani released this 25 Sep 06:38

Correction to v0.1.0: milestone 1 (the card game overlays) is not complete yet.

v0.1.0 described the card game overlays as 100% C matching. That was wrong. All
318 functions catalogued so far are at C matching, but a later boundary review
of the PAL bytes found about 85 further candidate functions that were never
catalogued:

Overlay Catalogued, at C matching Candidates not yet catalogued
CARDGAME 199 80 (26 with a stack frame, 54 leaf)
STCRDABM 27 0
STCRDDEK 48 5 (4 with a stack frame, 1 leaf)
STCRDSHP 44 0

Each candidate will be confirmed or rejected, and the confirmed ones recovered,
before the milestone is called complete. The count may still change: functions
reached only through pointers or jump tables need a second pass.

Nothing about the 318 published functions changes. Each one still compiles back
to the exact bytes of its function, on both the public toolchain and the original
PsyQ one; the digest of the matched bytes is still
6152e5110d04d504d36f235068167e321bc39412e2c1bd4639313cdc8c10de8a.

Certificate: reports/milestone-1-v0.1.1.md.

v0.1.0 (corrected by v0.1.1): card game overlays, 318 catalogued functions

Choose a tag to compare

@mateusgiordani mateusgiordani released this 25 Sep 06:14

Correction: this release said the card game overlays were at 100% C
matching. They are not: 318 catalogued functions are, and a boundary review
found about 85 more candidate functions that were not catalogued. See
v0.1.1.

318 catalogued functions of the card game overlays ("Card Cage": CARDGAME,
STCRDABM, STCRDDEK, STCRDSHP) recovered as plain C. Each C file compiles
back to the exact bytes of its function in the PAL release (SLES-03936), on
the public toolchain and on the original PsyQ one, and carries its byte-match
recipe in its header.

A byte match does not mean this is the developers' original source. It means
that compiling each file as described produces code byte-for-byte identical to
the code extracted from the CD.