XAD plugin and RAR archives

Discuss about plugins that don't have a dedicated forum
Post Reply
User avatar
jPV
Posts: 600
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

XAD plugin and RAR archives

Post 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$) 
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: XAD plugin and RAR archives

Post by airsoftsoftwair »

Ok, I can confirm that. Will see what's wrong there.
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: XAD plugin and RAR archives

Post 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 
Post Reply