Important information: this site is currently scheduled to go offline indefinitely by end of the year.

*.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: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

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

Post by XRaptor »

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 »

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: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

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

Post by XRaptor »

Hmm, zlib library doesn't work for this. I thought zlib IS deflate.
wordhg
advanced
Posts: 49
Joined: Tue Oct 15, 2013 1:21 am
Has thanked: 23 times
Been thanked: 1 time

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

Post by wordhg »

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: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

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

Post by XRaptor »

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?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

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

Post by chrrox »

the difference is the window size i think 15 and -15
User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

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

Post by XRaptor »

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: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

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

Post by XRaptor »

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: 49
Joined: Tue Oct 15, 2013 1:21 am
Has thanked: 23 times
Been thanked: 1 time

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

Post by wordhg »

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 »

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: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

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

Post by XRaptor »

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 »

Oh, i thought it's just different compression method
Post Reply