@Synchronicity
Thanks for your great job. Recently I performed a wim optimization to my old wim file generated by imagex using XPRESS compresion with default parameters. The solid mode parameters I used are same as the default of esd file, with LZMS method and 64MB chunk size. However, either using imagex or wiminfo to parse the optimized file, the returned compress method and chunk size kept unchanged as the original file. And the optimized file can only be apply by wimlib. Imagex throw an error indecated an error input file.
Could you please fix it?
Best regards
gyakkun
Optimization in solid mode doesn't update some metadata
-
- Site Admin
- Posts: 473
- Joined: Sun Aug 02, 2015 10:31 pm
Re: Optimization in solid mode doesn't update some metadata
In the WIM file format, the solid compression type(s) and solid chunk size(s) are separate from the main compression type and chunk size. So in this case, to match a DISM-created /compress:recovery file exactly you'd need to explicitly change the main compression type to LZMS and the main chunk size to 128k:
In retrospect I probably should have kept made the basic syntax work like the DISM /compress option, to hide this quirk. But this is how it works now.
Code: Select all
wimoptimize --compress=lzms --chunk-size=128k --solid
-
- Site Admin
- Posts: 473
- Joined: Sun Aug 02, 2015 10:31 pm
Re: Optimization in solid mode doesn't update some metadata
https://wimlib.net/git/?p=wimlib;a=comm ... cc27ccbf52 makes 'wimoptimize --solid' work as expected.