[WIP] `libarchive`-based dearchiving
tests fail for ¯\_(ツ)_/¯ reasons
Dare I ask what this is for?
It supports more formats than SharpCompress.
I assume the particular format you're interested in is zstd, and you want to simplify our zstd use. Including making it so that zstd compressed files in our archives won't need the .zst extension anymore and can be edited via text editor more easily.
I don't even know what you're suggesting.
My goal here is to use the de facto standard library for working with archives, and in doing so add support for .tar.gz, .tar.bz2, .tar.lz, and sure why not .tar.zst.
https://github.com/TASEmulators/BizHawk/blob/db070b93bbe23a9ed0bb9c10f77958361863e9f7/src/BizHawk.Client.Common/SharpCompressDearchivalMethod.cs#L70-L80
My goal here is to use the de facto standard
Your goal is to "be like everybody else", then? Or is there any use case/feature that this enables, or issue that it fixes?
It doesn't look like you're actually using this new library anyway. I have no idea where or how you might intend to use it.
I would imagine opening games inside more types of archives would be the intended use-case. That is a useful feature.
Currently the dearchival method is set globally on program startup, so it would be a 1-line change to use only libarchive: https://github.com/TASEmulators/BizHawk/blob/db070b93bbe23a9ed0bb9c10f77958361863e9f7/src/BizHawk.Client.EmuHawk/Program.cs#L181
and in doing so add support for .tar.gz, .tar.bz2, .tar.lz, and sure why not .tar.zst
All of those are already supported by SharpCompress. At most they are just not supported within BizHawk's usage of SharpCompress.