Uncharted Drakes fortune PS3 .PSARC zlib

Read or post about compression. And decompression. Or ask questions how to decompress your files.
OrangeC
double-veteran
double-veteran
Posts: 842
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 33 times

Uncharted Drakes fortune PS3 .PSARC zlib

Post by OrangeC » Sun Sep 05, 2010 2:06 am

Okay i have here a decrypted file from the game uncharted from ps3, problem is it seems to use zlib compression, hopefully it won't be too difficult to write up an extraction script :)

http://www.megaupload.com/?d=7GG7ZKI3

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by chrrox » Sun Sep 05, 2010 4:50 am

if you use offzip on it it appears they used zlib chunks the start offset if the offset directly after the word zlib.
then it reads zlib chunks till the end of the file.
i am not sure how to read the starting header of the file before the zlib section.

OrangeC
double-veteran
double-veteran
Posts: 842
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 33 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by OrangeC » Sun Sep 05, 2010 11:50 am

okay i extracted 64kb segments, is that normal?

EDITl nvm found out the 1 file mode :)

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by chrrox » Sat Sep 11, 2010 2:00 am

I researched this more with a friend and an extractor should be on its way soon :)

OrangeC
double-veteran
double-veteran
Posts: 842
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 33 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by OrangeC » Sat Sep 11, 2010 2:00 am

Hey nice, looking forward to it :)

Insomniac
beginner
Posts: 22
Joined: Fri Apr 24, 2009 4:11 am
Has thanked: 4 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by Insomniac » Sat Sep 11, 2010 6:25 pm

The contents of this post was deleted because of possible forum rules violation.

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by chrrox » Sat Sep 11, 2010 7:02 pm

your extractor just crashes on me.
this might help.
You do not have the required permissions to view the files attached to this post.

Insomniac
beginner
Posts: 22
Joined: Fri Apr 24, 2009 4:11 am
Has thanked: 4 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by Insomniac » Sat Sep 11, 2010 7:25 pm

Which .psarc file did you try it on?

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by chrrox » Sat Sep 11, 2010 7:33 pm

a lot of different ones they just crash.

Researchman
mega-veteran
mega-veteran
Posts: 315
Joined: Fri Jun 11, 2010 12:08 pm
Has thanked: 78 times
Been thanked: 21 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by Researchman » Sat Sep 11, 2010 7:41 pm

Unpacker Error:
Image

Insomniac
beginner
Posts: 22
Joined: Fri Apr 24, 2009 4:11 am
Has thanked: 4 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by Insomniac » Sat Sep 11, 2010 7:53 pm

chrrox wrote:a lot of different ones they just crash.
Hmmm... and all from Uncharted? I only have access to actor20.psarc, and the chunk posted by OrangeC. So if the file isn't using zlib or the zlib block sizes are greater than 64k, then it won't work.

Researchman wrote:Unpacker Error:
Image
Is that the file OrangeC posted? If so, that's only a chunk of the actual music.psarc file.

OrangeC
double-veteran
double-veteran
Posts: 842
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 33 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by OrangeC » Sat Sep 11, 2010 9:47 pm

so is there a fix for this?

Insomniac
beginner
Posts: 22
Joined: Fri Apr 24, 2009 4:11 am
Has thanked: 4 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by Insomniac » Sat Sep 11, 2010 10:24 pm

OrangeC wrote:so is there a fix for this?
Have you tried it? It should work on any zlib compressed psarc files from UDF. For files that aren't zlib, if someone could post a small chunk of the file, I'll try to update the extractor for that type of compression.

OrangeC
double-veteran
double-veteran
Posts: 842
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 33 times

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by OrangeC » Sat Sep 11, 2010 10:27 pm

i tried it on files that were zlibbed at the beginning but the data was uncompressed in the middle to the end. it still crashed

i will up a sample in a bit.

what do you mean from UDF?

Barnaby
advanced
Posts: 47
Joined: Mon Dec 14, 2009 5:41 pm

Re: Uncharted Drakes fortune PS3 .PSARC zlib

Post by Barnaby » Sat Sep 11, 2010 10:51 pm

The tool works great but only on the Uncharted psarc.

Post Reply