Extracting .PAK file from Ghost Recon 2001.

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
JackKrowell
Posts: 45
Joined: Thu Sep 26, 2019 9:56 pm

Extracting .PAK file from Ghost Recon 2001.

Post by JackKrowell »

Does anybody know of any software programs I can use to extract a particular .PAK file from the PS2 game Ghost Recon 2001? I have reason to believe that it contains certain audio I've been searching for.

Link:

https://drive.google.com/file/d/1Avxy-NVoEHd7tUXOWLMtZ3_u9IijkcGH/view?usp=sharing
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Extracting .PAK file from Ghost Recon 2001.

Post by BloodRaynare »

"Access Denied", can't download the file
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extracting .PAK file from Ghost Recon 2001.

Post by aluigi »

In the meantime this is a raw dumper of all the data inside the PAK:

Code: Select all

get PAK_SIZE asize
for OFFSET = 0 != PAK_SIZE
    get DUMMY long
    if DUMMY != 2   # last is 0x63
        break
    endif
    get NAMESZ long
    getdstring NAME NAMESZ
    get TYPE long
    get DUMMY long
    get DUMMY long
    string NAME + /
    if TYPE == 0
            get SIZE long
            savepos OFFSET
            log NAME OFFSET SIZE
            math OFFSET + SIZE
            goto OFFSET
    else    # 0x13
        for x = 0 < 2
            get SIZE long
            savepos OFFSET
            log NAME OFFSET SIZE
            math OFFSET + SIZE
            goto OFFSET
        next x
    endif
next

No idea about the content of the extracted data, it may be some compression (???) or audio encoded with some codec (but it's not PS adpcm which is strange for a PS game)
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Extracting .PAK file from Ghost Recon 2001.

Post by AlphaTwentyThree »

Can you upload an audio sample for me to look at?
JackKrowell
Posts: 45
Joined: Thu Sep 26, 2019 9:56 pm

Re: Extracting .PAK file from Ghost Recon 2001.

Post by JackKrowell »

AlphaTwentyThree wrote:Can you upload an audio sample for me to look at?


Here's the file. As to know, I'm looking for the 'MENU' music track that play's out during the loading screen sequence.


https://drive.google.com/file/d/1d8Zlmg2I-groCADI8-npe8-EKmHroGsI/view?usp=sharing
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Extracting .PAK file from Ghost Recon 2001.

Post by AlphaTwentyThree »

No I meant one of the files that are unplayable
JackKrowell
Posts: 45
Joined: Thu Sep 26, 2019 9:56 pm

Re: Extracting .PAK file from Ghost Recon 2001.

Post by JackKrowell »

AlphaTwentyThree wrote:No I meant one of the files that are unplayable


Sure Thing, here you go.