Hello!
I've been trying to rip the graphics from this game on and off for a while and need a little help. Theresia stores it files/graphics in .dat and each .dat stores a separate Nintendo graphic format.
There's a file called bgdata.dat also located inside the rom. It controls what graphic will come onto the screen by looking at 8 bytes. Deleting one of these strings (more of the first one) absolutely screws what graphic comes onto the screen and nearly break the game. Found that offset 25B0 controls the very first image that appears on the screen ("Licensed by Nintendo", BE 0B 14 00 BE 0B FF FF). Hex editing this to any of the strings already in the file will show a different image such as a blue hole thing (04 00 04 00 04 00 FF FF) or a partial image of "family" that should appear on the touchscreen in-game (72 07 64 00 E2 05 FF FF).
The first image comes from the top of the file.
Excluding the first and fifth string (doesn't really show anything), I was able to look at these graphics in nitro paint using a dump I made last year (basically I split ncgpack.dat and nclpack.dat based on if it saw the header for the two formats after removing a bit of data from the start of each file). The code snippet above goes with the first five NCGR and NCLR files in each corresponding .dat file but that's all I know. The part that confuses me the most, and the one I need help with, is how it calls the two .dat files. Minus FF FF, I know what two of the bytes are for and have guesses for the rest.
For example, The work of fiction screen
14 00 controls how the image is displayed on the screen. Changing this to 64 00 makes it similar to the "family" image above. 14 00 makes the image cover the entire screen. Most of the strings uses 64 00 and 14 00 except the code section above and Bock 1F40-226F.
I think the first BD 0B controls the NCGR and the second one controls the NCLR used but I'm not completely sure.
Any help would be greatly appreciated!
I've been trying to rip the graphics from this game on and off for a while and need a little help. Theresia stores it files/graphics in .dat and each .dat stores a separate Nintendo graphic format.
Code:
nanpack.dat
ncepack.dat
ncgpack.dat
nclpack.dat
nscpack.dat
There's a file called bgdata.dat also located inside the rom. It controls what graphic will come onto the screen by looking at 8 bytes. Deleting one of these strings (more of the first one) absolutely screws what graphic comes onto the screen and nearly break the game. Found that offset 25B0 controls the very first image that appears on the screen ("Licensed by Nintendo", BE 0B 14 00 BE 0B FF FF). Hex editing this to any of the strings already in the file will show a different image such as a blue hole thing (04 00 04 00 04 00 FF FF) or a partial image of "family" that should appear on the touchscreen in-game (72 07 64 00 E2 05 FF FF).
The first image comes from the top of the file.
Code:
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF 03 00 03 00 03 00 FF FF
04 00 04 00 04 00 FF FF 05 00 05 00 05 00 FF FF
FF FF FF FF FF FF FF FF 07 00 07 00 07 00 FF FF
FF FF FF FF FF FF FF FF 09 00 09 00 09 00 FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
For example, The work of fiction screen
Code:
BD 0B 14 00 BD 0B FF FF
I think the first BD 0B controls the NCGR and the second one controls the NCLR used but I'm not completely sure.
Any help would be greatly appreciated!