Windows 10 Compression

Discussion in 'Windows 10' started by Flipp3r, Apr 21, 2015.

  1. Bezalel

    Bezalel MDL Member

    Apr 30, 2012
    245
    28
    10
    #41 Bezalel, May 12, 2015
    Last edited by a moderator: Apr 20, 2017
  2. Soulfate

    Soulfate MDL Member

    Feb 14, 2011
    185
    51
    10
    So I've compressed all my games with XPRESS16K and everything works very well (and compression is quick !) : no performance loss noticed (even on HDD). It's a good compression :
    Lineage II: 16.9 GB -> 9.75 GB
    UT2004: 17.4 GB -> 9.94 GB
    Skyrim: 37.7 GB -> 27.9 GB
    The Sims 3: 38.7 GB -> 34.3 GB (ratio is not enough good to be relevant...)

    I've noticed that there is no flag for folders, so if I create a new file into a folder that has been compressed, the new file is not compressed. I hope that it will be fixed.

    Try it for GTA V ;)
     
  3. Camis

    Camis MDL Novice

    Jul 25, 2009
    25
    0
    0
    #43 Camis, May 18, 2015
    Last edited by a moderator: Apr 20, 2017
    Great results:

    Code:
    D:\Games\Steam\steamapps\common\The Witcher Enhanced Edition\Data>compact textures
    00.bif /c /f /exe:xpress16k
    
     Compressing files in D:\Games\Steam\steamapps\common\The Witcher Enhanced Edition
    \Data\
    
    textures00.bif      2039561299 : 1022930944 = 2,0 to 1 [OK]
    
    1 files within 1 directories were compressed.
    2*039*561*299 total bytes of data are stored in 1*022*930*944 bytes.
    The compression ratio is 2,0 to 1.
    
    How to compress entire folder with game ?.
     
  4. shawnmos

    shawnmos MDL Member

    Oct 27, 2007
    177
    6
    10
    Is compression worth the trouble on a clovertrail tablet with 64gb? From what I've gathered from this thread it may speed up reading the files from the slow flash drive, but I don't know if the atom can handle uncompressing files.
     
  5. Soulfate

    Soulfate MDL Member

    Feb 14, 2011
    185
    51
    10
    #45 Soulfate, May 18, 2015
    Last edited by a moderator: Apr 20, 2017
    Code:
    pushd "D:\Games\Steam\steamapps\common\The Witcher Enhanced Edition"
    compact /c /s /exe:xpress16k
     
  6. Camis

    Camis MDL Novice

    Jul 25, 2009
    25
    0
    0
    #46 Camis, May 19, 2015
    Last edited by a moderator: Apr 20, 2017
    Not working:

    Code:
    D:\>pushd "D:\Games\Steam\steamapps\common\The Witcher Enhanced Edition" compact /
    c /s /exe:xpress16k
    The system cannot find the path specified.

    Code:
    D:\Games\Steam\steamapps\common>dir
     Volume in drive D is Dane
     Volume Serial Number is ****-***D
    
     Directory of D:\Games\Steam\steamapps\common
    
    19.05.2015  02:03    <DIR>          .
    19.05.2015  02:03    <DIR>          ..
    23.04.2015  09:47    <DIR>          BGT
    26.04.2015  14:22    <DIR>          Borderlands
    05.03.2015  02:31    <DIR>          Counter-Strike Global Offensive
    16.05.2015  12:10    <DIR>          The Witcher Enhanced Edition
                   0 File(s)              0 bytes
                   6 Dir(s)  39*254*855*680 bytes free
     
  7. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,328
    7,045
    210
    #47 Carlos Detweiller, May 19, 2015
    Last edited by a moderator: Apr 20, 2017
    Code:
    compact /c /s /exe:xpress16k
    That is a separate command. Do them one after another.
     
  8. tcmdl

    tcmdl MDL Novice

    Jun 22, 2011
    5
    1
    0
    I tried the compression in a vm on c:\windows\winsxs, and I could no longer boot:

    Your PC/DEvice needs to be repaired
    The operating system couldn't be loaded because the kernel is missing or contains errors.
    File: \Windows\system32\ntoskrnl.exe
    Error code: 0xc0000098
     
  9. alexwilson

    alexwilson MDL Junior Member

    Oct 8, 2014
    86
    34
    0
    This is my guess: most files in windir are hardlinks to winsxs. When you compress winsxs, you effectively compress System32\ntoskrnl.exe too which leads to this error.
     
  10. Soulfate

    Soulfate MDL Member

    Feb 14, 2011
    185
    51
    10
    You're right, it is.

    We have to list files that have to be uncompressed to allow Windows to boot.
     
  11. xinso

    xinso MDL Guru

    Mar 5, 2009
    12,647
    13,665
    340
    #51 xinso, May 20, 2015
    Last edited: May 20, 2015
    My PC 10074 x64:

    \Windows\System32\hal.dll

    \Windows\System32\ntoskrnl.exe
     
  12. Superfly

    Superfly MDL Expert

    Jan 12, 2010
    1,143
    543
    60
    Off topic... but I can't seem to find a working link for ...

    wimlib-1.8.1-windows-x86_64-bin.zip
    58864bca6c20f255277a0998f2842c132da9cdee

    Has anyone managed to get this? If so which link?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Shenj

    Shenj MDL Expert

    Aug 12, 2010
    1,556
    656
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,964
    907
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,964
    907
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Superfly

    Superfly MDL Expert

    Jan 12, 2010
    1,143
    543
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Shenj

    Shenj MDL Expert

    Aug 12, 2010
    1,556
    656
    60
    On sourceforge you have the option to chose different servers on the download page so you can change to a different if it doesn't work, just remember that :p

    "Problems with the download? Please use this direct link, or try another mirror." :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Superfly

    Superfly MDL Expert

    Jan 12, 2010
    1,143
    543
    60
    Ya, I know - I went all over the world...even set FDM to search for mirrors as well - it also bombed a few times trying them.

    My ISP is a bit flaky though.

    Thanx anyhow.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. bytestar

    bytestar MDL Junior Member

    Oct 30, 2008
    51
    5
    0
    #59 bytestar, May 20, 2015
    Last edited by a moderator: Apr 20, 2017
    This command would work, each command is executed individually.
    You must use & between each command.

    pushd "D:\Games\Steam\steamapps\common\The Witcher Enhanced Edition"&compact /c /s /exe:xpress16k


     
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,194
    84,731
    340
    #60 abbodi1406, May 26, 2015
    Last edited by a moderator: Apr 20, 2017
    Build 10125 has a new parameter for compact.exe
    Code:
    COMPACT /CompactOs[:option]
    
    Set or query the system's compression state.  Supported options are:
     query  - Query the system's Compact state.
     always - Compress all OS binaries and set the system state to Compact
                  which remains unless administrator changes it.
     never   - Uncompress all OS binaries and set the system state to non
                 Compact which remains unless administrator changes it.