The VG Resource

Full Version: Help with .pak files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to rip models from a gamecube game, but i cant seem to open the pak files. I extracted the data directory using dolphin, so i have all the files but they're in pak format and i cant open that.
You should state what game it is, as the PC version of Sonic Adventure 2 Battle uses texture archives that have a .pak extension, and that's obviously not the format that you are trying to extract.
Are you per chance referring to Rocket Power: Beach Bandits? That's a Gamecube game and it uses a PAK file.
If you would upload samples, we would have the opportunity to help you out! Otherwise, there's really no way that we can help. Tongue
Thanks for responding guys, the game in specific is Jimmy Neutron Attack of the Twonkies. I've seen other people already rip models from this game so i have to ask how they did it. I cant seem to attach the pak files, but its called NHoodN.pak, which i assume stands for neighborhood. If you have any solutions to how i can upload the file or how to do this, please respond.
Use a file hosting website such as Mega
OK, here's the mega upload: 
RAD https://mega.nz/#!53xH2S4A!rVakweBNVYE_drvKcdUpIFa5nYNeVkcYFJaYJm2_wUw
XML https://mega.nz/#!hzBRkYQT!no5q1SxR3uGuo75LsRVb_Pg_aGlUgLv-jOSQ-oEpPDQ
PAK https://mega.nz/#!gjBhTI7S!fR3Sc_LMCYyurw5E3iDssONViTrK59g3KBG7OQa35kA

I included all files related to NHoodN, including the XML and RAD files. I've already tried various pak explorers and other methods, like renaming pak to zip or rar. Thanks for responding and helping.
Script for QuickBMS to extract the *.pak's:

Code:
# Jimmy Neutron Attack of the Twonkies *.PAK
# Written By Anex For QuickBMS

endian big
idstring "pack"
get ZERO long
get HEADERSIZE long
get ARKSIZE long
get FNTABLE long
get FCOUNT long
get ZERO long
savepos TABLE
for i = 0 < FCOUNT
    get OFFSET long
    get SIZE long
    get DUMMYSIZE long //looks like fname size, but it isn't
    savepos TABLE
    goto FNTABLE
    get NAME string
    savepos FNTABLE
    goto TABLE
    log NAME OFFSET SIZE
next i
(07-29-2017, 07:39 PM)Pingu! Wrote: [ -> ]Script for QuickBMS to extract the *.pak's:

Code:
# Jimmy Neutron Attack of the Twonkies *.PAK
# Written By Anex For QuickBMS

endian big
idstring "pack"
get ZERO long
get HEADERSIZE long
get ARKSIZE long
get FNTABLE long
get FCOUNT long
get ZERO long
savepos TABLE
for i = 0 < FCOUNT
    get OFFSET long
    get SIZE long
    get DUMMYSIZE long //looks like fname size, but it isn't
    savepos TABLE
    goto FNTABLE
    get NAME string
    savepos FNTABLE
    goto TABLE
    log NAME OFFSET SIZE
next i

will this work with all the game's pak files?
Yes, it will, just run it with quickbms
(07-29-2017, 07:57 PM)Pingu! Wrote: [ -> ]Yes, it will, just run it with quickbms

Thank you, i got it working and now have access to all the RWS files! You have no idea how happy i am!
Do you need help with the other ones?
(07-29-2017, 08:14 PM)Pingu! Wrote: [ -> ]Do you need help with the other ones?

No, now i can open all the game's pak files. I just need help now finding programs that open the files inside the pak files Tongue Do you have an application called RWConverter?

One of the RWS files: https://mega.nz/#!U7RyVTbI!3CSdBnKa5lD-xb2aNsuPgWm5aYZX2dCE0aP-te1UtMw