Removing unused images from module

I think this question has been asked before and I apologise if it has already been covered. Is there any way of removing unused images from a module?

I have tried opening up the module using winrar and then selecting the unused image in the images folder and deleting it, but I just get a winrar error message stating something like file not found.

My work around at the moment to keep the module size down is to create a blank image with exactly the same name as the image I dont want and to drag it into the winrar window. It then replaces the old offending image and reduces the size of the module.

I suppose the best way is not to put images in that you are not going to use in the first place.

I have found that trying to edit, add, remove graphics directly in the mod file can be rather difficult.

When I decide to clean out the mod I’m working on, I change the extension of the mod to .ZIP, extract the mod it to an empty directory, do my graphics editing, re-zip up the whole package as a new file and change the extension back to MOD or VMOD.

Works for me.

Thanks I will try it.

Dr_Nostromo messages@forums.vassalengine.org wrote:

Post generated using Mail2Forum (mail2forum.com)

On Jun 20, 2008, at 6:19 AM, Peter Roberts wrote:

Right now the procedure is a manual one.

Having some type of automated clean-up procedure is on the list of
future enhancements. I know a couple of the developers have looked at
it, but I don’t think there is a firm schedule for including it. One
of the sticking points is making sure that images really aren’t being
used somewhere in a module.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thanks again, it works brilliantly. Re the possible future enhancement not a problem I can live with the manual procedure.

Pete

Dr_Nostromo messages@forums.vassalengine.org wrote:

Post generated using Mail2Forum (mail2forum.com)

Thus spake Thomas Russ:

I wrote code to do this in April, but Rodney and I don’t yet agree on what
the best approach is, so it won’t be in any released version until we
hammer that out.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)