News: 11 March 2016 - Forum Rules

Author Topic: Help with SNES Palette hacking  (Read 3987 times)

theguy1

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Help with SNES Palette hacking
« on: May 21, 2020, 02:59:48 pm »
Hello, I apologise for creating a new thread if that's not allowed in this section, I've recently been trying to do palette hacks for a few SNES games. But I've hit a brick wall with being able to find the correct HEX strings that I'd be changing in HxD. I was able to do games like Donkey Kong Country that have the information out there successfully, but with other games I've tried stuff like Bizhawk, geigas Snes9x, SNES palette editor and I can't seem to be successful.

The game I'm trying to edit palettes for is WWF Royal Rumble (editing colours on most of the 12 playable characters) if that's pertinent.

Any help is greatly appreciated.

svambo

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
Re: Help with SNES Palette hacking
« Reply #1 on: May 26, 2020, 02:30:18 pm »
- Take the Mesen-S Emulator
- run the game and go into the debug-menu and choose palette viewer
- pause the game when the palette you are looking for is active
- click on some colors and write down the color values
- use a hex-editor to search for that values in the rom (switch lowbyte and highbyte, value 1234 means you have to search for 34 12)

Feel free to ask if you have any problems.

bogaabogaa

  • Full Member
  • ***
  • Posts: 227
    • View Profile
Re: Help with SNES Palette hacking
« Reply #2 on: June 02, 2020, 04:04:18 am »
You can view palettes in some debugger. For example in bsnes-plus it is called CG-RAM and you find it in the memory tool. Then search for the values in the ROM.

When you can find the palette in a uncompressed format I would use TileMolester to view them as a colored pixel. This can be done by viewing the the palette with that offset you found with the codec 15bpp BGR 555 selected. Then edit the collor/palette in the png and insert it with Tilemolester again. Here I did talk about it in more detail.

CV ROM DiscordServer
https://discord.gg/PvFgxRg

eskayelle

  • Full Member
  • ***
  • Posts: 193
  • NBA Jam 2KTE / TMNT of Rage / Pong de las TMNT Dev
    • View Profile
Re: Help with SNES Palette hacking
« Reply #3 on: June 02, 2020, 10:38:47 pm »
I love Royal Rumble!  HBK and Razor are my go-tos.  Any plans to do other improvements within your hack?
I once wrote a blog.  Maybe you'll find something in it useful?  https://www.romhacking.net/forum/index.php?topic=30593.0

theguy1

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Help with SNES Palette hacking
« Reply #4 on: August 14, 2020, 11:56:10 am »
- Take the Mesen-S Emulator
- run the game and go into the debug-menu and choose palette viewer
- pause the game when the palette you are looking for is active
- click on some colors and write down the color values
- use a hex-editor to search for that values in the rom (switch lowbyte and highbyte, value 1234 means you have to search for 34 12)

Feel free to ask if you have any problems.

I've been trying to use mesen but every time I find the value and search for it in the hex editor it lists dozens of them. Even when I change them all and save, when I reopen absolutely nothing has changed.

I love Royal Rumble!  HBK and Razor are my go-tos.  Any plans to do other improvements within your hack?

There's a lot I'd love to do but I'm beyond a noob and I can't even manage the palette swapping at this rate  :'(

You can view palettes in some debugger. For example in bsnes-plus it is called CG-RAM and you find it in the memory tool. Then search for the values in the ROM.

When you can find the palette in a uncompressed format I would use TileMolester to view them as a colored pixel. This can be done by viewing the the palette with that offset you found with the codec 15bpp BGR 555 selected. Then edit the collor/palette in the png and insert it with Tilemolester again. Here I did talk about it in more detail.


I've tried this as well but every version of TM I have doesn't seem to have as many options in the menu as in your picture.
« Last Edit: August 14, 2020, 03:27:28 pm by theguy1 »

bogaabogaa

  • Full Member
  • ***
  • Posts: 227
    • View Profile
Re: Help with SNES Palette hacking
« Reply #5 on: August 18, 2020, 12:18:53 am »
This time I did look at the game and I have to say it will not be that easy. The palettes are not found as a normal table in the ROM. But you could find the same vlaue in RAM. Then you might discover that they do blanding of colors a lot. From the point in RAM it is not a easy task to figure a way to make them editable in a easy way in the ROM (Requires revers engineering and making tools/workaround)
My TM does not have more options. I just added a lot of bookmarks for assets for some games.
I am sorry to say that I am not motivated to work on this game and figure out how they handle colors.
« Last Edit: August 18, 2020, 10:37:54 pm by bogaabogaa »
CV ROM DiscordServer
https://discord.gg/PvFgxRg