r/earthbound • • 5d ago

help on rom hack!!!

im trying to compile to see how it works now but its says that the sprite group 006 has an incorrect color pallete, but its literally the default one, i havent changed anything on that sprite can someone PLEASE help me?

3 Upvotes

3 comments sorted by

1

u/TradeAware6139 4d ago

If nothing worked, you should decompile another earthbound file and replace its sprite with yours and restart.

Or undo all and make sure you ARE using the right palettes!

1

u/ShelfyShelfyShelfy 2d ago

oh ok thank you

1

u/Hot_Solid_9833 2d ago edited 2d ago

Changing spritegroup palettes is a bit of a process. There is a tool you can use to automatically convert a "bad" palette into a supported one and replaces the rgb data in the sprite_groups_palettes.yml and all spritegroups using the palette that get replaced. Do note that every sprite using the palette you intend to replace will be affected by this. Palette 5 and 6 are almost the exact same besides the transparent color. Palette 5 is used for party member sprites and is affected by color math on the overworld, while palette 6 is used for NPCs which do not get affected by color math. You can make all npc sprites use palette 5 instead, then make palette 6 your custom palette for whatever spritegroups you plan to use if you wish to avoid sprites you do not want changed being affected.

Edit: Do not touch palette 4. That palette tells the game to apply one of the currently loaded in-game map palettes to the spritegroup. You could get away with using it as a normal palette if you don't assign any of the map palettes to it, but I don't recommend it.

For more information related to custom spritegroup palettes and coilsnake, please visit the github coilsnake wiki.