CHollingworth / Lampray

Linux Application Modding Platform. A native Linux mod manager.
https://www.nexusmods.com/baldursgate3/mods/2169
The Unlicense
174 stars 16 forks source link

feat: Re-enable rar support #144

Closed SnazzyPanda closed 3 months ago

SnazzyPanda commented 3 months ago

This re-enables attempted support for .rar files. It will attempt to decompress with Rar5 first, and fallback to the older Rar method if that fails.

If both methods fail, the user will get an error notification with the error messages from both attempts.

I tested with the main .rar files from https://github.com/ssokolow/rar-test-files. This successfully extracted the testfile.rar5.rar file, but still fails on the testfile.rar3.rar file, so support will probably still be spotty.

CHollingworth commented 3 months ago

Ill tentatively re-add this for 2.0. seems to fail on some of my test files but some support is better than none!