EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Roman on 28 November 2023, 18:16

Title: clrmamepro 4.048d released
Post by: Roman on 28 November 2023, 18:16
4.048d
fixed: softwarelists can lack some possible mergings
fixed: possible assertion during delta checks

Title: Re: clrmamepro 4.048d released
Post by: Dirstac on 21 December 2023, 01:21
Add Zstandard support for zip archives and CHDs
https://github.com/mamedev/mame/pull/11827

MAME adds zstabdard support, will cmp consider supporting this compressor?
Title: Re: clrmamepro 4.048d released
Post by: Roman on 21 December 2023, 07:49
well....for chds it won't play a role since decompression is only done when the belonging option is activated and then chdman is used.

For zips it would mean that the data inside the zip uses a different compression mechanism while the general zipstructure is the same, so reading shouldn't be a problem too.

When it comes to testing or unpacking it depends if ZipArchive (the used 3rd party library) is able to work with it which I haven't tested yet. When it comes to adding files to an archive, most likely a standard mode is used so that the newly added file inside the archive won't be Zstandard anymore (unless a direct copy of compressed data is used). The same applies to the new scanner/rebuilder where you might have the chance that bit7z (which reuses 7z) might already be able to decompress/compress Zstandard compressed files inside zips....have to check that. I can contact the authors of both to see if such a feature (if missing) can be added in a future release.
Title: Re: clrmamepro 4.048d released
Post by: Dirstac on 21 December 2023, 09:13
Okay.
Title: Re: clrmamepro 4.048d released
Post by: Roman on 21 December 2023, 10:42
would be nice however if someone prepares a zip file with some zStandard compressed files in it...would save me some time :-)
Again: we don't talk about .zstd files but zip with zStandard compression method.
Title: Re: clrmamepro 4.048d released
Post by: haynor666 on 12 January 2024, 20:38
I did some tests with 7zip that has zstandard built. zstandard appears to be a sometimes a little bigger sometimes a little smaller with comparison to 7z ZLMA2. RAR it's even again a little bigger than zstandard or 7zip but it's faster.

https://mega.nz/file/801HzBSD#dWS5qbyqgqiY2mzgEeaV_wgNHztjsgcMEyv2PCYxEqI
Title: Re: clrmamepro 4.048d released
Post by: Roman on 13 January 2024, 10:09
Thanks, I will have a look
Title: Re: clrmamepro 4.048d released
Post by: Roman on 23 January 2024, 17:06
I've contacted the author of ZipArchive and there is a good chance that zStandard will be included.
Don't know if I add a workaround (maybe via unrar.dll, have to check that) before that but I doubt that users need the support for zips (chds come for free...) so quickly...
Title: Re: clrmamepro 4.048d released
Post by: haynor666 on 23 January 2024, 18:03
I was curious about new compressor so after tests I added example file because You ask it :)
Personally I'm more interested in chds delta since it saves a lot more space. Besides we already have support for rar and 7z in MAME so zstandard won't change to much I think.
Title: Re: clrmamepro 4.048d released
Post by: haynor666 on 17 February 2024, 10:26
Latest 7-Zip beta does have included zstandard compression method.