English Amiga Board

Go Back   English Amiga Board > Support > New to Emulation or Amiga scene

Thread Tools
Old 09 September 2010, 23:53   #1
Posts: n/a
invalid compressed data while trying to extract lha, zip etc with adf inside


I am trying to transfer adf files from pc to amigha 1200 wb 3.1. I compress them on pc with a standard archive format like lha or zip. then i copy the file on a formatted 720kb disk. I then put the disk in the amiga and via cross-dos i can acces the file and put it on the hard disk. But when i try to decompress the file with LHA,unzip,unrar,etc i keep on getting the error message: invalid compressed data to inflate! although it sometimes works with files smaller than 300 kb,please help

Old 10 September 2010, 00:06   #2
Global Moderator

prowler's Avatar
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Hi Tarak1200,

Are you using a DSDD floppy disk formatted to 720kB, or a High Density (DSHD) disk?

Under most circumstances, the Amiga will have problems reading HD disks formatted to 720kB.

Though if you are successfully copying the files from the DOS-formatted disk to your Amiga's hard drive or RAM disk, then this is not the problem.
prowler is offline  
Old 10 September 2010, 00:08   #3
Registered User
Join Date: Nov 2009
Location: Blyth England
Age: 65
Posts: 786
Maybe a CF transfer kit from Amigakit or other suppliers would be a good investment and solution to the problem. I used what I already had and downloaded fat95 and cfd.lha (I think it was that) for mine from aminet. You could use the floppy disk transfer method that you already use to transfer the files over to the Amigas hard drive and go from there.

Oh yeah while at aminet, get Adf2disk so that you can use the ADF files and write them to proper floppies
Allen1 is offline  
Old 10 September 2010, 05:07   #4
Registered User

Join Date: Sep 2008
Location: Gainesville U.S.A.
Posts: 771
See if your lha for PC has a way to select Frozen5 for the compression. The one I use on the PC defaults to Frozen6 which lha138 on Amiga cannot extract. But when I force the PC to use Frozen5, it extracts OK on the Amiga. This is only speculation since I have no way of knowing the actual programs being used. If this fails, just run WinUAE with whatever archiver is on the 1200 now and pack the ADF there before copying to floppy. The Amiga PkAzip I have is so woefully outdated, I don't even consider it an option anymore.
clenched is offline  
Old 10 September 2010, 08:35   #5
Registered User
thomas's Avatar
Join Date: Jan 2002
Location: Germany
Posts: 6,324
Originally Posted by Tarak1200 View Post
i keep on getting the error message: invalid compressed data to inflate!
Check CrossDOS prefs (SYS:Tools/Commodities/CrossDOS). Maybe you configured it to treat files as text and to convert linefeeds from CRLF to LF. This certainly corrupts binary files.

although it sometimes works with files smaller than 300 kb
Could also be a MaxTransfer problem. Try to unpack directly from floppy disk without copying to HDD first. If this works, check the MaxTransfer value of your HDD partition(s). MaxTransfer for IDE drives should be 0x1fe00. If it's higher, all files bigger than 127.5 KB will be corrupted.
thomas is offline  
Old 15 September 2010, 20:47   #6
Posts: n/a
Thank you!

Hello! thanks to everyone who replied to my posts!

when i tried to extract the files directly from the disquette ik Worked fine, i also archived the files on my pc with the frozen 5 method(thank you "clenched") "Thomas", you are right the problem is with the crossdoss parameters but when i do "SYS:Tools/Commodities/CrossDOS)" i get a smal rectangular menu where you can cross a box named text filter; a box named text translator and for "languages" asci-7 ; dansk ; intl; etc no mention of CRLF or LF.

prowler: I use pc-1.4 megabyte disks witch i format (fist i use a piece of tape to cover the hole) on the cmd interface : format a:/t:80/n:9 . then i copy a file on it and insert it in the amiga.

also since i use 720 disks my capacity is limited to 720 kb when i want to have bigger archives i am in trouble! RAR seems like a good method but deachiving with a unrar program on the amiga doesn't really work, pehaps i use the wrong program? i use winrar to archive on pc and used De-archiveur ;unrar-3.10 on the amiga

thank you!
Old 17 September 2010, 18:16   #7
Amiga user since 1990
LocalH's Avatar
Join Date: Aug 2004
Location: Kingsport, TN / USA
Age: 41
Posts: 295
Uncheck the Text Filter box. That will fix your corruption problem.
LocalH is offline  

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening multi adf/dms files inside a zip file! amilo3438 request.UAE Wishlist 5 10 August 2013 06:23
Dopus suddenly won't extract LhA Files manic23 support.Apps 3 30 March 2013 13:43
ADF file compressed with RAR pucci support.WinUAE 5 16 October 2011 12:37
Unable to read 7z compressed adf images laxity support.WinUAE 6 22 May 2006 18:59
Multi-Disk Compressed ADF? TheOutrider support.WinUAE 10 02 October 2003 10:44

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 13:41.

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