Skip to content

Add 15 PAL matches, 3 bound variants and 108 WIP drafts - #195

Open
Sumaiter wants to merge 5 commits into
OpenRAC:mainfrom
Sumaiter:pal/round20-reviewed-20261123
Open

Sumaiter wants to merge 5 commits into
OpenRAC:mainfrom
Sumaiter:pal/round20-reviewed-20261123

Conversation

@Sumaiter

@Sumaiter Sumaiter commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Reconciled against current main 78122483 after the December integrations. This updates the existing 20-function batch; it starts no new matching batch.

The final contribution contains 15 newly reported PAL matches, 3 binding-correct PAL variants, one existing zero-credit helper-contract correction, and 108 non-built WIP payloads. Two original successful variants are already correct upstream and are not duplicated. The generated PAL report adds exactly15 matched function identities; US-native progress is unchanged.

Source and binding work

The freshly compiled current US-named sources L01_004ED110 and L02_004CF710 already match the original PAL bodies completely across the 14 formerly certified source-bound placements. Our extra PAL source copies are retired.

Fresh compilation and the unchanged current PAL relocation checker instead find five actual PAL binding mismatches in three shared US sources:

Existing US source Verified PAL variant Actual missing PAL binding
L01_0044A048 L01_0044B170 scalar 0x21DE40 and PAL setter 0x44BBA0
L01_005725D0 L01_005751C8 scalar 0x21DE40 and table 0x24B1A0
L01_005735A8 L01_005761A0 table 0x24F220

These are actual source/physical correspondences, with PAL-specific data/callee contracts. The US sources remain unchanged. Their existing masked PAL map hits do not prove these real bindings; this contribution supplies separate verified PAL implementations and adds no new coverage credit for those three already-reported positions. The old four-way PR194 draft warning is superseded by these three concrete corrections and the already-correct L02 wrapper.

The existing PAL helper now explicitly receives the original object at its consumed call, with zero new match credit. Three reviewed catalogue partitions distinguish different callee/data groups. The standard PAL data-symbol table records the already-proved state owner at 0x00171228 in 47 source-bound programs; no compiler/emitter/profile/type/alias trick changes an instruction.

Retained drafts

  • 84 reviewed drafts plus24 separately named historical alternatives. All24 corresponding current upstream drafts are preserved unchanged.
  • 20 old WIP targets are occupied in the current PAL map and are not reintroduced as unfinished matching work. Three same-named archive target sources in Match 31 NET and multiplayer-menu functions #210 are deferred pending PAL source/physical classification.
  • The disposition annex accounts for all 269 distinct historical identities, including prior private holds, no-source cases and UNKNOWNs. Original payloads remain in commit 0cc4eb0; missing snapshots are never reconstructed.
  • WIP bodies are never built or counted. Their memory-effect, ABI, binding, numeric-domain and history limitations remain explicit. Two metadata-extent qualifications are retained where applicable.

Validation

  • Fresh unchanged-upstream compilation: 11,856/11,856 game C objects, 11 libgcc objects and 26 libm objects. All game objects are valid MIPS relocatable ELFs. New source extra flags are empty; original upstream per-file profiles are unchanged.
  • 361 complete, unmasked, source-bound native comparisons for the 18 retained PAL implementations, with actual relocation formulas/addends, actual per-program bindings, full signed16 GP checks and no allocated nontext data. 0048A890 remains MAIN-only; no other metadata placement or concrete invocation is inferred.
  • The existing helper's complete text/relocations/data remain equal to its independently reviewed196-byte object.
  • The selected 19-source PAL relocation audit and the full current native-PAL relocation audit pass. PAL/US-other map checks and both progress checks pass. The native-PAL audit scope is src/pal/; the three existing US-source masked-map limitations above are disclosed separately.
  • 37 focused tests pass. All 19 changed production sources pass the plain-C gate. Signature-check warnings are unchanged from current upstream (60 baseline warnings).
  • US limitation: all 49 US-native dumps are absent locally. The repository's both-disc build_all.sh/US-native audit cannot be completed here. All existing US-native map rows and the US progress JSON are preserved unchanged; only 18 PAL-specific other rows are added. Please rerun the full both-disc build in an environment with both dumps before merging. No US-native fresh audit or whole-program C link is claimed.

Changed functions

  • func_004490A8 — new-PAL-source
  • func_00478000 — new-PAL-source
  • func_00504EB0 — new-PAL-source
  • func_L00_00533318 — new-PAL-source
  • func_L00_00567260 — new-PAL-source
  • func_L00_00699D40 — new-PAL-source
  • func_L00_006F2158 — new-PAL-source
  • func_L00_00728F50 — new-PAL-source
  • func_L01_0044B170 — PAL-binding-correction
  • func_L01_004BABC0 — new-PAL-source
  • func_L01_00526FF8 — new-PAL-source
  • func_L01_005751C8 — PAL-binding-correction
  • func_L01_005761A0 — PAL-binding-correction
  • func_L01_005A9260 — new-PAL-source
  • func_L01_005A9CA0 — new-PAL-source
  • func_L02_004050F8 — new-PAL-source
  • func_L10_004DDA90 — new-PAL-source
  • func_0048A890 — new-PAL-source
  • func_L01_0044BBA0 — dependency

The commits separate the current-main reconciliation, related PAL source/binding work, draft preservation and the final generated files. Successful source/dependency reservations remain held until proved upstream; the two fully verified upstream variants are released in our own reservation comment. No other contributor's reservation is edited. No automatic next batch or merge.

@bytematchdev

bytematchdev Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

ByteMatch progress report

SCUS_974.65

Code matched 21.67% · 1.25 MB of 5.78 MB
Fuzzy match 22.85%
Functions 10,087 / 18,172
Units complete 5,548 / 5,607

No function changes.

SCES_532.85

Code matched 26.35% (+0.04%) · 1.53 MB of 5.80 MB
Fuzzy match 27.36% (+0.04%)
Functions 11,231 (+15) / 18,383
Units complete 5,680 (+4) / 5,738
✅ Newly matched (16)
  • func_L01_005A9260 (376 bytes)
  • func_L00_006F2158 (364 bytes)
  • func_L00_00567260 (256 bytes)
  • func_L01_005A9CA0 (220 bytes)
  • func_004490A8 (216 bytes)
  • func_L01_00526FF8 (184 bytes)
  • func_00478000 (148 bytes)
  • func_L00_00728F50 (140 bytes)
  • func_L01_004BABC0 (140 bytes)
  • func_00504EB0 (96 bytes)
  • func_L00_00699D40 (84 bytes)
  • func_0048A890 (80 bytes)
  • func_L02_004050F8 (80 bytes)
  • func_L00_00533318 (56 bytes)
  • func_L02_004D1388 (44 bytes)
  • func_L10_004DDA90 (44 bytes)
⚠️ No longer matching (1)
  • func_L02_004D1388 100.00% → 0.00%

Commit 8cd7b4f · Ratchet: Deadlocked on ByteMatch

Sumaiter and others added 4 commits December 5, 2026 19:04
Add15 newly reported PAL functions and3 independently real-bound PAL variants for positions previously covered only by mis-bound US sources. Preserve the existing US code. Correct one existing helper input contract without new credit, separate3 semantically different catalogue groups and record47 proved state-data bindings.

Co-authored-by: Codex <noreply@openai.com>
Retain84 reviewed drafts and24 historical alternatives without overwriting their current upstream counterparts. Retire20 currently occupied archive targets and defer3 exact overlaps with PR210. Record all269 historical identity dispositions; no nonmatching payload is built or counted.

Co-authored-by: Codex <noreply@openai.com>
Regenerate the applicable PAL and US-other native rows and both report checks. Existing US-native map rows and the US report remain unchanged; US-native dumps are unavailable locally. All11856 game objects and37 library objects compile; the full native PAL relocation audit and361 independent source-bound comparisons pass.

Co-authored-by: Codex <noreply@openai.com>
@Sumaiter Sumaiter changed the title Add 20 reviewed PAL functions and retain 131 WIP drafts Add 15 PAL matches, 3 bound variants and 108 WIP drafts Dec 5, 2026
@Sumaiter
Sumaiter marked this pull request as ready for review December 5, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant