Create account / Log in

Removing images from zip file

Issues with the Vassal engine.

Moderators: Tim M, uckelman

Removing images from zip file

Postby YojimboUsaka » December 22nd, 2007, 11:51 pm

Hello all,

I have a 5 meg module that has about 1 meg of unused images in it. I have unzipped the module, removed the images and then zipped it back up. Only problem is the zipped file is actually larger after I removed the images.

Has anyone else had this issue? I am using Winzip to zip and unzip the files.

Thank you,

Yoj
User avatar
YojimboUsaka
 
Posts: 16
Joined: December 22nd, 2007, 11:42 pm
Location: Scott AFB, IL

Removing images from zip file

Postby tbyrne » December 22nd, 2007, 11:58 pm

Make sure you don't have a thumb.db file in there too. If you use the
thumbnail view in windows it creates this file, and depending in how
many images are in the directory, it could be very large. I have seen
several modules in the past that have included a thumb.db that was
almost 1meg.

On Dec 22, 2007, at 5:51 PM, "YojimboUsaka" <messages@forums.vassalengine.org
wrote:

Hello all,

I have a 5 meg module that has about 1 meg of unused images in it.
I have unzipped the module, removed the images and then zipped it
back up. Only problem is the zipped file is actually larger after I
removed the images.

Has anyone else had this issue? I am using Winzip to zip and unzip
the files.

Thank you,

Yoj







_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

_______________________________________________
Messages mailing list
Messages@forums.vassalengine.org
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
tbyrne
 
Posts: 79
Joined: December 10th, 2007, 1:57 pm
Location: Chicago, IL

Postby DrNostromo » December 23rd, 2007, 1:15 am

I've also found that it's best to create a new zip file rather then just replace and/or delete images in the old one.

Unzip your file, replace and delete the images, then create a brand new, empty zip file and place all your files in it.

I have found that Windows zip has a tendency to leave unused space in an exiting zip, even if the files are removed.
User avatar
DrNostromo
 
Posts: 1053
Joined: December 21st, 2007, 3:54 am
Location: Wine Country, Cal. USA

Postby YojimboUsaka » December 23rd, 2007, 1:55 am

Thank you both. Will try both options and see what happens.

Yoj
User avatar
YojimboUsaka
 
Posts: 16
Joined: December 22nd, 2007, 11:42 pm
Location: Scott AFB, IL


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 4 guests