Users browsing this thread: 1 Guest(s)
FF5 iOS - strange PNG format
#3
Here are the bin files.
ff5 bins

Forgive me if my terminology is wrong. I've just started with hex editing.

I pulled the PNGs out of the bin files using a hex editor to save specific blocks. However there is also a program called pngcheck that can extract them all at once as well using the -x command and *.bin but there are a ton of errors. The output is usually the same as manual extracting resulting in the 3 duplicate and smaller black images although sometimes they come out blank due to all the errors. There are also a few rare ones that are pulled out as normal PNGs. More on that in a minute.

The bin files have PNG headers in them. It appears to be some kind of split file system/archive so they are easy to identify and pull out with block writes. That's what pngcheck seems to do. There is an interesting thing with them though. There are other headers before the PNGs, one "INP" and the second "ICP". Anything with the "INP" header results in normal PNG output. "ICP" headers have some data trailing it and when PNGs are extracted from those you end up with the 3 images. Could it be some kind of data that is taken out of the PNG that needs to be put back in?

Looking at data0.bin in a hex editor you will see it contains file names towards the end of the file. It's some kind of directory I think. Each bin file has a header "FFDL" which is the Final Fantasy Dimensions file structure by the looks of it. Those bins might be helpful for comparison if needed so here they are. Most of the other bin files are MP4 audio that play fine if you remove the "FFDL" header. The Android version of FF5's data OBB is also one giant "FFDL" headered file which I can't figure out what the file type actually is.

Hope that's helpful. If you need more information I will try to share.


UPDATE:
I made some progress! Using ImageMagick I was able to convert the PNG to a RAW rgb file and using TiledGGD I was able to recombine the 3 images into one although it looks a little misaligned. Now just need to figure out how to fix that and get the correct color.
   
Reply
Thanked by: puggsoy


Messages In This Thread
FF5 iOS - strange PNG format - by GreenGuy22 - 03-13-2015, 04:52 PM
RE: FF5 iOS - strange PNG format - by puggsoy - 03-13-2015, 09:04 PM
RE: FF5 iOS - strange PNG format - by GreenGuy22 - 03-13-2015, 11:35 PM
RE: FF5 iOS - strange PNG format - by Ton - 03-14-2015, 02:51 PM
RE: FF5 iOS - strange PNG format - by Davy Jones - 03-14-2015, 04:10 PM
RE: FF5 iOS - strange PNG format - by puggsoy - 03-15-2015, 05:57 AM
RE: FF5 iOS - strange PNG format - by GreenGuy22 - 03-15-2015, 11:28 AM
RE: FF5 iOS - strange PNG format - by puggsoy - 03-16-2015, 06:06 AM
RE: FF5 iOS - strange PNG format - by puggsoy - 03-18-2015, 05:42 AM
RE: FF5 iOS - strange PNG format - by puggsoy - 03-18-2015, 06:02 AM
RE: FF5 iOS - strange PNG format - by puggsoy - 03-18-2015, 06:24 AM
RE: FF5 iOS - strange PNG format - by puggsoy - 03-20-2015, 01:12 AM
RE: FF5 iOS - strange PNG format - by Ton - 03-23-2015, 08:11 AM
RE: FF5 iOS - strange PNG format - by GreenGuy22 - 03-23-2015, 11:57 AM
RE: FF5 iOS - strange PNG format - by GreenGuy22 - 03-23-2015, 12:32 PM
RE: FF5 iOS - strange PNG format - by Mikepjr - 05-12-2015, 02:03 AM

Forum Jump: