Skip to content

feat(data): complete PAL executable data matching - #242

Merged
Lynder063 merged 2 commits into
OpenRAC:mainfrom
noire342:decomp/pal-data-matching
Nov 15, 2026
Merged

Lynder063 merged 2 commits into
OpenRAC:mainfrom
noire342:decomp/pal-data-matching

Conversation

@noire342

@noire342 noire342 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

I checked what was left in the PAL v2.00 data report. I gave the 24-byte HUD clock format at 0x001E7DC0 its own data block and let the SN linker generate the remaining 297 padding bytes. The report now matches 699,072 of 699,072 bytes (100.00%).

The linker uses normal section alignment, with explicit rules for the kprintf and init_once jump tables. The Python and Windows entry points also use the same clean build script.

Validation

  • Rebuilt PAL v2.00 from scratch. All 1,229,744 reconstructed bytes matched retail at their original addresses, and all 5,118 functions still match.
  • Checked all 83 padding ranges against the native linker map and retail bytes. Changing a padding byte makes the report reject that range.
  • Ran 402 tool tests and checked that the Windows launcher selects Git Bash even with a WSL alias first on PATH.
  • Rebuilt all 102 NTSC-U-specific units and reproduced the tracked NTSC-U function map byte for byte.

@noire342
noire342 marked this pull request as ready for review November 15, 2026 12:29
Copilot AI balanced review requested due to automatic review settings November 15, 2026 12:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@bytematchdev

bytematchdev Bot commented Nov 15, 2026

Copy link
Copy Markdown

ByteMatch progress report

SCUS_971.99

Code matched 100.00% · 3.55 MB of 3.55 MB
Fuzzy match 100.00%
Functions 4,244 / 4,244
Data matched 63.95%
Units complete 1,082 / 1,082

No function changes.

SCES_509.16_v1

Code matched 100.00% · 3.69 MB of 3.69 MB
Fuzzy match 100.00%
Functions 5,082 / 5,082
Units complete 140 / 140

No function changes.

SCPS_150.37

Code matched 100.00% · 3.71 MB of 3.71 MB
Fuzzy match 100.00%
Functions 5,101 / 5,101
Units complete 140 / 140

No function changes.

SCES_509.16

Code matched 100.00% · 3.71 MB of 3.71 MB
Fuzzy match 100.00%
Functions 5,118 / 5,118
Data matched 100.00% (+0.05%)
Units complete 141 / 141

No function changes.

Commit 07f1053 · Ratchet & Clank on ByteMatch

@Lynder063
Lynder063 merged commit 84bd565 into OpenRAC:main Nov 15, 2026
4 checks passed
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.

3 participants