Super Street Fighter 2 HD Remix flog_ps3.fpg

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ZaDarkSide
Posts: 3
Joined: Sat Jan 13, 2018 4:09 am

Super Street Fighter 2 HD Remix flog_ps3.fpg

Post by ZaDarkSide »

Hello, I have a game archive and I want to extract the files with QuickBMS.

I have used the attached script to extract the XBOX version, but the PS3 version one stops with an error.

You can get flog_x360.fpg and flog_ps3.fpg and test yourself from here https://mega.nz/#F!hU1SGLhA!mWraVWItxBha7INlJzbDhA
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Super Street Fighter 2 HD Remix flog_ps3.fpg

Post by aluigi »

It's not a problem of the script.
The problem is the wrong information inside the ps3 archive that says the following about a compressed file at offset 0x027c7800: 0x000b2000 -> 0x000e882c.
While the correct information should be 0x0003b000 -> 0x00052b5a
And basically from that file everything else is wrong.
ZaDarkSide
Posts: 3
Joined: Sat Jan 13, 2018 4:09 am

Re: Super Street Fighter 2 HD Remix flog_ps3.fpg

Post by ZaDarkSide »

So the file is corrupted or something?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Super Street Fighter 2 HD Remix flog_ps3.fpg

Post by aluigi »

The TOC (information about the archived files) don't match the files in the archive.
It's not a corruption because in that case a part or the whole archive would be full of zeroes or garbage data, here you have a valid TOC that matches 1134 files and it's wrong for all the others like if it refers to an old version of the archive that and has not been updated.

The good news for you is that you can extract the files anyway by using offzip -a:
offzip.exe -a flog_ps3.fpg output_folder

But take in mind that you are extracting data from an invalid archive that can be an old version.
ZaDarkSide
Posts: 3
Joined: Sat Jan 13, 2018 4:09 am

Re: Super Street Fighter 2 HD Remix flog_ps3.fpg

Post by ZaDarkSide »

That's very strange because I have the pkg file from which I extracted the fpg file.
And the pkg file runs in RPCS3 emulator just fine. (https://rpcs3.net)

UPDATE: I successfully extracted the files with offzip, and now I'm converting sg2 texture files to png and see what I'll get. Thank you very much!

UPDATE2: Even if I successfully extracted the files with offzip, they are the same files repeated over and over and no new information was extracted that was already extracted by the flog_x360.fpg.bms script. So it's seems to me it's a protection of some kind because any character sprites or stage sprites or sounds/music cannot be extracted, just portraits, misc ui textures, texts, fonts and some hit sparks.

Can you analyze further this format because I don't think this archive is corrupted or old version just a protection.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Super Street Fighter 2 HD Remix flog_ps3.fpg

Post by aluigi »

There is nothing else to analyze.
The TOC contains wrong information, that's all.