New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lhasa unable to unpack correct Amiga LHA archive #31
Comments
Another issue, lhasa simply stops after seven of 115 files... |
If it's a separate issue please file a separate bug
…On Sun, Aug 25, 2019, 5:09 PM Stefan ***@***.***> wrote:
Another issue, lhasa simply stops after seven of 115 files...
http://aminet.net/package/dev/lib/libgif_a68k
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#31?email_source=notifications&email_token=AAAXUNMDQW4H7Y5MLUQ5Q73QGLYIHA5CNFSM4GUCVI5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5C3YAI#issuecomment-524663809>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAXUNJS2NKRB4LS7QTQ7XLQGLYIHANCNFSM4GUCVI5A>
.
|
[...] |
Finally got around to digging into this a bit and finding out what's up with these files. It seems like the problem files have no filename in the normal header (length=0) but instead store their full path in the PATH extended header:
This isn't how the path header is supposed to be used; the compression tool is supposed to generate separate headers for "filename" and "path". So really these are malformed archives. But it should be possible to devise a workaround that catches this case. |
Oh, I missed @jsummers' comment which gives a good theory about what's going on here - that
|
Maybe we can trackdown the broken version of the tool? |
I have a problem with unpacking of some Amiga LHA archives. Just to be sure, I tried to unpack the archive on Amiga and it all went well, no errors (also, no strange Amiga names inside, so that shouldn't be a problem). I have tried to attach the archive to this post, but GitHub won't let me, so it can be taken from:
http://8bitchip.info/commodore/RedLightningLHASAProblem.zip
Inside the zip archive is lha archive that lhasa cannot unpack (I have also tried with the unarchiver, but it also cannot unpack it) and tar.gz archive I made out of unpacked content on Amiga (this is what should be unpacked from archive).
I have made a tool to automate transfer of Amiga games from PC machine to real Amiga and unpacking of LHA archives is integral part of it.
If someone have the time, please take a look...
The text was updated successfully, but these errors were encountered: