Page 1 of 1

Weird .PAC with models and animations

Posted: Fri Nov 20, 2015 2:57 pm
by asdasd123
Hi,

I've been trying to extract models from a game:

- Inside the .CPK i've found these weird .PAC.
- No program was able to open/extract the .PAC (Noesis, PACExtracter, xbcompression...)
- Opening the .PAC files with HxD I can see that they have Meshes

I know you guys are amazing when facing a new challenge, so can anyone help me extract the models from the files?

Sample:
http://www.mediafire.com/download/t0duw ... d5/pok.pac
http://www.mediafire.com/download/6ein1 ... 8w/pik.pac

Re: [PSP] Weird .PAC with models and animations

Posted: Fri Nov 20, 2015 5:52 pm
by barti
Fortunately it's just a very basic container format.

QuickBMS script:

Code: Select all

get FILES short
get DUMMY short
get PACSZ long

for i = 0 < FILES
	getdstring NAME 32
	get OFFSET long
	get SIZE long
	log NAME OFFSET SIZE
next i

Re: [PSP] Weird .PAC with models and animations

Posted: Fri Nov 20, 2015 11:43 pm
by asdasd123
You sir have my thanks!

And since I can't repay you, you have my word that I'll repay the kindness by donating to the poor or doing some charity.

Once again, thanks!