this post was submitted on 17 May 2026
43 points (93.9% liked)

Linux

65349 readers
477 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

Any way to compress game files on linux? I know that all games vary, content vary and so on, but is there any things i can look out for in like an average steam game which I can compress, and the game can still run fine, tools or programs or anything?

you are viewing a single comment's thread
view the rest of the comments
[–] Quazatron@lemmy.world 16 points 1 day ago (2 children)

This is how I do it. I put my Steam directory in an external BTRFS drive with compression turned on. Works great, and allows me to take my library between computers.

[–] BluescreenOfDeath@lemmy.world 5 points 17 hours ago

You'd get even more savings using something like bees because it does block level deduplication.

What bees does is build a hash table of every block on your ssd, and compares them. If it finds any matches, it will delete one and just place a pointer to the other where the deleted one was, the pointer being much smaller than the duplicate data block.

Functionally, any installed games with shared assets get space savings. It's particularly helpful on with Steam games because of all the proton prefixes. Lots of opportunities for finding duplicate data blocks.

If you use snapshots, it can save even more.

[–] wltr@discuss.tchncs.de 4 points 1 day ago (3 children)

Have you measured the difference? Is it huge? I’m curious to understand what the trade-offs are and how many more games can you store on the same drive.

[–] GnuLinuxDude@lemmy.ml 1 points 2 hours ago* (last edited 2 hours ago)

Depends on the game. A title like dota will have a lot of savings (tens of gigabytes last I checked it). Most other games it seems don’t have obviously and easily compressible assets from a generic compression algorithm, and therefore will yield extremely minor savings.

Checked some installed games. DotA is down to 36 gb from 67. Almost 54% the original size.

RoboCop rogue city is 37->37gb. Negligible savings.

[–] eager_eagle@lemmy.world 1 points 3 hours ago

Btrfs is usually last in perf benchmarks, so I wouldn't do it myself

[–] Quazatron@lemmy.world 4 points 1 day ago (1 children)

My main goals are efficient space usage and portability, so I've never measured anything. I'll get some stats for you.

[–] wltr@discuss.tchncs.de 2 points 1 day ago (1 children)

I would appreciate even not very accurate comparison just to get the idea. A brief search meanwhile showed me it’s a great idea actually. But having someone who uses that to comment would be great too. Thanks.

[–] Quazatron@lemmy.world 1 points 1 hour ago

I'll be away for a while, but I'll get some stats, because now I'm also curious.