1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

PSA: I compressed BeamNG folder and freed 20GB space

Discussion in 'General Discussion' started by default0.0player, Mar 22, 2025.

  1. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    2,057
    It's quite simple: Right click the folder, go to properties, click Advanced, select " Compress contents to save disk space", click OK, choose "affect all subfolders and files as well", click apply. Wait for 10~20minutes, then 20GB released.

    upload_2025-3-22_12-40-21.png
     
    • Like Like x 1
  2. SuperEmbracer

    SuperEmbracer
    Expand Collapse

    Joined:
    Sep 12, 2016
    Messages:
    321
    Nice! Is there any performance impacts when playing BeamNG in this manner? Like, since the game has to do more work with decompressing things.
     
  3. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    2,057
    No noticeable impact, actually it can be beneficial.

    File compression speed is largely determined by algorithm. I tested via 7-zip compressing the game manually to .7z using LZMA2 compression and .zip using DEFLATE compression, for the former the CPU is maxed out and compression is slow, but the resulted file is smaller, for the latter the disk read/write is maxed out and the compression is super fast, the resulted zip file is only slightly larger than 7z.

    In other words, creating zip files without compression (as in BeamNG's numerous zip files) have identical speed compared to DEFLATEing the files(in properties or creating zips), the latter is actually faster as the resultant file size is smaller

    Windows' NTFS filesystem defaults DEFLATE compression when you compress the files and folder via Properties setting. Since the compression speed is already capped by disk, the less-CPU-intensive decompression is also capped by disk. In addition to that, you only need to compress it once. BeamNG's high CPU utilization is for physical calculation, when loading the game the CPU % drops as the bottleneck is disk. Compressing the disk files, at least using DEFLATE, makes the game both smaller on disk and faster upon loading.
     
    #3 default0.0player, Mar 22, 2025
    Last edited: Mar 22, 2025
    • Like Like x 1
  4. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    2,057
    Update replaced files to non-compressed version, had to deselect compression, apply, then select compression again

    EDIT: Happened on my laptop, didn't happen on my desktop, weird.

    Sunburst2 zip occupies less than half space when compressed
    upload_2025-4-3_14-46-56.png
     
    #4 default0.0player, Apr 2, 2025
    Last edited: Apr 3, 2025
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice