EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Viceroy1073 on 03 September 2022, 08:10

Title: 7z archives
Post by: Viceroy1073 on 03 September 2022, 08:10
Does anyone know why Clrmamepro never deletes files from 7z achieves when rebuilding? It rebuilds the files fine? The files are removed OK on Zip & Rar files?
Title: Re: 7z archives
Post by: Roman on 03 September 2022, 08:13
Deletion in 7z archives works fine here.

Maybe double check your Settings->Compressor->7z settings. The default value for Delete is: d -y -ms=off -mx9 %1 %2

Maybe you're using solid archives, then you may have to adjust the command line parameters.
Title: Re: 7z archives
Post by: Viceroy1073 on 03 September 2022, 11:31
Thanks for prompt reply, I've checked my settings and they are exactly like you said.
I'm not sure what solid archives are? Any fixes that are posted using 7z will not delete?
Title: Re: 7z archives
Post by: Roman on 03 September 2022, 11:53
Solid archives are archives where you need to recompress the full archive when you do an add or delete action on it. They are usually smaller than the not-solid variant but require more effort on updating. Users which want to minimize the archives as much as possible tend to use solid archives.

However, I've just tested a solid and a non solid 7z archive and removal works in both cases.

So you should check if you got an up2date 7z (I'm using 7-Zip 22.01) and 7z.exe must be available via your %PATH% environment variable (or you specify the full path to it in compressor settings). If it still doesn't work for you, the archive in question might have a problem, you could try to use the commandline to manually run 7z.exe d -y -ms=off -mx9 archivename file_in_archive on it to see if this is working.
Title: Re: 7z archives
Post by: Viceroy1073 on 03 September 2022, 12:35
Thanks again, I'll try all the above later today ;-)
Title: Re: 7z archives
Post by: Viceroy1073 on 03 September 2022, 12:51
The 7z update fixed my problem, many thanks ;-)