-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Zstandard support for zip archives and CHDs #1613
Comments
fbneo doesn't support chd at all. |
@crashGG Sorry for the late answer, it seems i totally overlooked this issue. |
In addition to mame, many emulators have recently added zstd decoding support. This seems to be a trend. |
A few weeks ago, i've seen the maintainer of the mame libretro core complaining about that stuff, he couldn't build it with the standard libretro buildbot because it was apparently too outdated. Is any of those emulators you are talking about available on winxp, 3ds, psvita, wiiu, ps3, ... ? |
Maybe could consider trying to add for libretro port, which runs more on modern computer and operating systems |
Igor Pavlov has written his own zstandard decoder for 7-zip for the reason of supporting old compilers (7-zip itself is compiled with VS2005) |
I noticed that zlib was recently updated to the latest version, so maybe could simply use zlibwrapper to get zstd support based on that. |
Igor has since released his old-compiler friendly decoder as BSD 3-Clause. https://github.com/ip7z/7zip/blob/main/C/ZstdDec.c |
This is an open-source project, feel free to open a PR with those changes after testing them on all platforms. |
In a recent update, mame added zstd encoding/decoding support for zip and chd.
mamedev/mame@05e69b4
The compression rate of zstd is between deflate/zlib and lzma,but decompression speed is faster ,somtimes even than direct copying
https://mcmilk.de/projects/7-Zip-zstd/dl/compr-v120.png
https://mcmilk.de/projects/7-Zip-zstd/dl/decomp-v120.png
Fast decompression means efficiency and low CPU overhead. This benefits all players and low-end devices.
The text was updated successfully, but these errors were encountered: