FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   How To Find Game Compression Algorithm? (https://fileforums.com/showthread.php?t=106956)

Ruman 24-01-2026 05:18

How To Find Game Compression Algorithm?
 
Is there anything better than Game File Scanner to find game compression algorithms? I have GFS, but is there anything better to scan game files to choose the game compression algorithm?

L33THAK0R 24-01-2026 17:44

Research on the given file-type/title, and analysis of a files header are pretty good starting points. This topic might be a good starting point. If you're tackling any modern title post-2020, the vast majority of titles aren't going to be very interesting, zlib/deflate/lz4/lz4hc/lzma/lzo/zstd/oodle are going to be the algorithms you'll find most of the time, most of the time xtool can handle these out-of-the-box, or with a plugin. There are some exceptions but, at least for the time being Godot/Unity/Unreal are the engines most titles opt to use. Thankfully some indies and larger studios/publishers still use/develop their own in-house engines which give you something more interesting to work with.

It's the variants that will give you some trouble (i.e. the 2009 avatar title, The Surge series (LZ4 implementation isn't custom, just a bit funky), Far Cry 2, State of Decay 2, Sleeping Dogs, to name a few off the top of my head) these will require you to either create your own tools/solution or forgo processing the streams altogether.

Ruman 26-01-2026 02:24

Quote:

Originally Posted by L33THAK0R (Post 509270)
Research on the given file-type/title, and analysis of a files header are pretty good starting points. This topic might be a good starting point. If you're tackling any modern title post-2020, the vast majority of titles aren't going to be very interesting, zlib/deflate/lz4/lz4hc/lzma/lzo/zstd/oodle are going to be the algorithms you'll find most of the time, most of the time xtool can handle these out-of-the-box, or with a plugin. There are some exceptions but, at least for the time being Godot/Unity/Unreal are the engines most titles opt to use. Thankfully some indies and larger studios/publishers still use/develop their own in-house engines which give you something more interesting to work with.

It's the variants that will give you some trouble (i.e. the 2009 avatar title, The Surge series (LZ4 implementation isn't custom, just a bit funky), Far Cry 2, State of Decay 2, Sleeping Dogs, to name a few off the top of my head) these will require you to either create your own tools/solution or forgo processing the streams altogether.

Actually, I'm a newbie. Is there an easier tool like GFS where I can scan an entire game with just one click? I tried GFS, but it works fine on older games while newer ones get stuck at a point, freeze, wait a long time, and then permanently hang.

Masquerade 26-01-2026 11:34

Quote:

Is there an easier tool like GFS where I can scan an entire game with just one click?
Nope, the best you'll get is being able to recognise the compression algorithms using a hex editor and looking for magic numbers / header structures.


All times are GMT -7. The time now is 04:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com