Skip to content

Match PAL homing and NTSC-U campaign and multiplayer routines - #220

Open
ImBaedin wants to merge 15 commits into
OpenRAC:masterfrom
ImBaedin:match/shared-veldin-levels
Open

ImBaedin wants to merge 15 commits into
OpenRAC:masterfrom
ImBaedin:match/shared-veldin-levels

Conversation

@ImBaedin

@ImBaedin ImBaedin commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Functions

Projectile homing

  • func_L01_003DC780 matches six PAL placements.
  • func_L01_003DAB88 matches the six NTSC-U counterparts.

Native NTSC-U door, subtitle, and color routines

  • func_L05_003DB938 matches three placements of the Daxx door update.
  • func_L39_00589740 matches 17 placements of the subtitle routine.
  • func_L40_00424050 matches 16 placements of the quad color routine.

Native NTSC-U weapon effects

  • func_L01_0030E388 matches 34 placements of the Plasma Coil burst.
  • func_L01_0031E488 matches 34 placements of the Bouncer bomblet update.
  • func_L01_0035E718 matches 34 placements of the Nitro blast.

The weapon effects use the retail 60 Hz timings, motion and particle parameters. The Bouncer uses the explosion-spawn signature from the PAL implementation. Caller-suffixed data aliases keep region-specific addresses distinct in the NTSC-U link. The three native files inherit their PAL counterparts' compiler flags.

Native NTSC-U explosion constructor

  • func_L01_0032FE90 matches 51 placements and has the 30-parameter signature used by the Bouncer caller. Its 60 Hz timers and update step account for the regional instructions and the additional instruction word. It uses the PAL file's flags and the retail quadword save layout.

Native NTSC-U scoreboard update

  • func_U_L39_006A5AA0 matches the multiplayer-menu update. The text selection and font scaling follow the NTSC-U program, and the distinct native symbol preserves the carried PAL function's address at 0x006A3290.

Native NTSC-U projectile and particle helpers

  • func_L01_00330C80 matches 51 placements of the explosion particle helper called by the constructor.
  • func_L01_0034F5F0 matches 16 placements of the attached effect update.
  • func_L01_00382A08 and func_L01_00382E18 match 34 placements each of the trail and projectile spawn routines.
  • func_L01_003D48B8 matches 34 placements of the projectile update and calls the matched explosion constructor with its existing signature.
  • func_L01_0046B7D0, func_L01_0046BBE8 and func_L01_0046E030 match 34, 51 and 34 placements of the particle updates.

These routines preserve their retail 60 Hz particle lifetimes, motion and thresholds. All 288 placements use the PAL owners' flags and resolve their retail operands.

Native NTSC-U multiplayer helpers

  • func_L39_00642048, func_L39_006424D8, func_L39_00643980 and func_L39_00671A50 each match 17 placements. These cover the regional frame thresholds, vehicle motion and display timing.
  • func_L39_00689760, func_L39_00689A88 and func_L39_00689D88 each match one multiplayer-menu placement. The connection screen uses the NTSC-U name and retry flow, including its own retry helper.

All 71 placements resolve the retail operands under their source units' flags.

Native NTSC-U particle and scene helpers

  • func_L01_003AC9D0 matches two placements of the debris effect with its 60 Hz velocities and lifetimes.
  • func_U_L01_0046C788 matches 51 placements of the path particle update. It uses the stored drag directly, and its native symbol distinguishes it from the PAL remnant at the same catalogue address.
  • func_L10_003B8A88 matches the Zeldrin Starport emitter with its NTSC-U timer and step constants.
  • func_L19_00415A10 matches the Thran scene setup with the frame thresholds from its two NTSC-U tables.

The four functions use the compiler flags of their PAL owners. Strict compilation and byte and relocation checks pass at all 55 placements.

PAL boot core linker remnants

Mark 28 spans as LINKER_REMNANT. The markers retain their include paths, and the rebuilt spans match retail at the same addresses on both discs. This change adds zero C matches.

  • Fill words following a return and delay slot include func_0011865C, func_00118834, func_0011894C, func_00118E14, func_00118E74, func_001194E4, func_0011A324, func_0011A3F4, func_0011B09C, func_00120034, func_0012057C, func_00124D64, func_0012BEE4, func_0012C084, func_0012C4AC, func_0012D4D4, func_0012EC8C, func_00134FD4, func_00135FD4, func_001360CC.
  • Stack-restore fragments with fill include func_00123D08, func_00124130, func_00125C60.
  • Existing inventory remnants include func_0011E858, func_0012BE20, func_0012DA58, func_0012E9A8, func_001301D8.

Native NTSC-U counter callbacks

  • func_U_0038F0F8 matches the frontend placement and calls func_U_00391B70.
  • func_U_00393C50 matches the boot ELF placement and calls func_U_003966C8.

Retail registers both callbacks in the same counter update slot in their respective programs. They use the NTSC-U timer, divisor and animation thresholds, their PAL source-unit flags, and the recorded retail square-root padding. The progress report counts the pair as one distinct function, and the ledger records both linked C placements.

Native NTSC-U Florana and Aquatos actor updates

  • func_L02_0034BB78 matches the Florana update at 0x0034BB78 (11,060 bytes). Its joint helper writes a complete four-row matrix, and the frontend refresh is declared with its verified integer return.
  • func_L08_003A3118 matches the Aquatos boss update at 0x003A3118 (8,300 bytes). It passes float-array positions to the impact helper and uses the level loader's variable-length group table.

Both updates inherit their PAL files' compiler flags. Their sphere-damage calls use the pointer-before-radius expression from the matched PAL callers and preserve the actual integer and floating-point argument sequences. The final linked code, both switch tables and all 677 text relocations agree with retail.

Native NTSC-U multiplayer actor update

  • func_L39_00537398 matches all 17 multiplayer placements of the 5,952-byte actor update. It uses the NTSC-U movement constants and particle lifetimes, the matched PAL particle call forms, and the observed two words of square-root padding. All 17 final linked spans and their 3,179 relocation operands agree with retail.

Verification

  • python3 tools/build.py --target all -j 2 printed three PAL core MATCH lines.
  • python3 tools/build_levels.py --setup -P 2 -j 2 01 09 12 20 26 29 matched all six affected PAL overlays and their disc-format hashes.
  • JOBS=4 sh tools/carry_us.sh printed 54 NTSC-U MATCH lines. The linked manifests and ledger contain all 629 placements for the 31 NTSC-U level routines and the two counter placements at frontend 0x0038F0F8 and boot ELF 0x00393C50. All 34 existing linked C addresses of func_L01_0045AD08 were also checked. The rebuilt manifests retain all 170,630 existing manifest lines across the 54 binaries, including 170,628 linked C rows, and the ledger retains every C placement count against the previous PR head (d520a74c) and origin/master.
  • python3 tests/check_repository.py passed. python3 -m unittest discover -s tests ran 311 tests and reported OK (skipped=7).

Reconstruct func_L01_003DC780 from the existing near miss. Use real
VU0 operands for the interleaved vector work and separate the copy
and displacement calculations so the assembler inputs preserve the
retail register allocation. Record the two division-padding counts.

Pair the routine with func_L01_003DAB88 across the PAL-only linker
remnant and match the native code with the NTSC-U gravity constant.
Refresh both progress reports and the version and coverage maps.

Verified tools/check.py at all six PAL and all six NTSC-U placements.
tools/build.py --target all -j 2 printed MATCH for frontbin, boot_elf
and i5bootn. tools/build_levels.py --setup -P 2 -j 2 01 09 12 20 26 29
printed MATCH for all six PAL levels and their disc-format overlays.
JOBS=8 sh tools/carry_us.sh printed 54 MATCH lines and carried the
native function at all six placements. tests/check_repository.py and
python3 -m unittest discover -s tests passed.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T06:16:55.311963Z 09ff2de PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@bytematchdev

bytematchdev Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

ByteMatch progress report

SCUS_973.53

Code matched 93.35% (+0.89%) · 6.99 MB of 7.48 MB
Fuzzy match 94.09% (+0.84%)
Functions 16,354 (+32) / 16,589
Units complete 564 (+1) / 594
✅ Newly matched (32)
  • func_L02_0034BB78 (11,060 bytes)
  • func_L08_003A3118 (8,300 bytes)
  • func_L39_00537398 (5,952 bytes)
  • func_L39_006424D8 (5,284 bytes)
  • func_L01_003D48B8 (2,880 bytes)
  • func_L01_00330C80 (2,720 bytes)
  • func_U_L39_006A5AA0 (2,632 bytes)
  • func_L39_00671A50 (2,592 bytes)
  • func_L01_0035E718 (2,576 bytes)
  • func_L05_003DB938 (2,268 bytes)
  • func_L01_0031E488 (2,256 bytes)
  • func_L01_0046BBE8 (1,656 bytes)
  • func_L01_00382E18 (1,368 bytes)
  • func_L01_0034F5F0 (1,224 bytes)
  • func_L39_00643980 (1,200 bytes)
  • func_L39_00642048 (1,160 bytes)
  • func_L01_0030E388 (1,136 bytes)
  • func_L01_0032FE90 (1,128 bytes)
  • func_L01_003AC9D0 (1,048 bytes)
  • func_L01_00382A08 (1,036 bytes)
  • func_L39_00589740 (972 bytes)
  • func_L10_003B8A88 (916 bytes)
  • func_L01_003DAB88 (796 bytes)
  • func_L39_00689A88 (764 bytes)
  • func_L01_0046E030 (744 bytes)
  • func_L01_0046B7D0 (676 bytes)
  • func_L39_00689760 (628 bytes)
  • func_L40_00424050 (452 bytes)
  • func_0038F0F8 (428 bytes)
  • func_U_L01_0046C788 (376 bytes)
  • …and 2 more
📉 Worse (2)
  • func_L39_006A5AA0 57.59% → 0.00%
  • func_0038F0F8 24.11% → 0.00%

SCES_524.56

Code matched 97.51% (+0.01%) · 7.34 MB of 7.53 MB
Fuzzy match 97.51% (+0.01%)
Functions 16,489 (+1) / 16,592
Units complete 589 / 605
✅ Newly matched (1)
  • func_L01_003DC780 (796 bytes)

Commit 5c0c0d8 · Ratchet & Clank: Up Your Arsenal on ByteMatch

@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 09ff2deda5388732d60344270bd7e02b7392bf35: an independent rerun of the PAL core build printed all three expected MATCH lines; the six affected PAL level builds matched both ELF and disc-format hashes; repository checks passed. I verified that the NTSC-U c_functions.txt manifests list the native routine in all six affected levels and that built.tsv records six successful C placements. The worker's complete carry log reports all 54 NTSC-U targets matching. The regional gravity constants and the explicit VU0 operands/clobbers agree with the reconstruction and documented matching rules. No correctness findings in the final diff.

Use original 60 Hz frames for the Daxx door update and subtitle
cues, and the original 0–255 phase for the quad color interpolation.
Add the native division padding for the quad routine and regenerate
the version map, build ledger, port names, and NTSC-U report.

The native checker and relocation checks matched all 36 new
placements, including the three Daxx jump tables.
python3 tools/build.py --target all -j 2 printed three PAL core
MATCH lines. tools/build_levels.py --setup -P 2 -j 2 01 09 12 20
26 29 matched all six PAL levels and their disc-format hashes.
JOBS=8 sh tools/carry_us.sh matched all 54 NTSC-U targets and the
manifests show all 42 expected C placements. No placement counts
fell against origin/master or the previous PR head.
python3 tests/check_repository.py passed. python3 -m unittest
discover -s tests ran 311 tests and reported OK (skipped=7).
@ImBaedin ImBaedin changed the title Match shared projectile homing on PAL and NTSC-U Match projectile homing and three NTSC-U level routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review at 2750af23bd7d1ddddcb8f8cbffe2aa93bf7345e3: the three added native routines and their metadata follow the inherited PAL file flags and documented C/VU0 rules. The strict native diagnostic compiles reported MATCH. I independently verified all 42 expected C manifest addresses, including the six existing homing placements, and found zero older ledger-count losses against both master and 09ff2de.

I inspected the final validation logs: three expected PAL core SHA-1 matches, six affected PAL overlay and disc-format matches, all 54 NTSC-U targets matching, version map in step, repository checks passing, and 311 unit tests passing with seven skips. The committed diff contains the intended native sources and metadata; the near drafts remain outside it. No correctness findings in this reviewed head.

Add native C for the Plasma Coil burst, Bouncer bomblet update,
and Nitro blast. Use the NTSC-U timings and the explosion-spawn
prototype for the bomblet. Give data references distinct aliases
where the existing NTSC-U link gives the shared names other
addresses. Inherit each counterpart's flags and refresh the
version map, build ledger, and report.

Standalone checks and relocation checks matched all 102 new
placements. python3 tools/build.py --target all -j 2 printed
three PAL core MATCH lines, and tools/build_levels.py --setup
-P 2 -j 2 01 09 12 20 26 29 matched all six PAL level and
disc-format hashes.

JOBS=4 sh tools/carry_us.sh printed 54 NTSC-U MATCH lines.
The linked manifests contain all 144 NTSC-U placements in this
PR and all 34 existing sites of func_L01_0045AD08. The ledger retains all C placement counts against origin/master
and 2750af2. python3 tests/check_repository.py passed and
python3 -m unittest discover -s tests reported OK.
@ImBaedin ImBaedin changed the title Match projectile homing and three NTSC-U level routines Match projectile homing and six native NTSC-U level routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of db1ec2fc42c3a142674f1124e79683ae011cea6f: all three committed weapon-effect sources exactly match the parent-reviewed strict MATCH snapshots. Their flag rows exactly inherit the PAL owning files. The bodies use the established VU helpers and real callee declarations; the new objects also passed the combined symbol-contract audit with the other workers' published routines.

I independently verified all 144 PR C placements plus all 34 existing func_L01_0045AD08 addresses, with zero older ledger-count losses against 2750af23 and origin/master. Final logs show three PAL core matches, six PAL overlay and disc-format matches, 54/54 NTSC-U matches, version map in step, passing repository checks and 311 unit tests (7 skipped). No correctness findings in this reviewed commit. CI is pending on this head; the constructor follow-up remains a separate subsequent batch on this PR.

Add the native counterpart of func_L01_003303B8. Its 60 Hz
lifetimes, update step, and camera-effect duration account for
the regional instructions and one additional word. Keep the
30-parameter signature used by the Bouncer caller. Use the PAL
file's flags and record the quadword save layout for the native
symbol.

The strict native check and relocation checks match all 51
catalogue placements. The full PAL core build printed three
MATCH lines. JOBS=4 sh tools/carry_us.sh matched all 54 NTSC-U
targets. The manifests include all 195 NTSC-U placements in the
PR, and the coverage ledger lost no placements against
origin/master or the preceding verified PR heads.

python3 tests/check_repository.py passed and
python3 -m unittest discover -s tests reported OK.
@ImBaedin ImBaedin changed the title Match projectile homing and six native NTSC-U level routines Match projectile homing and seven native NTSC-U level routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 3b575f1de68a19a765202c6c09833e8610fffb41: the committed explosion constructor equals the reviewed source and the source hash in the independent 51-placement object audit. Its 30-argument signature, inherited PAL file flags and retail quadword-save metadata are consistent. The native save-layout name is absent from the PAL catalogue, so this metadata addition does not change a PAL level function.

I independently verified all 195 PR C addresses and all 34 retained func_L01_0045AD08 addresses, with zero older count losses against db1ec2fc and origin/master. Final logs show all three PAL core hashes, 54/54 NTSC-U matches, map in step, repository checks passing and 311 unit tests passing (7 skipped). The constructor also agrees with the expanded cross-PR symbol contracts, including A's ten new routines and C's latest actors. Both CI jobs are green on this head. No correctness findings in this reviewed commit.

Use the NTSC-U text selection and font-scaling path. Give the native
definition a distinct symbol so the carried PAL function keeps its
own address. Use the PAL counterpart's flags and record the native
match in the version map, build ledger and progress report.

The strict native check and all 29 relocations match the 2,632-byte
body. Its symbol values agree with the current link and the joint
contracts for 36 native routines. The full PAL core build printed
three MATCH lines.
JOBS=4 sh tools/carry_us.sh matched all 54 NTSC-U binaries.

The manifests include all 196 PR placements, all 34 earlier
func_L01_0045AD08 placements, and the carried PAL symbol at its
existing address. The ledger retains all C placements against
origin/master and the previous PR head. The repository checks and
unit suite passed.
@ImBaedin ImBaedin changed the title Match projectile homing and seven native NTSC-U level routines Match projectile homing and eight native NTSC-U level routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of e1e8b0afcae255a11979c425c63ea9ed1ce66a38: the committed scoreboard source is identical to the full-body review and independent 29-relocation audit snapshot. Its flag row exactly inherits the PAL owning file. The separate native symbol preserves the carried PAL routine at 0x006A3290 and links the new routine at 0x006A5AA0; both actual manifest entries are present.

Independent coverage checks confirm all 196 PR US C addresses and all 34 retained legacy addresses, with zero older count losses against 3b575f1d and origin/master. Final logs show three PAL core matches, 54 individual US binary matches, repository checks and 311 passing unit tests (7 skipped). The final stock object hash equals the strict-check and joint-audit object. No correctness findings. The report job passed; the checks job was pending at review time.

@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

The report's “Worse” entry for func_L39_006A5AA0 is a name-change artifact. Comparing the previous and current progress JSON at the same retail address 0x006A5AA0, the 2,632-byte body changes from func_L39_006A5AA0 at 57.59% to the distinct native name func_U_L39_006A5AA0 at 100%. The other 80-byte routine at 0x006A3290 remains at 100% and is still linked under its carried PAL symbol func_L39_006A5AA0. Both exact addresses are present in the final C manifest and both source rows remain in the build ledger. No C coverage was lost.

Both CI jobs now pass on e1e8b0af. No source or report-generator change is needed for this notification.

Use the NTSC-U particle lifetimes, projectile sweep parameters and
frame constants. Match the explosion helper and projectile update to
their existing constructor call sites. Inherit each PAL owner's
compiler flags and record the division padding observed in retail.
Use caller-qualified data names where the existing link uses the same
address-based name for a different object.

The strict native checks and relocation audit matched all 288 new
placements. The full PAL core build printed three MATCH lines.
JOBS=4 sh tools/carry_us.sh matched all 54 NTSC-U binaries.

The manifests contain all 484 PR placements and all 34 existing
func_L01_0045AD08 placements. Every prior manifest entry was
preserved against the preceding PR head, and no ledger count fell
against that head or origin/master. The repository checks and the
311-test unit suite passed, with seven unit skips.
@ImBaedin ImBaedin changed the title Match projectile homing and eight native NTSC-U level routines Match projectile homing and 16 native NTSC-U level routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 46c1bf2930e632eed5ecc7c8d57a6337a1364a6b: all eight committed sources and final stock objects exactly match the source/object snapshots reviewed against PAL and verified in the independent cross-PR audit. The flag rows inherit the PAL owning files, the constructor call uses its established 30-parameter signature, and the three native division-padding names do not collide with PAL catalogue entries. The unresolved 003619C8 ABI draft remains excluded.

Independent coverage checks confirm all 484 PR US C addresses and all 34 retained legacy addresses, with zero older ledger losses against e1e8b0af and origin/master. The final logs contain three PAL core matches, 54 individual US binary matches, all 170,212 prior manifest entries preserved with exactly 288 additions, passing repository checks and 311 unit tests (7 skipped). Both CI jobs are green. No correctness findings.

Match the regional vehicle and multiplayer display timing and the
connection screen's name and retry flow. The additional retry helper
follows the native caller from the same menu unit. Use the owning
units' compiler flags and restore the observed division padding.

Strict compilation and the stock-object relocations match all 71
new placements. The full PAL core build printed three MATCH lines.
JOBS=4 sh tools/carry_us.sh matched all 54 NTSC-U binaries. Every old
C manifest entry, all 555 PR placements and all 34 existing
func_L01_0045AD08 placements are present. The ledger retains its
counts against origin/master and the preceding PR head. Repository
checks passed, and the unit suite ran 311 tests with seven skips
and no failures.
@ImBaedin ImBaedin changed the title Match projectile homing and 16 native NTSC-U level routines Match projectile homing and 23 native NTSC-U level routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 41de850634aca82f47ad475d765ebb73231150c0: reviewed all seven bodies, regional control flow and timing changes, real callee declarations, and inherited file flags. The US-only retry helper has a proven caller and source-unit boundary. The VU rotation uses one intrinsic with a plain C store; the unsupported literal-pool candidate remains excluded. All seven published source and final stock-object hashes agree with the independent audit.

Independent checks confirm all 555 PR US C addresses plus 34 legacy addresses, zero ledger losses against 46c1bf29 and origin/master, and every previous entry in all 54 manifest snapshots retained. Final logs contain three PAL core matches, 54 individual US binary matches, passing repository checks and 311 unit tests (7 skipped). Both CI jobs are green. The expanded cross-PR audit reproduces all 71 new placements with no symbol conflicts. No correctness findings.

Use the NTSC-U timing for the debris and emitter effects, the stored
drag for path particles, and the native frame spans for the Thran
scene. Inherit the PAL source-unit flags and use the existing fireball
callee's argument order. The native path-particle label preserves the
separate PAL catalogue name for the linker remnant.

Strict compilation and the final stock object checks match all 55 new
placements. The full PAL core build printed three MATCH lines and the
JOBS=4 stock carry matched all 54 NTSC-U binaries. All 170,571 previous
manifest entries, all 610 PR placements and all 34 existing
func_L01_0045AD08 placements remain linked. The ledger loses zero C
placements against origin/master or the preceding PR head. Repository
checks passed and the unit suite ran 311 tests with seven skips.
@ImBaedin ImBaedin changed the title Match projectile homing and 23 native NTSC-U level routines Match projectile homing and 27 native NTSC-U level routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 2bcec5ad97f7befccabe781371d8e0b1098d1be2: all four committed sources equal the parent-reviewed snapshots, including the fireball declaration/call-order correction I applied in the source-stability window. The corrected live source passes strict matching and retains identical linkable object contents. Reviewed the regional motion/frame changes, actual callee register banks, two six-entry frame tables and the U-prefixed symbol that avoids the existing PAL remnant. Every flag row exactly inherits its PAL owner. The texture call retains the matched PAL caller's form and verified argument banks; its alternative normalization remains a local near miss.

Independent checks confirm all 610 PR US C addresses plus 34 legacy addresses, all previous entries across 54 manifest snapshots retained, exactly 55 additions, and zero ledger losses against 41de8506 and origin/master. Final logs contain three PAL core hashes, 54 US binary matches, repository checks and 311 tests passing (7 skipped). Both CI jobs are green. Published source and stock-object hashes equal the expanded independent audit, with no conflicting symbols. No correctness findings.

Mark 20 linker fill words, three stack-restore fragments with fill,
and five existing inventory remnants as LINKER_REMNANT. The source
markers retain their include paths. The emitted spans match both
retail discs and this change adds zero C matches.

The generated NTSC-U map refreshes 82 source hashes and drops three
assembly-only placeholder rows. Both progress reports and the linked
C ledger are unchanged.

python3 tools/build.py --target all -j 2 printed three PAL core MATCH
lines. JOBS=4 sh tools/carry_us.sh printed 54 NTSC-U MATCH lines. All
170,626 previous C manifest entries, including the 610 PR placements
and 34 legacy func_L01_0045AD08 placements, remain linked. The ledger
loses zero C placements against the previous PR head or origin/master.

python3 tests/check_repository.py passed. python3 -m unittest discover
-s tests ran 311 tests and reported OK with seven skips.
@ImBaedin ImBaedin changed the title Match projectile homing and 27 native NTSC-U level routines Match projectile homing and 27 NTSC-U routines, classify PAL boot remnants Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 425bc77e28a8190ed100ea33366a211ea786ca8a: independently verified every one of the 28 approved substitutions changes only INCLUDE_ASM to LINKER_REMNANT, with all include paths and other source bytes preserved. Retail boundary/entry evidence distinguishes twenty fill words, three restore/fill spans and five previously inventoried remnants from the two callable entries that remain in assembly. This batch adds zero C matches.

All 54 actual C manifests are byte-identical to the previous head. Independent coverage checks retain all 610 PR placements plus 34 legacy placements, with zero ledger losses against 2bcec5ad and origin/master. The only generated change is 82 source-hash updates and three obsolete ASM-only map rows; built coverage and progress reports are unchanged. Final logs contain three PAL core matches, 54 US binary matches, passing repository checks and 311 tests (7 skipped). Both CI jobs are green. No correctness findings in this batch.

Use the retail 60 Hz counter timer, divisor, and animation thresholds.
The callback calls the existing animation updater with its actual
state layout and inherits its PAL owner's source-file flags. Reuse
the recorded square-root padding for the native symbol. Refresh the
NTSC-U match map, ledger, report, and generated function names.

The full PAL core build (frontbin, boot_elf, i5bootn) printed three
MATCH lines with python3 tools/build.py --target all -j 2. The stock
JOBS=4 carry_us.sh run printed 54 NTSC-U MATCH lines. All 170,626
previous C manifest entries and the 610 level placements already in
this PR are intact, along with the 34 legacy placements. The frontbin
manifest adds one C entry at 0038F0F8. Zero ledger placements are lost
against 425bc77 or origin/master.

python3 tests/check_repository.py passed. python3 -m unittest discover
-s tests ran 311 tests and reported OK with seven skips.
@ImBaedin ImBaedin changed the title Match projectile homing and 27 NTSC-U routines, classify PAL boot remnants Match projectile homing and NTSC-U routines and classify PAL boot remnants Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 7b7307d8105ae43a368a18ab622cfcfd72cd3b3c: the 428-byte native frontend counter is supported by its actual callback registrations, observed 60 Hz timer/divisor/threshold/cap changes, correctly sized animation subobject and the shipped callee's pointer ABI. The native flags exactly inherit PAL 393808.c; the added division-padding row mirrors the retail record and preserves the old row. The other nine discovery cases remain unclaimed as matches.

The published source and stock object equal the reviewed hashes. Independent relocation checks and the rebuilt ELF reproduce all 428 retail bytes and the exact call target. All 54 previous C manifests are preserved with exactly one new frontend record; 610 PR level sites and 34 legacy sites remain intact. The report gains exactly one function and 428 bytes. The obsolete generated reporting alias is removed; no older near drafts are committed. Final logs contain PAL core3, US54, passing repository checks and 311 tests (7 skipped). Both CI jobs are green. No correctness findings in this batch.

Match the boot callback with its retail 60 Hz timer, divisor, and
animation thresholds. It calls the shipped boot animation updater
with the actual state layout and uses its PAL owner's file flags.
Use the recorded square-root padding for the native symbol and
refresh the generated NTSC-U match records.

python3 tools/build.py --target all -j 2 printed three PAL MATCH lines.
JOBS=4 sh tools/carry_us.sh printed 54 NTSC-U MATCH lines and the boot
manifest adds one C entry at 00393C50. All 170,627 previous manifest
lines are preserved, including the frontbin counter, 610 PR level
sites, and 34 legacy sites. There are zero ledger placement losses
against 7b7307d or origin/master.

python3 tests/check_repository.py passed. python3 -m unittest discover
-s tests ran 311 tests and reported OK with seven skips.
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of 53733d9055a564fec49e1523f8eded0867ace393: independently verified the boot counter's callback registration, typed animation subobject, genuine 60 Hz changes, exact inherited file flags and recorded padding. The published source and stock object equal the reviewed hashes; strict relocation comparison and the rebuilt boot ELF reproduce all428 bytes and the exact shipped callee target.

All54 previous manifest snapshots are preserved with exactly one boot C addition. The frontend counter, all610 PR level placements, 34 legacy placements and the actual whole-file C body at003B1BB8 remain intact. This adds a placement; the distinct-function report correctly deduplicates the already-matched frontend/boot pair. The commit contains exactly the five approved source/metadata files. Final logs contain PAL core3, US54, passing repository checks and311 tests (7 skipped). Both CI jobs are green. No correctness findings in this batch.

@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Checked the refreshed report on 53733d9055a564fec49e1523f8eded0867ace393. Both “Worse” entries reflect reporting identity changes, with no lost C coverage. At retail address 0x0038F0F8, the same 428-byte frontend counter moves from frontbin/393808 at 24.11% to frontbin/ntsc_only at 100%; the actual manifest links func_U_0038F0F8 there. Its separate boot placement at 0x00393C50 also remains linked.

As previously checked, the 2,632-byte scoreboard at 0x006A5AA0 moves from the ambiguous old name at 57.59% to func_U_L39_006A5AA0 at 100%. The distinct carried routine at 0x006A3290 remains linked under func_L39_006A5AA0. The current report records both new bodies at 100%, and the final manifest/ledger audits preserve all previous C placements. Both CI jobs pass; no source or report-generator change is required.

Match func_L02_0034BB78 and func_L08_003A3118 using their PAL
owners' compiler flags and the retail NTSC-U timings. Preserve the
sphere-damage inputs in each register bank and the PAL caller spelling.
Represent Florana's four-row bone transform and Aquatos's variable-length
group table with their observed storage. Use the verified return types and
typed Aquatos position pointer.
Refresh the NTSC-U ledger, map, and progress report, and remove the two
superseded aliases from the generated function-name lookup.

Strict native checks matched both functions at their live source paths.
Verified 19,360 instruction bytes, eight alignment bytes, 677 text
relocations, and both switch tables against retail. The final linked text,
table spans, and symbol values agree with that object-level check.

python3 tools/build.py --target all -j 2 printed three PAL MATCH lines.
JOBS=4 sh tools/carry_us.sh printed 54 NTSC-U MATCH lines and linked both
new C entries. All existing manifest lines and ledger counts are intact,
including 34 placements of func_L01_0045AD08 and the whole-source boot
function func_003B1D58.

python3 tests/check_repository.py passed. python3 -m unittest discover
-s tests ran 311 tests and reported OK with seven skips.
@ImBaedin ImBaedin changed the title Match projectile homing and NTSC-U routines and classify PAL boot remnants Match PAL homing and NTSC-U actors, effects, and menu helpers Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026

Copy link
Copy Markdown
Contributor Author

Management review of d520a74cec10aeba576e12f1a65cd8b18e3fcea4: both published actor sources and stock objects equal the exact reviewed snapshots. Florana uses a complete 64-byte joint matrix and the verified integer-return refresh. Aquatos uses the loader's variable-length group table and correctly typed position fields. The sphere-damage calls retain the original matched PAL callers' form; independent retail checks verify the same values and ordering within the integer and floating-point argument banks. Both flag rows inherit their PAL owners, and neither PAL source changed.

Independent linker checks reproduce all 19,360 code bytes, 192 switch-table bytes, 44 entries and 677 text relocations. The actual rebuilt ELFs also match the trailing padding and all 143 referenced global bindings. I reran the manifest and ledger audits: all 170,626 previous C entries across 54 targets survive, with exactly two new sites and zero count losses against 53733d90 or origin/master. The PR now has 612 level placements and two core counter placements; all 34 legacy placements remain linked.

Final logs contain the three expected PAL core hashes, 54 NTSC-U binary matches, an in-step version map, passing repository checks and 311 unit tests with seven skips. Both CI jobs pass on this head. The seven-file commit contains only the two reviewed sources, their inherited flags and the required generated metadata, including two obsolete report-alias removals. No correctness findings.

Match func_L39_00537398 at its 17 NTSC-U placements. Use the regional
motion constants and frame intervals. Keep the matched PAL particle
call forms with the verified integer and floating-point inputs and
complete vector storage. Inherit the owning PAL source's compiler flags
and record the two retail square-root padding words.

The strict native check and stock compile produced the reviewed object.
All 17 linked 5,952-byte spans, 3,179 relocations and 1,156 linked symbol
addresses agree with retail. The PAL core build printed three MATCH
lines with python3 tools/build.py --target all -j 2. The stock run of
JOBS=4 sh tools/carry_us.sh printed 54 MATCH lines. It adds 17 C entries,
preserves all 170,628 previous linked C entries, and loses no ledger
placements against d520a74 or origin/master.

python3 tests/check_repository.py passed. The unit suite ran 311 tests
with python3 -m unittest discover -s tests and reported OK with 7 skips.
@ImBaedin ImBaedin changed the title Match PAL homing and NTSC-U actors, effects, and menu helpers Match PAL homing and NTSC-U campaign and multiplayer routines Dec 5, 2026
@ImBaedin

ImBaedin commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Management review of 62b32e7cc4c1c66ee0897edc435662cd2b7881bc: the six-file commit contains the exact reviewed actor source, inherited owner flags, observed two-word square-root padding and required generated outputs. The published source and stock object match the reviewed hashes. The particle calls preserve the matched PAL caller form with the verified inputs in each register bank; vector storage and actual return types were checked before release.

Independent final-ELF checks reproduce all 17 linked 5,952-byte spans, 3,179 relocations and 1,156 actual symbol values. The manifest and ledger audit preserves all 170,628 prior C entries across 54 targets, adds exactly 17 sites and loses no placements against d520a74c or origin/master. All 631 PR placements, both counters and 34 legacy placements remain linked.

Final receipts contain the three expected PAL core hashes, all 54 NTSC-U binary matches, an in-step map, passing repository checks and 311 unit tests with seven skips. Staged whitespace checks pass. No correctness findings. Both CI jobs now pass on this exact head.

Checked the refreshed ByteMatch report on the same head. Its two “Worse” rows are the previously explained naming/unit identity changes: the native 2,632-byte scoreboard remains C at 0x006A5AA0, the distinct carried routine remains C at 0x006A3290, and the native 428-byte frontend counter remains C at 0x0038F0F8. The report also lists the native scoreboard and frontend counter as newly matched. Current manifest checks confirm these addresses and all 631 PR placements; no C coverage regression or source change is required.

Merge master at 6cca897.
Keep its camera owner and obsolete draft removal, preserve both padding
tables' entries and regenerate the reports through the stock US carry.

Validation:
- python3 tools/build.py --target all -j 2: 3 MATCH.
- python3 tools/build_levels.py --setup -P 2 -j 2: 49 PAL ELF and
  disc-format overlays MATCH.
- JOBS=4 sh tools/carry_us.sh: 54/54 NTSC-U targets MATCH.
- Verify 49 PAL and 51 US camera C placements, all 54 prior US manifests,
  631 PR sites, 34 legacy func_L01_0045AD08 sites and the legacy whole-file C entry.
  Both ledger baselines retain all placement counts.
- python3 tests/check_repository.py and python3 -m unittest discover
  -s tests pass.
Merge master at dd1d0a0.
Keep the multiplayer help-text source and documentation byte-identical
to master and regenerate the PAL report to retain this PR's homing match.
Preserve all existing PR sources, NTSC-U C placements and local drafts.

Validation:
- python -B tools/build.py --target all -j 2: three PAL core MATCH lines.
- python -B tools/build_levels.py --setup -P 2 -j 2 --cache-days 36500
  39 40 41 42 43 44 45 46 47 48 49 50 51 52 53: all 15 affected PAL
  overlays match both their ELF and disc payloads.
- JOBS=4 sh tools/carry_us.sh: 54/54 NTSC-U targets MATCH; map in step.
- tests/check_repository.py passes; unittest discovery runs 311 tests,
  OK with seven skips.
- The imported help-text function links from C at all 15 PAL placements.
  All 54 prior NTSC-U manifests, the built ledger and the US report are
  byte-identical. All earlier source blobs and placement counts survive.
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