03-20-2019, 11:21 PM
(03-20-2019, 10:18 PM)Lumialle Wrote:(03-20-2019, 06:15 PM)Akaiji Wrote:(03-20-2019, 03:26 PM)Lumialle Wrote: I managed to get that correct, but I'm running into trouble with the byte reading method. I'm going through the obj_ncg1.dat file and trying to grab the overworld sprites, but I can't seem to get the pallette right even though I'm using the one that's shown up. I'm at line 00 00 04 B8 with pallette 00 00 84 B8 respectively, and I just can't seem to find the correct pallette for this.
Granted, this particular sprite has already been ripped (I believe it's the dodo) but it's a good test to see if I'm doing it correctly.
I have managed to grab some bits and pieces that are correctly colored, but this issue appears frequently in other files too. For example, the overworlds in amigo.dat do the same thing.
I found the palette for the obj_ncg1.dat and obj_ncg2.dat. These files only contain the graphics while obj_ncl1.dat and obj_ncl2.dat contain the palette data. The bad news is you'll need to do a little bit of stitching.
For the other files, I'll have to look into it.
- Open obj_ncg1.dat and obj_ncl1.dat in HxD, go to the end of the obj_ncg1.dat and take note of the offset, in this case, it is 2B90B8.
- In the obj_ncl1.dat file, go to the first offset (Press Ctrl + G and put the first offset - 000004B8), select and copy everything bellow.
- Go back to obj_ncg1.dat and paste, a confirmation window will pop up and press Ok.
- Go to File > Save as... and save with any name you want.
- Open the new file on Tile Molester and do the same steps as before.
- In the Palette step, you'll need to put the old file size as the offset - 2B90B8. The rest is the same.
- Where the colors are shown, there is a box with a 1 inside, change it to 32. This is because the size of each palette is 32 bytes.
- Now for every offset from obj_ncg1.dat, you just need to hit the > to load the correct palette, and it seems that in this file, you'll need to do some rearrangement in some sprites.
I followed the steps, by rearrangement do you mean the palette colors need to be rearranged? Because I do have the correct dodo palette but it's reversed (I'm looking off Smithy's rip to double check I got this right since this sprite is not easy to find ingame)
Here the palette is the same as Smithy's rip.
When I say rearrange, I mean the sprites. Look at the dodo's tail, you'll need to fix this manually.