The Forum is up for sale: XeNTaX Forum looking for new owner

Cannon Fodder 3 .pck0 archives

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
Sartr0n
advanced
Posts: 50
Joined: Mon Nov 14, 2011 1:13 pm
Has thanked: 1 time
Been thanked: 2 times

Cannon Fodder 3 .pck0 archives

Post by Sartr0n »

The contents of this post was deleted because of possible forum rules violation.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Cannon Fodder 3 .pck0 archives

Post by chrrox »

Code: Select all

idstring "SFKP"
get unk long
get files long
get unk long
for i = 0 < files
get hash long
getdstring NAME 0xF0
get offset long 
get zsize long
get size long
if zsize == size
log NAME offset size
else
clog NAME offset zsize size
endif
next i
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Cannon Fodder 3 .pck0 archives

Post by aluigi »

I wrote the script for this game various days ago, I inserted it in the other_bms_scripts.zip package:
http://aluigi.org/papers/bms/other_bms_scripts.zip

my doubt is about the log/clog function, are we sure that some files aren't compressed?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1411 times

Re: Cannon Fodder 3 .pck0 archives

Post by chrrox »

no i just put it there in case.
dint know it was already done sorry
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: Cannon Fodder 3 .pck0 archives

Post by aluigi »

eh eh eh sorry of what?
it was impossible to know that the zip contained the script.

I need to find an alternative way for the scripts in others_bms_scripts.zip otherwise they can't be indexed and found by the people...
Post Reply