Page 1 of 1

XAD plugin and RAR archives

Posted: Wed Feb 03, 2021 3:26 pm
by jPV
xad.hwp seems to fail to open any RAR archives on MorphOS with the 3rd party XAD client, even when the same archives can be opened with XADUnFile, XADopus, and Ambient. When trying with xad.hwp it doesn't seem to recognize the archive and a hit appears in the MorphOS debug log.

Reproduce it, for example, with this file:
https://files.scene.org/get:nl-https/mi ... estral.rar

And this code:

Code: Select all

@REQUIRE "xad", {InstallAdapter = True}

f$ = FileRequest("select a rar archive")

; Either of these fail to open a rar and make a hit:
OpenDirectory(1, f$)
;CopyFile(f$, "ram:")
;xad.OpenArchive(1, f$) 

Re: XAD plugin and RAR archives

Posted: Sun Feb 07, 2021 9:48 pm
by airsoftsoftwair
Ok, I can confirm that. Will see what's wrong there.

Re: XAD plugin and RAR archives

Posted: Sun Feb 14, 2021 9:53 pm
by airsoftsoftwair
So I think this is a bug in the external RAR client for MorphOS. It occurs on the non-Amiga platforms too because I think the external XAD RAR client for MorphOS is built from the same sources as the one I use on all non-Amiga platforms. I've tried to reach out to Fabien Coeurjoly but didn't get a reply. I've fixed it in the XAD RAR client that is inbuilt in the XAD plugin on all on-Amiga platforms but of course this won't solve your problem on MorphOS...

Code: Select all

- Fix [Non-Amiga]: Some RAR files crashed the plugin