Repository navigation
fix(L06): call FastVecAdd in path_update_attached_point_table - #468
Merged
Merged
Conversation
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.
ByteMatch progress reportSCES_516.07
No function changes. SCUS_972.68
No function changes. SCUS_972.68_v2
No function changes. SCPS_150.56
No function changes. SCKA_200.11
No function changes. Commit caaef19 · Ratchet & Clank: Going Commando on ByteMatch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before:
path_update_attached_point_tablecalledfunc_2EEEB8, a name copied from level 17. It isFastVecAddonly 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
FastVecAddcopy.Tested:
tests/check_repository.pypasses. 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).