# Deleting old Vsav files from Module

**URL:** <https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151>\
**Category:** Module Support\
**Created:** [March 8, 2024, 8:45pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151 "2024-03-08T20:45:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpcunningham](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@cpcunningham](https://forum.vassalengine.org/u/cpcunningham)\
**Post date:** [March 8, 2024, 8:45pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/1 "2024-03-08T20:45:22Z")

</div>

Hi. I’m trying to upload a module that is too big, \> 250 mb. The module has been to large for most of its development in spite of my efforts at minimizing components and clearing the clutter.  
I unzipped a version, finally, and found all (?) the previous vsav (scenario) files in the module even though I’ve deleted the Pre-Defined scenario files during its development - to create new ones from scratch.  
How do you ensure that vsav files are removed from the module? Also noticed that the charts I deleted are still present in the mod.  
(PS Joel I sent you a bloated version via WeTransfer)

---

<div class="post-metadata">

**Author:** ![JoelCFC25](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/joelcfc25/32/2687_2.png) [@JoelCFC25](https://forum.vassalengine.org/u/JoelCFC25)\
**Post date:** [March 8, 2024, 9:44pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/2 "2024-03-08T21:44:58Z")

</div>

> [@cpcunningham](#):
>
> How do you ensure that vsav files are removed from the module? Also noticed that the charts I deleted are still present in the mod.

Deleting items in the Editor is _not_ the same thing as deleting actual files linked to those items and saved inside the module.

Remember that VASSAL modules are merely renamed ZIP archives. Open your module using any competent archiving software (for Windows, I strongly recommend 7-Zip) and simply delete the unneeded `.vsav` files from the ZIP archive. If you use a quality piece of software it is not necessary to do any file extension modification.

Aside: You will likely find that `.vsav` files are a tiny fraction of a 250+ MB module’s size. Removing stale ones–while useful–is unlikely to net you much file size reduction. Large image files will be the bulk of it.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [March 8, 2024, 10:00pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/3 "2024-03-08T22:00:28Z")

</div>

> [@cpcunningham](#):
>
> (PS Joel I sent you a bloated version via WeTransfer)

You sent that to me, not @JoelCFC25. I had been wondering why I got it.

One thing you should try if you have not already is Remove Unused Images, which you’ll find under the Tools menu.

---

<div class="post-metadata">

**Author:** ![JoelCFC25](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/joelcfc25/32/2687_2.png) [@JoelCFC25](https://forum.vassalengine.org/u/JoelCFC25)\
**Post date:** [March 8, 2024, 10:22pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/4 "2024-03-08T22:22:21Z")

</div>

I had no knowledge of this situation prior to reading the post, so I wasn’t expecting to receive anything! 🙂

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [March 8, 2024, 10:23pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/5 "2024-03-08T22:23:32Z")

</div>

“I have no recollection of these events, Senator.”

---

<div class="post-metadata">

**Author:** ![marktb1961](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/marktb1961/32/231_2.png) [@marktb1961](https://forum.vassalengine.org/u/marktb1961)\
**Post date:** [March 8, 2024, 11:16pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/6 "2024-03-08T23:16:36Z")

</div>

> [@JoelCFC25](#):
>
> Aside: You will likely find that `.vsav` files are a tiny fraction of a 250+ MB module’s size. Removing stale ones–while useful–is unlikely to net you much file size reduction. Large image files will be the bulk of it.

That said, if the piece x trait count is high, a vsav can easily be 500kb. Still, you need to be well into 3 figures for the Predefined Setup file count to nudge 200Mb+ for the module.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [March 8, 2024, 11:21pm UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/7 "2024-03-08T23:21:55Z")

</div>

There’s 31MB of stuff that Remove Unused Images finds, but you should check that all of those things are truly not used anywhere.

---

<div class="post-metadata">

**Author:** ![cpcunningham](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@cpcunningham](https://forum.vassalengine.org/u/cpcunningham)\
**Post date:** [March 9, 2024, 2:04am UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/8 "2024-03-09T02:04:46Z")

</div>

Thanks. Will do that. I thought that when I deleted the old “predefined scenarios” from the mod, refreshed & re-saved that would do the trick. Will remove them from the ZIP archive. Although, looking at the file the image file is mostly the problem. Such as…Compass wants the charts removed before upload. I deleted the “Charts” window in the mod but they remain in the image file. I’ll follow suggestions given & see if I can get it down to a manageable level. Thx Cavan

---

<div class="post-metadata">

**Author:** ![cpcunningham](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@cpcunningham](https://forum.vassalengine.org/u/cpcunningham)\
**Post date:** [March 9, 2024, 2:05am UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/9 "2024-03-09T02:05:13Z")

</div>

Thx. Sorry a bout that. CC

---

<div class="post-metadata">

**Author:** ![cpcunningham](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@cpcunningham](https://forum.vassalengine.org/u/cpcunningham)\
**Post date:** [March 9, 2024, 2:26am UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/10 "2024-03-09T02:26:37Z")

</div>

Deleted the old Vsav files and the charts from the image folder. But now it’s not recognized as a “valid Vassal module”.

---

<div class="post-metadata">

**Author:** ![cpcunningham](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@cpcunningham](https://forum.vassalengine.org/u/cpcunningham)\
**Post date:** [March 9, 2024, 2:51am UTC](https://forum.vassalengine.org/t/deleting-old-vsav-files-from-module/79151/11 "2024-03-09T02:51:27Z")

</div>

Went back a version. Found all the charts in the Removed Unused Images list so did that refreshed. File probably has a bunch of older non-“1.2” vsav files in it but it was under the limit. Uploaded the module.  
Thx  
Cavan
