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?

  • wltr@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago

    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
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      15 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
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      11 hours ago

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

      in fact, I have regretted using btrfs because it made my laptop noticeably slower

      the phoronix benchmark posted in this thread uses artificial loads and doesn’t compare performance against other file systems, just compression on vs off for btrfs

    • Quazatron@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        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.