10-01-2012, 01:57 AM
Alright, so made some progress:
Turns out the first file, the one that goes with No$Gba, is just an edit to the already existing NO$GBA.INI file. The changes that needed to happen was just change the follow line:
SAV/SNA File Format == Compressed
into
SAV/SNA File Format == Uncompressed
Simple enough! The second file (for Tile Molester) is where I'm having issues. Based on my research, the file is an addition to the file that already lives with Tile Molester, called "tmspec.xml". The change to this file is something similar to the following XML:
<palettefilter extensions="sna" colorformat="CF01" size="2048" offset="4196476" endianness="little">
<description>No$GBA Uncompressed Save States (*.sna)</description>
</palettefilter>
Which is simply a specification saying how to read the palette information from the savestate file. I've verified (through a HexEditor) that the palette starts at the offset of 4196476 (VPAL at address 0x00400870), and has a size of 2048 bytes. Buuuut, I still can't seem to find any useful information in the savestate. My guess is I have the colorformat field incorrectly filled in.
I'll have to look into it more. If anyone has any tips, feel free to chime in
Turns out the first file, the one that goes with No$Gba, is just an edit to the already existing NO$GBA.INI file. The changes that needed to happen was just change the follow line:
SAV/SNA File Format == Compressed
into
SAV/SNA File Format == Uncompressed
Simple enough! The second file (for Tile Molester) is where I'm having issues. Based on my research, the file is an addition to the file that already lives with Tile Molester, called "tmspec.xml". The change to this file is something similar to the following XML:
<palettefilter extensions="sna" colorformat="CF01" size="2048" offset="4196476" endianness="little">
<description>No$GBA Uncompressed Save States (*.sna)</description>
</palettefilter>
Which is simply a specification saying how to read the palette information from the savestate file. I've verified (through a HexEditor) that the palette starts at the offset of 4196476 (VPAL at address 0x00400870), and has a size of 2048 bytes. Buuuut, I still can't seem to find any useful information in the savestate. My guess is I have the colorformat field incorrectly filled in.
I'll have to look into it more. If anyone has any tips, feel free to chime in