11 March 2016 - Forum Rules
Started by Homer177, August 21, 2022, 02:27:07 PM
Quote from: Homer177 on August 23, 2022, 01:04:08 PMInteresting...I have tried editing the rom directly through GHex, but the results I get are somewhat weird given how the palettes are written in raw data. There are a lot of extra bytes that obscure what I'm looking for and that's difficult to work through.
Quote from: ShadowOne333 on August 23, 2022, 03:52:24 PMI remember stumbling upon this as well when trying to make a Colour Restoration for EarthBound's side of Mother 1+2 on GBA.The thing is, I believe that the very same LZ77 compression used for palettes is what's giving you those odd resulsts with "extra bytes" in between. So you have like 3-4 palettes, and then some random byte (I believe it was sometimes a 00 or something) and that is enough to throw off the Hex editing.I am not sure what tool could be used to handle these kind of palette compression.I believe @marc_max was the one who did the DKC Colour Restoration with some custom tools he did, so perhaps contacting him would be a good idea to know how to handle this.
Quote from: ShadowOne333 on August 23, 2022, 05:57:20 PMHave you tried seeing if you can find the pointers for each of the binaries?Like doing a Hex search for "40 B1 0E", "34 C4 0E", "F4 DB 0E".If you get a match for all three instances, try moving the entirety of the new palette data somewhere in the ROM where you think it's freespace (usually either a bunch of FFs or 00s), take note of the address where you're putting each new binary in, and modify the pointer values accordingly to your new addresses where you pasted the palette data.
Page created in 0.111 seconds with 20 queries.