READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

*.oaf [South Park - The Stick of Truth]

The Original Forum. Game archives, full of resources. How to open them? Get help here.
User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 224
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 46 times
Contact:

Re: *.oaf [South Park - The Stick of Truth]

Post by XRaptor » Sat Mar 15, 2014 7:05 pm

Thief1987 wrote:PS3 version use deflate compression
Are you able to unpack file attached above? I'm not sure about deflate.

Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: *.oaf [South Park - The Stick of Truth]

Post by Thief1987 » Sat Mar 15, 2014 8:04 pm

Yes. Compressed data starts from offset 0x4
0x00-0x02 - zsize
0x02-0x04 - size
http://rghost.ru/53085653

User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 224
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 46 times
Contact:

Re: *.oaf [South Park - The Stick of Truth]

Post by XRaptor » Sat Mar 15, 2014 8:18 pm

Hmm, zlib library doesn't work for this. I thought zlib IS deflate.

wordhg
advanced
Posts: 46
Joined: Tue Oct 15, 2013 1:21 am
Has thanked: 20 times
Been thanked: 1 time

Re: *.oaf [South Park - The Stick of Truth]

Post by wordhg » Tue Mar 18, 2014 4:44 pm

Thief1987 wrote:
XRaptor wrote:I have fully working XBox360 tool, just forgot to add links to download page after tests :-)

Code: Select all

http://raptor.cestiny.cz/download/files/utils/SouthParkXBox360Extractor100.rar
http://raptor.cestiny.cz/download/files/utils/SouthParkXBox360Translator100.rar

OK and about PS3 version. It is the same problem as Dungeon Siege 3. I really have no idea, what compression is used in PS files. LZA? LZW? LZwhatever? I don't know. If someone familiar with PS3 could help with algorithm identification, it will be great.
PS3 version use deflate compression

ok~ thank you

User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 224
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 46 times
Contact:

Re: *.oaf [South Park - The Stick of Truth]

Post by XRaptor » Fri Mar 21, 2014 11:31 pm

Well, I'm lost. Deflate using quickbms works fine on PS3 files. My tools are made in Delphi and for unpacking PC and XBox data is used standard Zlib library. I have no idea, what other "deflate" library I can use for PS3 files :-( I thought zlib is based on deflate/inflate algorithm, but it doesn't work. Anyone can tell me what is different? So zlib is not deflate?

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

Re: *.oaf [South Park - The Stick of Truth]

Post by chrrox » Sat Mar 22, 2014 3:18 am

the difference is the window size i think 15 and -15

User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 224
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 46 times
Contact:

Re: *.oaf [South Park - The Stick of Truth]

Post by XRaptor » Sat Mar 22, 2014 9:24 am

chrrox wrote:the difference is the window size i think 15 and -15
Yes, you are right. I found it on zlib web site. Tried windowBits -15 and it starts working. So it seems it is just deflate stream without any crc and headers or something. I just need to test repack and it will be done :-)

User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 224
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 46 times
Contact:

Re: *.oaf [South Park - The Stick of Truth]

Post by XRaptor » Sun Mar 23, 2014 11:09 am

Ok, PS3 tools uploaded. :-)

South Park - The Stick of Truth OAF Files Extractor
http://raptor.cestiny.cz/download/south ... actor.html

South Park - The Stick of Truth Translator
http://raptor.cestiny.cz/download/south ... lator.html

wordhg
advanced
Posts: 46
Joined: Tue Oct 15, 2013 1:21 am
Has thanked: 20 times
Been thanked: 1 time

Re: *.oaf [South Park - The Stick of Truth]

Post by wordhg » Sun Mar 23, 2014 3:47 pm

XRaptor wrote:Ok, PS3 tools uploaded. :-)

South Park - The Stick of Truth OAF Files Extractor
http://raptor.cestiny.cz/download/south ... actor.html

South Park - The Stick of Truth Translator
http://raptor.cestiny.cz/download/south ... lator.html
very thank!

Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: *.oaf [South Park - The Stick of Truth]

Post by Thief1987 » Sun Mar 23, 2014 4:35 pm

XRaptor
Maybe you update you tool for Dungeon Siege too? I'm lazy write it by myself :D

User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 224
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 46 times
Contact:

Re: *.oaf [South Park - The Stick of Truth]

Post by XRaptor » Sun Mar 23, 2014 10:44 pm

Thief1987 wrote:XRaptor
Maybe you update you tool for Dungeon Siege too? I'm lazy write it by myself :D
Hmm, I'll try, but not today, this PS3 format is pain. Different compression, chunked compressed data, no simple offsets etc.

Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: *.oaf [South Park - The Stick of Truth]

Post by Thief1987 » Sun Mar 23, 2014 11:16 pm

Oh, i thought it's just different compression method

Post Reply