English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 22 July 2011, 15:58   #1
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,084
Zip packer corrupting files ?

When I did the whd update pack I got an error I never have had before.
The game Embryo clearly doesn't like to be zipped.

If I lha it it works as shown here:


But if I zip it, the same game folder I lha'ed, and extract it this happens:


Does anybody have an idea what causes the files to corrupt when zipped up ?

This is using Zip 2.3/UnZip 5.50 included in ClassicWB v26.
Retroplay is offline  
Old 22 July 2011, 16:13   #2
s2325
Zone Friend
 
s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 43
Posts: 17,789
Maybe it change filename lower case -> upper case or upper case -> lower case. It should not be a problem but maybe it is.
s2325 is offline  
Old 22 July 2011, 16:17   #3
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,084
Maybe, but this is the only game this happens to, all the other whd games don't have this problem.
At least not that I know of.
Retroplay is offline  
Old 22 July 2011, 16:24   #4
s2325
Zone Friend
 
s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 43
Posts: 17,789
Maybe some filename have some special character which is not recognized by packer. It can change it to different character or remove it. Most games don't verify own files, but maybe Embryo do and it's rare case as you described.
s2325 is offline  
Old 22 July 2011, 16:42   #5
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,084
I have uploaded the lha to the zone if somebody feels like investigating further.
Retroplay is offline  
Old 22 July 2011, 16:56   #6
Bloodwych
Moderator
 
Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
Very strange - but you do rarely find exceptions like this from time to time with Amiga archivers.

Can you use a file comparison tool to actually confirm the files have changed after zipping -> unzipping? Something like FreeFileSync will do it (excellent program by the way) in Windows:

http://sourceforge.net/projects/freefilesync/

Or any other of the multiple file comparison tools. Can't think of Amiga ones, but in Windows Hashtab is another where you can see if the file has changed at all by comparing the hash values. Or MD5Check.

Also, try to using MiraWizArc (to Zip and Unzip) or Voodoo-X (to Unzip only) the file, it uses different versions to Unzip, and see if it makes a difference.
Bloodwych is offline  
Old 22 July 2011, 20:01   #7
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,084
I tried extracting the zip with Voodoo-X with the same result as with UnZip 5.50.

Also using MiraWizARC to create and extract the zip breaks the game.

And I can't compare the files with FreeFileSync because if I extract the game to a non Amiga formatted partition in WinUAE the files also gets corrupted.
Retroplay is offline  
Old 22 July 2011, 21:50   #8
Bloodwych
Moderator
 
Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
There might be a file compare utility on the Amiga then, something must be different between the files. I don't think the file attributes should affect things, although Amiga Zip should preserve all those fine too, or it's a special character in the name as mentioned above.

Oh well, out of ideas. Just stick it in a lha archive, then zip it and be done! - inlcuding a note why it's an archive in an archive.

Last edited by Bloodwych; 22 July 2011 at 22:21.
Bloodwych is offline  
Old 22 July 2011, 22:18   #9
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,084
Yup, it's lha or nothing.
Retroplay is offline  
Old 22 July 2011, 22:46   #10
Retro-Nerd
Missile Command Champion
 
Retro-Nerd's Avatar
 
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,444
Would be probably an easy fix, as Pygore did for Five-A-Side Soccer (#19+)

http://eab.abime.net/showthread.php?...ht=five-a-side
Retro-Nerd is offline  
Old 22 July 2011, 22:58   #11
Bloodwych
Moderator
 
Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
So, it might be a filecomment problem. Thanks for the pointer Retro-Nerd.
Bloodwych is offline  
Old 22 July 2011, 23:08   #12
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,084
Aha, I think I'll stick to lha in the future and completely ditch zip.
Bad news for Gamebase Amiga users I know.

Thanks for clearing this up Retro.

[edit]
Five-A-Side soccer is broken too, I had to check after reading the other post.
I'll redo the install and lha it.

[edit2]
Not zip related problem but latest WHDLoad 17.0 beta issue.

I get a "Slave is illegal" when using 17.0.5110

Last edited by Retroplay; 22 July 2011 at 23:28.
Retroplay is offline  
Old 23 July 2011, 10:57   #13
Bloodwych
Moderator
 
Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
I think KG had issues with some rare corrupt archives using Amiga specific archivers in the past too - one of the reasons for swapping to ZIP as it had the least problems. It may have been down to buggy later versions (than 1.38) of LHA executables however at the time. I'd ask him just to be clear if you are swapping to LHA. In my opinion if it's only an odd file now and again, very rare as it seems to be, it's better to stick to the advantages of ZIP and LHA that one problamatic file.

AmigaZip does support Filecomments I think, but you need to specify an extra option. Problem is, this option needs specifying on the Zip AND Unzip, which most people won't use. I could add it to the ClassicWB packs as standard, but it will still cause issues in certain situations. This is from the help file included in the ClassicWB packs (Help menu->Other->Shell or SYS:Locale\Help\Shell):

Quote:
Filenotes
---------
Amiga filenotes are not normally stored in the zip archive. But the zip
format supports storing a one-line comment with each file, and Zip has
an option "-N" which causes any Amiga files with attached filenotes to
be stored with their filenote in this comment field. If "-N" is used
with the -c option, Zip will prompt for you to enter a comment line for
each file that does not have a filenote. The equivalent "-N" option of
UnZip 5.2 or newer will cause such comments to be attached to the expanded
files as filenotes. If desired the option "-N" can be specified in the
environment variable ZIPOPT so that filenotes are always stored.

Last edited by Bloodwych; 23 July 2011 at 11:25.
Bloodwych is offline  
Old 23 July 2011, 12:17   #14
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,084
There's certainly no reason to make things more complicated than they need to be.
I can live with the occasional lha file now and then.
Retroplay 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
ZIP files or lists of JPG links please? SparkyNZ AMR suggestions and feedback 0 24 February 2011 10:30
ADZ files won't run (while ZIP ones do!) SunChild New to Emulation or Amiga scene 5 05 October 2010 10:25
Usage of Whdload without Zip files buehlert project.GameBase Amiga 4 02 August 2009 22:01
Power Packer PP Files HELP W4r3DeV1L support.Apps 2 30 September 2008 06:20

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

Top

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