VASSAL Launcher macOS (vsav/vlog)

On Windows you can double-click a .vlog or .vsav and it will launch VASSAL, open the module, and load your saved game. On macOS this does not work. The path to the .vlog/.vsav is not passed as an argument to the VASSAL.sh script (perhaps this worked in the past and Apple changed it, either way, doesn’t work now).

As a workaround I made a simple launcher program. You can find it here:
github.com/bdgza/VASSAL-Launche … /tag/1.0.0

You should place the VASSAL Launcher.app in the same place as VASSAL.app (for example both in /Applications).

The VASSAL Launcher is not signed, so you will need to bypass Gatekeeper to open it. Right-click the dmg and choose Open With > DiskImageMounter.app. After copying VASSAL Launcher to your computer right-click > Open it once to make it work with Gatekeeper.

This application will associate itself with .vsav/.vlog files – so when you double-click your saved game file it will open with this program. It then runs the same command as VASSAL.sh uses from inside VASSAL.app to launch Java, but includes the file path of your saved game file as an argument. VASSAL Launcher uses “which java” to find your active java installation, so java needs to be on your user path for this to work. After launching VASSAL the Launcher closes right away.

The VASSAL Launcher does not modify anything in VASSAL, your modules, or your saved games.

The program is a few dozen lines of Javascript wrapped with Eclipse to make it an executable program. This is not the most efficient possible solution, but it gets the job done.

I created this originally as a response to this thread on BoardGameGeek: boardgamegeek.com/thread/204151 … assal-imac