Closed devicarus closed 5 months ago
Other archive formats are pretty fringe. I've personally only seen RAR being used by WoWI more than 10y ago now - which host is it that distributes add-ons as RAR files?
Thanks for the quick response! Just a few Mediafire links I found on a forum, unfortunately all RARs. Asked on Matrix and @seirl said he did a hack for it in his plugin, but would also prefer it being directly supported.
I definitely don't think instawow should support RAR out of the box, just have a universal wrapper like patool
so if the plug-in developer supplies the required helper application (e.g. unrar
in this case probably) - they can use it :)
I don't wanna take on patool as a dependency, but I can add the ability to override the archive opener on a resolver basis.
Released in v3.3.0.
Wanted to write a plug-in but unfortunately the addons are only hosted as RAR archives by the provider, I'd be great if instawow supported it besides ZIP.
I looked at the code and seems like replacing the ZipFile lib here with something more universal like patool (also supports TAR, GZIP, 7z, ...) should do the trick?
Let me know what you think :)