Welcome, Guest. Please login or register.

Author Topic: 7zip vs. lha  (Read 6695 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show all replies
Re: 7zip vs. lha
« on: September 30, 2011, 01:17:19 AM »
Quote from: Piru;661878
For best results you can lha/lzx with no compression and compress the resulting archive with 7z/lzma/xz. That way the amiga attributes are preserved while also getting the best compress ratio.


Yea, Linux users do something similar to preserve file attributes and directory structure. I believe they commonly use tar and then 7z.

 @ChaosLord
I have used Piotr Bardurski's 7za 9.13 (06/07/10) with 'x' for extraction without noticing any problems here. I have tried the xad module for 7z off of Aminet and it was VERY buggy and didn't recognize the 7z files I tried. It would be great to have a 68k xad 7z client. I have "xad UnFile", "xad UnDisk" and "xad List" in Diskmaster which makes the Linux multiple compressed files easy except for 7z and RAR :(. I normally keep using "xad UnFile" on them until they are extracted without worrying about what format they are in.
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show all replies
Re: 7zip vs. lha
« Reply #1 on: October 02, 2011, 05:42:02 PM »
@Chris
It works now! Maybe I had tried an older version or maybe it was a different xad driver altogether that gave me problems before. Awesome! Recommended! Thanks!

Here's the Aminet link for everyone...

http://aminet.net/util/arc/xad_7z.lha
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show all replies
Re: 7zip vs. lha
« Reply #2 on: October 13, 2011, 03:16:10 AM »
@chris
xadUnFile is back to crashing with your xad_7z installed again. I consistently get "Exception 6: chk instruction" with PC=$2e. I tried using MuForce but the system freezes when I do with no hits before it does. xad_7z worked the first time I installed it and rebooted but crashes now with the same archive. There's plenty of stack for xadUnFile according to Scout.

I used BDebug to catch a crashed task and it looks like there is a branch to PC=8 first. Back tracking from the last stack entry, I find xad_xfd+$3f0 doing a jsr to exec/OpenLibrary() opening xfdmaster.library version $26. I don't see any problems with the xad_xfd code. Removing xad_7z from Libs:xad/ stops the crashes. I'm surprised no one else has reported this problem. Versions used are...

xadmaster.library 12.1
xad_7z 2.4
xad_xfd 1.1
xadUnFile 1.25

My setup is a 3000T with CSMK3 68060 using AmigaOS 3.9.
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show all replies
Re: 7zip vs. lha
« Reply #3 on: October 13, 2011, 04:53:16 PM »
Quote from: chris;663398
xad_xfd 68k version definitely doesn't work, remove it and see if that also stops xad_7z crashing.


You are right Chris. I removed xad_xfd and xad_7z is working again. It's odd that xad_7z worked with the bugged xad_xfd when I first installed it. Thanks again.