well this section said post file archives you dont know about.
iv been playing "darkest of days" good game.
iv decided that the wepons will be nice in fallout3 but iv done some research into the file types & absoulutly nothing has come up. dos anyone know anything thay can share with me
i can post one some if anyone wants to mess with it.
Cage is archive format, zlib compressed blocks, filenames preceding data blocks (null terminated).
zstring file_name
dword file_uncompressed_size
dword file_compressed_size
. dword block_uncompressed_size
. dword block_compressed_size
. byte[block_compressed_size] block_data
. repeat until end of file_compressed_size
repeat until end of cage file.
So simple a caveman could do it.
Last edited by Rick on Thu Sep 10, 2009 11:11 pm, edited 1 time in total.
Rick wrote:Cage is archive format, zlib compressed blocks, filenames preceding data blocks (null terminated).
zstring filename dword total_uncompressed_size
dword total_compressed_size
. dword block_uncompressed_size
. dword block_compressed_size
. byte[block_compressed_size] block_data
. repeat until end of total_compressed_size
repeat until end of cage file.
So simple a caveman could do it.
So they repeat the Bigfiles entire size for every file in there? arent that kinda weird
aww nevermind i misread
im new at this so just one question..
Do i need to unpack each block seperately then and merge them afterwards?
Again.. found it out myself.. Extracted my first wav
nikitatp wrote:So they repeat the Bigfiles entire size for every file in there? arent that kinda weird
aww nevermind i misread
im new at this so just one question..
Do i need to unpack each block seperately then and merge them afterwards?
Again.. found it out myself.. Extracted my first wav
Yes I wasn't clear, that was total of the file data, not archive. Good work!
well basicly you can just cut out a file and use a zlib decompressor on it
the actually zlib packed file starts with ASCII xæ in a hex editor or HEX 78 9C
End of string filename +18 bytes and then the compressed file runs from the xæ mark
all the way to the next filename string.. If you cut that out and save to a new file
you can use a zlib depacker on that file. and bang your good to go.
Anyone knows if there are some freeware fast loading activex binary editor (non-visual)
the one integrated in my language is slow as hell as long files gets over 50mb
if you posted the files someone could write a decompreessor ibn 2 seconds or if you do not care about file names just use
offzip.exe -a filename output 0x0
that will extract every zlibed file in the archive for you.
Hey nikita, what archive were the wav's in? Do you know where the music was? The 360 version has a music folder but my copy seems to have been damaged in the music folder. Will take a look at the PC version.
the music and sounds are in the level/map files.. Seems they packed the sounds and music to be used in a map in the actual map.. Allthough this means some of the audio is there like 10 times.. Bad way of doing a game, why spend more space than they actually needs would be nice with an unpacker to see if the game would run out of the cage, with a simple directory structure, and thereby save alot of space.