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

Compressed game files

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Compressed game files

Post by zaramot »

Hello guys!
I need a help with decompressing those files, compression type should be oodle. Though, unfortunatelly I can't do anything with them, something might be wrong with them! I'll be very grateful if anyone could give me a tip or advice. Thanks :)
You do not have the required permissions to view the files attached to this post.
Making model-import scripts, PM
Spiritovod
mega-veteran
mega-veteran
Posts: 181
Joined: Sun Oct 10, 2010 9:44 pm
Has thanked: 35 times
Been thanked: 162 times

Re: Compressed game files

Post by Spiritovod »

If it's really oodle blocks, around last 7 bytes from blocks are not actual part of them, second byte doesn't represent supported compression scheme (it should be around 1-12) and you didn't provide output sizes for samples - oodle decoder doesn't have safe api to process block partially if input/output sizes are incorrect, and guessing it not an option unless you're trying to brute-force them.
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Compressed game files

Post by zaramot »

Good to know that they are indeed compressed with oodle! It's giving some hope :) Files came from bigger archive, maybe it will help more https://www.mediafire.com/file/dl0a0w5p ... 00.7z/file
Making model-import scripts, PM
Spiritovod
mega-veteran
mega-veteran
Posts: 181
Joined: Sun Oct 10, 2010 9:44 pm
Has thanked: 35 times
Been thanked: 162 times

Re: Compressed game files

Post by Spiritovod »

@zaramot: Such containers are extractable, but without filenames (names table is either encrypted or it's hashes table). What's the game name?
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Compressed game files

Post by zaramot »

I sent you PM :) I don't care much about filenames - of course it's very cool to have them, though for me personally only clear and decompressed data is important!
Making model-import scripts, PM
Spiritovod
mega-veteran
mega-veteran
Posts: 181
Joined: Sun Oct 10, 2010 9:44 pm
Has thanked: 35 times
Been thanked: 162 times

Re: Compressed game files

Post by Spiritovod »

Here is script for extracting files from such containers. May not work for other containers though, it's hard to guess things from only one sample.

fh_extract.zip
You do not have the required permissions to view the files attached to this post.
SubZer0
ultra-n00b
Posts: 9
Joined: Wed Dec 22, 2021 8:57 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Compressed game files

Post by SubZer0 »

Sorry to hijack this post but i guess i also have file with similar compression.
Seems like script not working on it.

Is it possible to extract attached file "Spiritovod" .
(I zip file to attached , you find main file which i wanted to extract inside it)
You do not have the required permissions to view the files attached to this post.
Spiritovod
mega-veteran
mega-veteran
Posts: 181
Joined: Sun Oct 10, 2010 9:44 pm
Has thanked: 35 times
Been thanked: 162 times

Re: Compressed game files

Post by Spiritovod »

@SubZer0: It's just stack of oodle chunks of different sizes with no info about output sizes, so it's not possible to do anything with them. You need more data to process them, it may be somewhere in the file (if it's a fragment) or in a separate related file. Anyway, it's not related to the format used by the game discussed in this topic.
SubZer0
ultra-n00b
Posts: 9
Joined: Wed Dec 22, 2021 8:57 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Compressed game files

Post by SubZer0 »

Spiritovod wrote: Thu Feb 23, 2023 2:58 pm @SubZer0: You need more data to process them, it may be somewhere in the file (if it's a fragment) or in a separate related file.
Sorry for off topic question.
Where do or how do i get this fragmented size related info.
Is there any knowledge base from where i can learn reading files like you.
SubZer0
ultra-n00b
Posts: 9
Joined: Wed Dec 22, 2021 8:57 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Compressed game files

Post by SubZer0 »

@Spiritovod : i found output size of all 7 files in that bin.

file 1 -1055 bytes
file 2 - 656 bytes
file 3 - 1130 bytes
file 4 - 1227 bytes
file 5 - 682 bytes
file 6 - 584 bytes
file 7 - 571 bytes

So can we make script which extract file from compressed bin if we know output?
Spiritovod
mega-veteran
mega-veteran
Posts: 181
Joined: Sun Oct 10, 2010 9:44 pm
Has thanked: 35 times
Been thanked: 162 times

Re: Compressed game files

Post by Spiritovod »

@SubZer0: Judging by contents, it seems you're trying to extract raw data from an UE package. UE packages, including io store packages (utoc/ucas) are supported in UE related tools like fmodel or umodel, it's better to try them out first. But, again, it has nothing to do with this topic.
Post Reply