What kind of Zip are the modules?

I’d like to do a massive image renaming inside a module, i’ve already a script with ~150 regex search/replace expressions to be used for renaming the ~900 image files AND to change the references to them in the buildFile.xml.

BUT

my problem is to “rebuild” the module after that.

Right now, (using 7-Zip on W11) if i unzip a module, and then zip the folder again (using the context menu 7-Zip -> Add to "_name_ .zip") doing nothing else inside it, Vassal says that the module is not valid.

So, what I don’t know? What kind of zipping is the right one for Vassal?

Compare the directory structure in module that works with one that doesn’t. You’re probably introducing a directory between the archive root and the module contents. E.g., buildFile.xml should be in the archive root.

1 Like

Geez … i’m SO tired. I’ve even read the same answer in another post while searching about this before posting …

Sorry, and thanks.

1 Like

For lurkers, here’s the Documentation topic on re-compressing ZIP archives to get correctly-structured module files.

2 Likes