So Diddy Kong Racing has a function where there's a few RODATA symbols that are supposed to be part of a specific function, but got optimized out by the compiler. So the symbols are still there, and they're required to match, but the function itself doesn't reference these symbols. This makes spim ignore them when using migrate_rodata_to_functions: True.
If I manually add the missing RODATA symbols into the file, I get a matching build. So it's the only thing preventing me from having a matching build for DKR.
I've tried several things to get it to generate the symbols including defining them with force_migration:True in the symbol file, with no luck.
Explain the problem.
So Diddy Kong Racing has a function where there's a few RODATA symbols that are supposed to be part of a specific function, but got optimized out by the compiler. So the symbols are still there, and they're required to match, but the function itself doesn't reference these symbols. This makes spim ignore them when using
migrate_rodata_to_functions: True
.If I manually add the missing RODATA symbols into the file, I get a matching build. So it's the only thing preventing me from having a matching build for DKR.
I've tried several things to get it to generate the symbols including defining them with
force_migration:True
in the symbol file, with no luck.Here's what is generated:
And here's what is should look like to match:
Here's me trying to force the symbols:
and here's the error message given from splat:
Reproducer
https://github.com/Ryan-Myers/Racing_Splat
spimdisasm version
1.28.1
Optional: splat version
0.27.0
Optional: Version of other stuff
No response