Hey Guys
For a long time I've been playing the Boku no Natsuyasumi series, and recently got theoppurtunity to try out the 3rd (and final) game on PS3.
Visually its fantastic 2D artwork and I wanted to take a look at the actual files inside, but the format is .bin compressed within a .gzx file.
I'm sure the images themselves are something else within the .bin, but I've not gotten that far yet. The header is, well its a bit of a mess due to the compression, I can't make out anything at all.
Hoping somebody here might be interested in this games backgrounds, or at least its graphic format.
Heres a sample file to take a look at: https://www.dropbox.com/s/9875dv7r07lir ... n.gzx?dl=0
Thanks in advance, really looking forward to whats going on in here.
Boku no Natsuyasumi .gzx 2D Graphics
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Boku no Natsuyasumi .gzx 2D Graphics
It's just a normal gzip file with the decompressed size value at the beginning.
So you can delete the first 4 bytes and use a normal file compressor or you must the following script:
So you can delete the first 4 bytes and use a normal file compressor or you must the following script:
Code: Select all
comtype gzip
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE -= OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
-
- Posts: 28
- Joined: Mon Jan 26, 2015 8:39 pm
Re: Boku no Natsuyasumi .gzx 2D Graphics
Oh wow that was fast, thankyou so much.
Out of that it drops a .bin, which is still a container
But inside that there is a .tim file, I used a quick command line extractor I found to rip the .tim from it to see if its legible, it is, it worked well.
The only downside is there are 5000 of these .gxz files, running your script on them all is possible, but I imagine there must be a better way than extracting each tim2 1 by 1.
Perhaps if there was a BMS script to open up the .bin file at all?
I've provided an example extracted .bin here: https://www.dropbox.com/s/2zg31s6h3dl2r ... 0.bin?dl=0
Out of that it drops a .bin, which is still a container
But inside that there is a .tim file, I used a quick command line extractor I found to rip the .tim from it to see if its legible, it is, it worked well.
The only downside is there are 5000 of these .gxz files, running your script on them all is possible, but I imagine there must be a better way than extracting each tim2 1 by 1.
Perhaps if there was a BMS script to open up the .bin file at all?
I've provided an example extracted .bin here: https://www.dropbox.com/s/2zg31s6h3dl2r ... 0.bin?dl=0
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
-
- Posts: 28
- Joined: Mon Jan 26, 2015 8:39 pm
Re: Boku no Natsuyasumi .gzx 2D Graphics
Hey, my appologies I was 100% sure I'd replied immediatly saying thankyou for the script but it doesn't look like I posted anything at all. Sorry about that, your script works well, it outputs files that are still unusable but I'm still trying to figure those out for the moment, so thankyou very much.