Sengoku Basara HD Collection FRD/AIO files (PS3)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ChillyBilly
Posts: 37
Joined: Sun May 14, 2017 12:07 am

Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by ChillyBilly »

As the title indicates, I'm trying to rip Basara HD (particularly for the music), but I'm unfamiliar with these particular file formats. Still, I'm fairly certain that the "FRD" files are pretty much the header info for the "AIO" files, at least. I've got a sample pair here, which I hope is good enough to work with.... I'd upload the other pairings, but the next "smallest" AIO archive is over 1GB in size, so.... yeah. I could still try uploading it if anyone wants, but I might not be able to do so right away. Anyway, thanks in advance for any assistance!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by aluigi »

What are the names of all the AIO files you have there?
ChillyBilly
Posts: 37
Joined: Sun May 14, 2017 12:07 am

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by ChillyBilly »

aluigi wrote:What are the names of all the AIO files you have there?


Being contained in different folders, they all have the same "test.aio" name (there are three more aside from the one I already posted). Would it help to post the FRD files, though? Thankfully, they're far smaller in size (and as I previously said, they're essentially the "headers" for the AIO files, anyway). Here they are, just in case:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by aluigi »

it's better if you provide a directory listing.
You can use dir /s /b from the console to make the list.
ChillyBilly
Posts: 37
Joined: Sun May 14, 2017 12:07 am

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by ChillyBilly »

aluigi wrote:it's better if you provide a directory listing.
You can use dir /s /b from the console to make the list.


Sure thing. Hope it helps!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by aluigi »

ChillyBilly
Posts: 37
Joined: Sun May 14, 2017 12:07 am

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by ChillyBilly »

Thanks for the script! However.... it doesn't extract everything (or at least, not the sound, anyway). In fact, both updata_1 and updata_2 gave me error messages almost as soon as the extraction process began. This is what I got from the 1.frd/test.aio pair from the updata_1 folder:

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info: algorithm 1
offset 00000000000012f8
input size 0x0000000000000004 4
output size 0x0000000000000004 4
result 0xfffffffffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (708)

Last script line before the error or that produced the error:
59 clog NAME OFFSET SIZE XSIZE 1


^At least, that's what shows up for me, anyway. Maybe there's a way to at least modify the script to just extract the sound (the .msf files)? Again, I appreciate all that you've done already!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by aluigi »

Use this script on one of these test.aio files and upload the first generated file (*_0_*.dat):
http://aluigi.org/bms/filecutter.bms
ChillyBilly
Posts: 37
Joined: Sun May 14, 2017 12:07 am

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by ChillyBilly »

Sorry for the late response! Anyway, if it helps, I used the file cutter on all four test.aio files:

https://drive.google.com/open?id=1m8W1C ... CGMg1DYYtO
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by aluigi »

Script 0.1.1
ChillyBilly
Posts: 37
Joined: Sun May 14, 2017 12:07 am

Re: Sengoku Basara HD Collection FRD/AIO files (PS3)

Post by ChillyBilly »

Pardon me for another late response, but I just want to say that the updated script worked like a charm! You have my greatest thanks, aluigi!