Skip to content

fix(L06): call FastVecAdd in path_update_attached_point_table - #468

Merged
Lynder063 merged 1 commit into
OpenRAC:masterfrom
nickyyOO:fix/taxi-points-vec-add
Nov 17, 2026
Merged

Lynder063 merged 1 commit into
OpenRAC:masterfrom
nickyyOO:fix/taxi-points-vec-add

Conversation

@nickyyOO

Copy link
Copy Markdown
Contributor

Before: path_update_attached_point_table called func_2EEEB8, a name copied from level 17. It is FastVecAdd only there. The decomp still matched (the build reads the jal), but OpenRAC read the name as level 0's function at that address (quaternion_to_rotation_basis). On Boldan the taxi then wrote matrices over the path table, and the rail ships crashed the game when the hero went down the lift.

After: the function calls FastVecAdd. Each level that carries it (6, 9, 11, 13, 18) resolves that to its own copy, the same jal as retail.

How: checked the retail jal in all five levels: each one is that level's FastVecAdd copy.

Tested: tests/check_repository.py passes. OpenRAC built with this change: the Boldan taxi + lift route that crashed now runs to the bottom of the lift. Not run: tools/build.py (no compiler toolchain in my container).

func_2EEEB8 is FastVecAdd only in level 17. In the levels that carry this
function (6, 9, 11, 13, 18) the retail jal goes to each level's own
FastVecAdd copy, and OpenRAC read the name as level 0's function at
0x2EEEB8 (quaternion_to_rotation_basis), which overwrote path data on
Boldan's taxi.
@bytematchdev

bytematchdev Bot commented Nov 17, 2026

Copy link
Copy Markdown

ByteMatch progress report

SCES_516.07

Code matched 100.00% · 5.70 MB of 5.70 MB
Fuzzy match 100.00%
Functions 8,608 / 8,608
Units complete 1,359 / 1,359

No function changes.

SCUS_972.68

Code matched 100.00% · 5.52 MB of 5.52 MB
Fuzzy match 100.00%
Functions 8,527 / 8,527
Units complete 1,127 / 1,127

No function changes.

SCUS_972.68_v2

Code matched 100.00% · 5.58 MB of 5.58 MB
Fuzzy match 100.00%
Functions 8,580 / 8,580
Units complete 1,288 / 1,288

No function changes.

SCPS_150.56

Code matched 63.09% · 3.47 MB of 5.50 MB
Fuzzy match 63.09%
Functions 7,314 / 8,534
Units complete 894 / 1,140

No function changes.

SCKA_200.11

Code matched 62.70% · 3.46 MB of 5.52 MB
Fuzzy match 62.70%
Functions 7,296 / 8,545
Units complete 892 / 1,144

No function changes.

Commit caaef19 · Ratchet & Clank: Going Commando on ByteMatch

@Lynder063
Lynder063 merged commit 4ea93ce into OpenRAC:master Nov 17, 2026
2 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.

2 participants