Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Releases: pacman-ghost/vasl-templates

v0.5

01 Dec 05:57
Compare
Choose a tag to compare

IMPORTANT: There have been changes to the template files. If you have created your own template pack, please update them to reflect these changes.

Automatically insert/update labels in a VASSAL save file

The program can now automatically insert labels into a .vsav file, and update them if they're already there.
IMPORTANT: This feature should be considered experimental, use with care! Keep backups, and check the resulting save file before overwriting the original.

Configure everything in the Server Settings dialog (from the File menu); in particular, you need either geckodriver or chromedriver, with the former requiring Firefox to be installed, and the latter requiring Chrome or Chromium. Or, if you're running from source, update your site.cfg in the config/ directory.

With all the scenario details entered in the UI, choose "Update VASL scenario" from the menu, and select the .vsav file you want to update. The process will take some time (perhaps a minute or longer), and you may well see the VASSAL GUI temporarily appear on-screen (ignore it). Save the updated scenario to another file and check it, before overwriting the original file.

If you are setting up a new scenario, the process works best if you place the boards in the VASL scenario first.

If you are updating a scenario that was created using an earlier version of this program, it will attempt to figure out which label is which, and should be able to do this as long as the content hasn't changed. However, you may see some duplicate labels being created, in which case, delete the old label. Once this has been done, the program will be able to accurately determine which label is which, even if the content changes. Therefore, it is recommended that you run this update process on any scenarios you have already made.

Other changes and bug-fixes

  • Improved the appearance of flags in labels.
  • Account for timezones when saving the scenario date.
  • Report errors if the desktop app has a problem during startup.
  • Report errors in Python callbacks from the GUI.
  • Removed some Python config files inadvertantly included in releases.
  • Show a warning if an unsupported version of VASSAL or VASL is being used.
  • Store the program version and created/updated timestamps in scenario save files.
  • Handle hotkeys better if a dialog or dropdown is showing.
  • Added an About box.
  • Fixed a Selenium webdriver leak during tests.
  • Minor UI changes and template changes.

v0.4

30 Oct 03:33
Compare
Choose a tag to compare

IMPORTANT There have been changes to the template files. If you have created your own template pack, please update them to reflect these changes.

NOTE: If you have installed an earlier version, you might want to delete the old files before installing this release (the file/directory structure has changed and is much cleaner now).

Vehicle/ordnance capabilities and image can now be changed

You can now edit a vehicle/ordnance's capabilities (e.g. special ammo depletion numbers, crew survival #, etc.), e.g. if an SSR changes them, or you want to add a note.

If there are multiple VASL counters for the vehicle/ordnance, you can also change this after it has been added to the player's OB.

Ad-hoc templates can now be included in template packs

Extra templates are now available to generate ad-hoc snippets e.g. to keep track of how many PF shots you have left, or to generate a shaded box that can be inserted behind the Turn Track to indicate an LV Hindrance.

Other changes

  • The date format in the UI can now be changed.
  • Vehicle/ordnance capabilities are now shown in the UI.
  • Flags are shown in the player droplists and dialogs.
  • Flags can be (optionally) included in snippets.
  • Snippets now declare their encoding as UTF-8.
  • The "no image available" image is now handled as a redirect.
  • Changed how releases are packaged.
  • Minor UI changes.

Bug fixes

  • The correct scenario date is inserted into snippets, regardless of your timezone.
  • Added workarounds to allow the VASL 6.4.3 .vmod to be loaded.

v0.3

10 Oct 11:42
Compare
Choose a tag to compare

IMPORTANT: There have been changes to the template files. If you have created your own template pack, please update them to reflect these changes.

VASL counter images in the UI

The program can now show VASL counter images in the UI. To turn this on, you need to tell the program where to find the VASL module (i.e. the vasl-X.X.X.vmod file you load into VASSAL):

  • If you are running the Windows desktop application, open the Server settings dialog from the File menu and configure it there.
  • If you are running the web server directly, create a file called site.cfg in the $/vasl_templates/webapp/config/ directory and configure it there (there is an example file you can rename and edit).

IMPORTANT: You should configure version 6.3.3, or 6.4.0 thru 6.4.2, of the VASL module.

Once you've done this, if you want to also show VASL counter images in the OB snippets that you copy in the VASL scenario, turn this on in the Settings dialog from the main application menu.

IMPORTANT: If you turn this feature on, the program must be running every time you load the scenario into VASL.

Other enhancements

  • Added vehicle/ordnance data for the Allied and Axis Minor powers.
  • Added vehicle/ordnance data for the Finns.
  • Added vehicle/ordnance data for the Landing Craft.
  • Restored the "T" (Tunisia only) and "F" (rare) superscripts for vehicle/ordnance note N's.
  • Minor changes to the vehicle/ordnance data.
  • Minor changes to the snippet templates.

Bug fixes

  • Fixed the problem the program was having distinguishing between vehicles/ordnance that have the same name.
  • Add the correct vehicle/ordnance to a player's OB if the OK button is clicked.

v0.2

09 Sep 11:00
Compare
Choose a tag to compare
  • Added vehicle/ordnance data for the Americans, British, Italians, Japanese, Chinese, and French.
  • Added a new "scenario theater" field (needed for some vehicle/ordnance capabilities).
  • Minor UI changes.

v0.1

26 Aug 07:33
Compare
Choose a tag to compare

First release.