English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 28 January 2016, 00:02   #1
zzap64
 
Posts: n/a
Open Multi Write Lha Archive on Windows

I've created a couple of archives directly on my Amiga using lha_68040 ( a fairly recent version).

One archive was System and the other Work so pretty big. I'm basically backing up an A1200 I inherited.

There was a couple of crashes and files not read, so I had to restart. Lha skipped over the done files and started adding the new ones.

However, when using 7-zip on Windows, it only sees the files archived on the first round and complains of a CRC error.

I downloaded WinRAR and it's the same story with that.

Now I could redo the archives on the Amiga side, but they took about 10 hours to do with restarts etc. so I'd rather not!

So is there a Lha unarchiver on the PC side that can handle archives that have been written to more than once?

The archives themselves do seem okay, I ran them through lha with the -t flag on the Amiga side and all the files came up okay.

Thanks,
 
Old 28 January 2016, 10:12   #2
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
There is also a command-line version of Lha for Windows/DOS - it might be worth trying that.
Daedalus is offline  
Old 28 January 2016, 10:53   #3
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Quote:
Originally Posted by zzap64 View Post
However, when using 7-zip on Windows, it only sees the files archived on the first round and complains of a CRC error.
I've seen Lha creating archives with CRC errors if you add a lot of files at once, even if it runs without a crash. Test the archives with the Amiga version of Lha. There may be a few single files with CRC errors. You can remove and re-add them which should take less time than to create the entire archive again (with the risk of getting CRC errors again).

You should consider making archives with fewer files. For example one per directory.

I've also had success with creating an uncompressed archive and then compress the entire archive at once into another archive.

Last edited by thomas; 28 January 2016 at 11:19.
thomas is offline  
Old 28 January 2016, 14:29   #4
zzap64
 
Posts: n/a
@Daedalus I'll have a look for that, unless you have a link handy?

@thomas I did test on the Amiga with -t and they were okay.

If I have to do it again I think I will do it uncompressed for speed. I probably should do a few main folders at a time but I was a bit too lazy to research the arguments.
 
Old 28 January 2016, 16:39   #5
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
If the archive is ok with Lha, you could use Lha in WinUAE to restore it into a HDF at high speed and recreate it in one go without crash at the same high speed.
thomas is offline  
Old 29 January 2016, 14:39   #6
zzap64
 
Posts: n/a
Quote:
Originally Posted by Daedalus View Post
There is also a command-line version of Lha for Windows/DOS - it might be worth trying that.
I tried that (Google pointed me to a message by you actually on this board: http://eab.abime.net/showthread.php?t=63388) and got a bad table error and then it crashed.

So back to the Amiga and try again with no compression... You'd think with a 060 in the machine it wouldn't take so long, the problem is nearly the files that are compressed already, lha takes it time trying to compress them and then giving up and continuing with other files.
 
Old 30 January 2016, 12:36   #7
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,348
Well, by Thomas actually But I have the PC version floating around so long I've no idea where I got it. That's unfortunate. Another thing that you might check (and is easy to check) is the Max Transfer setting for the partitions you're using. Large files can be corrupted if that's set inappropriately for the interface. For the A1200's internal IDE connection, it should be 0x1FE00.

Other than that, Thomas' suggestion of uncompressed is the way to go, especially if the files are already compressed using some other compression (MP3, JPEG etc.). Lha isn't going to be able to do anything much with them so I wouldn't bother trying.
Daedalus is offline  
Old 01 February 2016, 17:30   #8
ma693541
Computer Wizard
 
ma693541's Avatar
 
Join Date: Aug 2007
Location: Ramberg/Norway
Posts: 928
Open/Extract LZH/LHA File with Freeware on Windows/Mac/Linux

Easy 7-Zip opens/extracts LZH/LHA file easily on Windows. The Easy 7-Zip was developed based on 7-Zip. 7-Zip is a famous open source file archiver. The Easy 7-Zip is an easy-to-use version of 7-Zip. The open source freeware keeps all features of 7-Zip and adds a few useful features that makes the software more user-friendly.
Easy 7-Zip works on Windows 8.1/8/7/Vista/2008/2003/XP/2000 (both 32-bit and 64-bit compatible).

I have not tested it myself, but give it a try, zzap64. If it works on Windows 8.1, it should works on Windows 10.
ma693541 is offline  
Old 05 February 2016, 13:14   #9
zzap64
 
Posts: n/a
Thanks, 7-zip was my first attempt but it didn't like the multi write archives either.

Anyway, I removed the CF HD to my A1200 where it's nice and stable and just redid the two archives with no compression. It didn't take too long and now I have 2 lha archives that can open on any of the PC lha programs.

I then compressed the lhas into a zip on the PC, which I feel a bit dirty about! ;-) It was rather quick though. :-D
 
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADF Utilities on Windows to read/write tracks/bootloader algorithm Coders. Releases 1 16 December 2014 10:34
how write back .adf files on floppy from inside windows se8820726 support.Apps 9 25 September 2014 06:06
A600 - write big files readable in a Windows laptop Photon support.Hardware 19 09 January 2011 22:53
MagicMenu 2.35 LHA Archive Leandro Jardim request.Apps 6 25 August 2010 01:49
Recovering LhA archive from raw filesystem (DiskSalv failed) lem79 support.Other 10 28 May 2009 03:03

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:47.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10557 seconds with 13 queries