ethteck / splat

A binary splitting tool to assist with decompilation and modding projects
MIT License
159 stars 42 forks source link

create_config.py needs improving for PSX #315

Closed mkst closed 9 months ago

mkst commented 9 months ago

Per title. The create_config.py script does not work well for PSX binaries:

I have a PR incoming that addresses these in a best-efforts manner. We will scan through the binary until we find a threshold number of valid MIPS I instructions (and we will call this the start of the text segment), and continue until we reach the first invalid instruction (we will call this the end of the text segment and the beginning of the data segment).

This can perhaps be improved upon in due course, but is much better than the current version of create_config.py.