I'm working on a hack which restores three of the COs graphics that got changed in the US version. Similar to what I did with the Advance Wars 1.
Now the Commanding Offices are stored as GBA sprites (just larger) and I know where they are stored. All the necessary compressed LZ77 GBA CO graphics are stored in the 'rikiishi' folder so all I require to do is a folder swap with the Japanese version.
The palettes are stored in arm9.bin file (see this topic) as GBA palettes along with 4 uncompressed graphics for each CO (that irritated me when I discovered they were stored in there).
Now the only thing I need help editing is the CO Wall Papers. Now I know they are located in the 'rikiishi' folder and are compressed using LZ77 GBA.
I was thinking this would be a simple swap and just require a simple edit but it's not that easy.
So you get what I'm trying to edit, below are Sonja's (Asuka's) Wallpaper from the JP and US version (ripped using a DS Emualtors Tile Viewer):
I know the Wallpapers are stored as 8bpp linear:
No luck lining the tiles up.
But I've no idea where to find the palette. Any ideas on how they are stored in a DS rom? I can't find any palette data in the 'Data' folder and I think they're stored in the 'arm9.bin' file. If it helps, below is a palette for one of the Wallpapers:
I did try and swap the Sonja Wallpaper from the JP version into the US but the game freezes when it loads the data. I guess the palette information has to match?
Any help would be appreciated.
Now the Commanding Offices are stored as GBA sprites (just larger) and I know where they are stored. All the necessary compressed LZ77 GBA CO graphics are stored in the 'rikiishi' folder so all I require to do is a folder swap with the Japanese version.
The palettes are stored in arm9.bin file (see this topic) as GBA palettes along with 4 uncompressed graphics for each CO (that irritated me when I discovered they were stored in there).
Now the only thing I need help editing is the CO Wall Papers. Now I know they are located in the 'rikiishi' folder and are compressed using LZ77 GBA.
I was thinking this would be a simple swap and just require a simple edit but it's not that easy.
I know the Wallpapers are stored as 8bpp linear:
No luck lining the tiles up.
But I've no idea where to find the palette. Any ideas on how they are stored in a DS rom? I can't find any palette data in the 'Data' folder and I think they're stored in the 'arm9.bin' file. If it helps, below is a palette for one of the Wallpapers:
I did try and swap the Sonja Wallpaper from the JP version into the US but the game freezes when it loads the data. I guess the palette information has to match?
Any help would be appreciated.