Skip to content

feat(rac4/ntsc): add 42 US matches and align 20 interfaces - #140

Draft
Joebannerlord wants to merge 3 commits into
OpenRAC:mainfrom
Joebannerlord:codex/rac4-us-next50-publish-20261109
Draft

Joebannerlord wants to merge 3 commits into
OpenRAC:mainfrom
Joebannerlord:codex/rac4-us-next50-publish-20261109

Conversation

@Joebannerlord

Copy link
Copy Markdown
Contributor

Adds 42 NTSC-U matches (3,552 bytes, 93 actual relocation checks) and reconciles 20 existing formatter/scanner/helper interfaces without changing their retail instructions. Seven plain-C near misses are retained and deferred.

The reserved batch had 43 verified local functions. func_0011D5D8 was independently integrated in #131, so it appears here as an interface correction rather than another matching addition. Three newly integrated callers also receive compatible variadic declarations and pointer forwarding. The scanner's two unsigned-word output arguments were checked against owned format metadata.

This is an independent continuation on current main 0bddadfd. It does not include #121's 40 matching additions or allocator header. The optional private native scratch-storage transport prerequisite is the same small fix proposed in #121; it preserves default retention, compiler inputs, flags and emitted instructions.

Validation

  • Isolated build: 7,510 reused objects after complete source/header identity and object-hash checks, plus 878 freshly built upstream baseline units.
  • Rebuilt all 62 changed complete translation units. Full resolved retail bytes, ABI/call/global review and actual relocation targets pass. Existing corrections retain 1,948 retail bytes and 91 relocation checks. One existing caller has four normal zero alignment bytes; all 42 new functions have exact compiled extents.
  • 28 isolated-compiler and compiler-route tests pass; all seven published near-miss verdicts reproduce.
  • Fresh full audits add exactly 42 matches (5,650 to 5,692). All 164 baseline non-exact, 1,932 unlisted and 27 relocation mismatch records in 13 functions remain unchanged; zero unresolved targets. These legacy discrepancies are not introduced here.
  • US map/progress checks pass: 7,715/18,170 functions, 748,432 bytes. Unrelated upstream map rows are preserved byte-for-byte.

Draft / PAL limitation

PAL coverage reports 49 missing rows: 42 new definitions and seven retained drafts. Local RAC4 PAL retail inputs are unavailable. PAL map/report remain unchanged; no PAL equivalence is claimed. This PR stays draft pending regional coverage.

Publication notes document target-domain qualifications, the inferred unused-context interface and the preserved timer failure-path behavior. No game/runtime test is claimed.

All touched functions and the eleven total deferred cases remain reserved in our issue #112 comment until integration or explicit release. No retail data, generated assembly, toolchains or build output are included.

Joebannerlord and others added 3 commits November 9, 2026 12:12
Allow the isolated Linux compiler routes to use a validated native scratch directory with optional invocation-only cleanup. Keep default retention, compiler inputs, flags and emitted instructions unchanged. This transport prerequisite is also proposed in PR121.

Validated 10 isolated compiler tests and 18 command-route tests in the publication worktree. Rebuilt the changed upstream units with the native Windows runner; no compiler-output transformation was added.

Co-Authored-By: Codex <noreply@openai.com>
Use the observed formatter/scanner variadic contracts, true helper returns and explicit target-width argument forwarding. Reconcile three newly integrated callers against their owned format metadata, including two unsigned-word scanner outputs. Preserve existing timer failure-path behavior and qualify inferred context-pointer arity.

All 20 complete source units rebuild to the full retail bytes: 1,948 bytes and 91 actual relocation checks, with existing function instructions unchanged. This includes the independently integrated 0011D5D8; it is not counted as a new match.

Co-Authored-By: Codex <noreply@openai.com>
Publish the independent continuation on current upstream: 3,552 new matched bytes and 93 actual relocation checks. The overlapping 0011D5D8 is an interface correction in the preceding commit, not another addition. Retain seven deferred plain-C drafts and regenerate US metadata while preserving unrelated map rows.

All 62 changed units pass strict resolved-byte and ABI/call/global checks. Fresh full audits add exactly 42 matches and preserve all baseline discrepancy records. US checks and 28 relevant unit tests pass. PAL coverage remains pending (49 missing rows, local PAL inputs absent); no PAL map/report or retail inputs are included.

Co-Authored-By: Codex <noreply@openai.com>
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