LoginLogin

G​R​P F​ile​ Fo​rma​t

Root / FAQs / [.]

🔒
ShellyCreated:
So, this is just a simple question. A GRP file is saved as a DAT file (correct?). So, if we could load it as a DAT file, and view the contents, shouldn't it be possible to find a format in which a GRP is saved? I'm asking this because if it WAS possible it would allow for compression of data in the DAT file, which would allow for more GRPs to be stored in one program. This would allow for overall better games.
you can load a GRP as a 2D 512x512 DAT file. Note that it will use 16 bit (RRRRRGGGGGBBBBBA) colors rather than 32 bit (AAAAAAAARRRRRRRRGGGGGGGGBBBBBBBB) and uses the correct [Y,X] order.

So, this is just a simple question. I'm asking this because if it WAS possible it would allow for compression of data in the DAT file, which would allow for more GRPs to be stored in one program. This would allow for overall better games.
I tried to do that before on my megaman battle network clone (I stored the image and the pallete of it in 2 arrays, the first store 2 colors and the second the pallete colors). It works but... what you gain in space is lost in performance (Loading time wasn't terrible but it's noticable). Also, the project explorer became slower if there are too much files (I had more than 300 at that time because I stored the mugshot of the chips on separated files).