Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

Hello everyone,

This time I'll ask for help please regarding Powerpuff Girls Relish Rampage (PS2 version).

Indeed, I want to listen to the music of the game and for this I need to unpack the BLK archive.

Thanks!
Last edited by Mygoshi on Thu Feb 18, 2021 7:07 pm, edited 3 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by aluigi »

The CAT index file is not necessary in this case because BLK already has the full filenames, better for us :)
http://aluigi.org/bms/powerpuff_girls.bms
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

Thank you but I get an error
Last edited by Mygoshi on Thu Feb 18, 2021 7:08 pm, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by aluigi »

Try script 0.2
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

The new script only extracted 15% of the archive (147 files).
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by aluigi »

What error message you get?
There are 816 files referenced and an unknown number of sub_files contained in them.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

There are no error messages, it just extracted 15% at coverage 0 and 2% at coverage 1, with a total of 147 files extracted.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by aluigi »

The archive is only 260 Mb, upload it.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by aluigi »

Script 0.2.1
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

Thanks! It worked perfectly.

Now I have to deal with the MIB files, which have regular paddings of zeroes.

The interleave is 6680 but I would need a script to erase the zero blocks, in order to remove the silences.

Here's one of the files: https://mega.nz/#!3g1TgSQR!W5sQtllv3y7e ... gexplr7fXo

There is an MIH attached (which is the header): https://mega.nz/#!i9dmBB4b!WOQqY2Z3B1T8 ... i0Cyg0QIZ8

Thanks in advance.
Last edited by Mygoshi on Thu Feb 18, 2021 7:12 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by aluigi »

So they are blocks of raw VAG data of 0x5370 bytes with a padding of 0x1310, correct?

Try this script and set the interleave to 0x5370:

Code: Select all

get MIB_SIZE asize
get NAME basename
string NAME + ".raw"
log NAME 0 0
append
for OFFSET = 0 != MIB_SIZE
    log NAME OFFSET 0x5370
next OFFSET + 0x6680
append
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

Thanks! There are no silences now but it always skips

The interleave is correct though.

Here are the correct settings:

VAG RAW data: 0x5930
Padding: 0xD50
Last edited by Mygoshi on Thu Feb 18, 2021 7:14 pm, edited 2 times in total.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

I changed the settings with 0x5930 and I put the interleave to 5930 and it works perfectly! Thanks!
Last edited by Mygoshi on Thu Feb 18, 2021 7:14 pm, edited 1 time in total.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

Anyway there's a problem, I have another file called L2_BOSS.MIB and I think this file contains several files with different paddings.

In fact, I tried the Deinterleaver script to extract the seperate files, but I don't know how many tracks are in the file (layers).

Each different track in that file have different VAG byte data & padding, but same interleave which is 0x6680

Any help to extract properly the files with Deint.bms and then apply your script for each files?

Link to the file: https://mega.nz/#!39dRhIDS!7nsKpUWQ3o_p ... IPgfez8b18

Thanks!
Last edited by Mygoshi on Thu Feb 18, 2021 7:16 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by aluigi »

I don't think I can help.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Powerpuff Girls Relish Rampage (PS2) *.BLK/CAT

Post by Mygoshi »

Ok, thanks anyway for the script to extract the archive and the other script.