-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: segments out of order - (1060 starts at 0x1060, but next segment starts at 0x1010) #406
Comments
Ahh, yeah, this does look like a bug. Thanks for the report! I'd get rid of the data subsegment there and see what happens. If you're used to looking at mips, it should be pretty clear when actual code stops. As for gcc vs ido, gcc uses j for branching, and ido uses b. So it's easy to know if you're ido vs gcc. To narrow it down further, usually some trial and error is needed. |
Thanks for the quick response! Deleting the data subsegment stop the crashes:
is 99.36% common for unknown segments on a first run?
Sadly I have never worked with mips before, I have been a programmer for many years but this is my first real adventure with assembly and reverse engineering. Any tips for a new comer? I'm just trying to wet my feet by modding some simple retexturing and switching the game music, my idea was to split the rom to find out were the textures and other data are located. |
Maybe join the decomp.me discord https://discord.gg/sutqNShRRs? The images in the ROM are unlikely to have headers so it probably isn't trivial to identify all the textures |
This is not a bug. Perhaps the error text could be clearer? It's unlikely to be able to point to the line of the yaml though I guess 😕 subsegments:
- [0x1060, asm]
- [0x1010, data] # 0x1010 is lower than 0x1060 |
The bug is that (presumably) the create config script generated this - something in the code vs data detection |
This seems to be an issue with the entrypoint parsing of the create_config script. The entrypoint of this game is not a "traditional" one, so splat chokes at trying to infer information from it. |
I was trying to split my tony hawk pro skater n64 ROM But got the following error:
Error: segments out of order - (1060 starts at 0x1060, but next segment starts at 0x1010)
I was following the quick start and ran create_config and then the split command. I understand that I should iterate and work on the configuration file, but I thought that the command would give me something barebones but that worked. Was I mistaken or have I stumbled upon a bug?
here's the config file I generated:
ps: How does splat infer the compiler? I was dreading having to uncover that, but knowing that it was GCC should help a lot.
The text was updated successfully, but these errors were encountered: