Vassal 3.2.8 lost library - Mac

Quite suddenly, Vassal 3.2.8 stopped recognizing my Vassal library (the library shows as empty). Strangely, the full library still shows up for Vassal 3.1.20, which I’m also still running. Any simple way to get 3.2.8 to load the full library? I’d really hate to load all those modules again.

I found past discussions of related issues, but nothing quite on point, so apologies if this has been addressed.

I’m on a Mac, OS 10.8.5, running Java 7 update 40.

Thus spake jtbmap:

Quite suddenly, Vassal 3.2.8 stopped recognizing my Vassal library (the
library shows as empty). Strangely, the full library still shows up for
Vassal 3.1.20, which I’m also still running. Any simple way to get
3.2.8 to load the full library? I’d really hate to load all those
modules again.

Are you saying that it had been working with 3.2.8, but then stopped?
Or that it never worked with 3.2.8?

3.2.8 stores the settings for the Module Manager in a completely
different way from anything prior to 3.2.8, so it’s not surprising
that you could see the module library in 3.2.8 diverge from 3.1.20.

Post the contents of

~/Library/Application Support/VASSAL/prefs/V_Global

here so we can have a look at the setting which controls what 3.2.8
loads as your module library.


J.

Sorry I missed the earlier reply. In the meantime, I reloaded the library, which worked fine for a while, but has now entirely disappeared again.

Yes, it had been working normally with 3.2.8.

This path doesn’t seem to exist - there is no Vassal folder that I can find in Application Support in the Library.

Thus spake jtbmap:

~/Library/Application Support/VASSAL/prefs/V_Global

This path doesn’t seem to exist - there is no Vassal folder that I can
find in Application Support in the Library.

Do you have a V_Global file anywhere in your home directory? If so,
where?


J.

V_Global does not appear to exist anywhere on my machine.

Thus spake jtbmap:

V_Global does not appear to exist anywhere on my machine.

Do you have a VASSAL/prefs directory anywhere?


J.

There is a Preferences file within the Vassal folder, but it shows it hasn’t been modified since 2009. No other prefs file that I can find.

Thus spake jtbmap:

There is a Preferences file within the Vassal folder, but it shows it
hasn’t been modified since 2009. No other prefs file that I can find.

What is the full path of that folder?

Can you show me the output of ‘ls -l’ for that folder?

I’m finding this kind of baffling, because VASSAL’s settings seem not to
be stored in the expected location on your machine.


J.

That folder is /Users/johnbuse/Personal/Games/VASSAL/VASSAL

ls -l gives:

drwxr-xr-x 4 johnbuse johnbuse 136 Jan 19 2008 3.0
-rw-r–r-- 1 johnbuse johnbuse 3420 Aug 15 2007 LICENSE.txt
-rw-r–r-- 1 johnbuse johnbuse 2926 Feb 13 2009 Preferences
-rw-r–r-- 1 johnbuse johnbuse 10821 Aug 15 2007 README.html
-rw------- 1 johnbuse johnbuse 4051489 Nov 29 2011 Userguide.pdf
drwxr-xr-x 13 johnbuse johnbuse 442 Feb 19 2008 UsersGuide
dr-xr-xr-x 3 johnbuse johnbuse 102 Sep 2 2012 VASSAL-3.1.20.app
dr-xr-xr-x@ 3 johnbuse johnbuse 102 Jul 28 06:02 VASSAL-3.2.8.app
-rw-r–r-- 1 johnbuse johnbuse 15993 Feb 13 2009 errorLog
drwxr-xr-x 2 johnbuse johnbuse 68 Feb 13 2009 ext
drwxr-xr-x 8 johnbuse johnbuse 272 Aug 15 2007 lib
-rw-r–r-- 1 johnbuse johnbuse 1532 May 28 2005 osXnotes.html
drwxr-xr-x 2 johnbuse johnbuse 68 Feb 13 2009 plugins
-rw-r–r-- 1 johnbuse johnbuse 5745 Aug 15 2007 tour.log
-rw-r–r-- 1 johnbuse johnbuse 840340 Aug 15 2007 tour.mod
drwxr-xr-x 19 johnbuse johnbuse 646 Dec 1 12:16 tutorial

Thus spake jtbmap:

That folder is /Users/johnbuse/Personal/Games/VASSAL/VASSAL

This is definitely not the directory we’re looking for.

How are you launching VASSAL? (Please describe the exact steps you’re
taking.)


J.

What does this command show?

ls -l “~/Library/Application Support/VASSAL”

The Library apparently isn’t in the home directory, so I deleted the “~”. This produced no such file or directory, so I tried:

ls -l “/Library/Application Support”

Still no Vassal file, but if I cd Library/“Application Support” instead (no slash at the start), there it is.

ls -l Vassal gives:

-rw-r–r-- 1 johnbuse johnbuse 81550 Nov 27 09:18 Preferences
-rw-r–r-- 1 johnbuse johnbuse 507 Dec 1 12:25 errorLog
drwxr-xr-x 2 johnbuse johnbuse 68 May 16 2012 ext
-rw-r–r-- 1 johnbuse johnbuse 12 Dec 1 12:25 key
-rw-r–r-- 1 johnbuse johnbuse 0 Dec 1 12:25 lock
drwxr-xr-x 2 johnbuse johnbuse 68 May 16 2012 plugins
drwxr-xr-x 417 johnbuse johnbuse 14178 Nov 3 12:14 prefs
-rw-r–r-- 1 johnbuse johnbuse 74563 Aug 22 2012 temp1.zip
-rw-r–r-- 1 johnbuse johnbuse 74797 Sep 5 2012 temp2.zip
-rw-r–r-- 1 johnbuse johnbuse 75007 Sep 23 2012 temp3.zip
drwxr-xr-x 366 johnbuse johnbuse 12444 Nov 17 18:34 tiles
drwxr-xr-x 26 johnbuse johnbuse 884 Nov 19 21:19 tmp

Very strange - none of this shows up on my desktop. Is it possible to recover my library from any of these?

You would have gotten precisely this output if you had entered the command exactly as bugggg instructed instead of modifying it.

No - as I said, entering it exactly as provided gave “No such file or directory.”

Thus spake jtbmap:

The Library apparently isn’t in the home directory, so I deleted the
“~”. This produced no such file or directory, so I tried:

ls -l “/Library/Application Support”

Still no Vassal file, but if I cd Library/“Application Support” instead
(no slash at the start), there it is.

ls -l Vassal gives:

-rw-r–r-- 1 johnbuse johnbuse 81550 Nov 27 09:18 Preferences
-rw-r–r-- 1 johnbuse johnbuse 507 Dec 1 12:25 errorLog
drwxr-xr-x 2 johnbuse johnbuse 68 May 16 2012 ext
-rw-r–r-- 1 johnbuse johnbuse 12 Dec 1 12:25 key
-rw-r–r-- 1 johnbuse johnbuse 0 Dec 1 12:25 lock
drwxr-xr-x 2 johnbuse johnbuse 68 May 16 2012 plugins
drwxr-xr-x 417 johnbuse johnbuse 14178 Nov 3 12:14 prefs
-rw-r–r-- 1 johnbuse johnbuse 74563 Aug 22 2012 temp1.zip
-rw-r–r-- 1 johnbuse johnbuse 74797 Sep 5 2012 temp2.zip
-rw-r–r-- 1 johnbuse johnbuse 75007 Sep 23 2012 temp3.zip
drwxr-xr-x 366 johnbuse johnbuse 12444 Nov 17 18:34 tiles
drwxr-xr-x 26 johnbuse johnbuse 884 Nov 19 21:19 tmp

Very strange - none of this shows up on my desktop. Is it possible to
recover my library from any of these?

Your module library is stored in prefs/V_Global, and before 3.2.8
was stored in Preferences. Send me those so I can have a look at
them.


J.

I can’t find prefs/V_Global anywhere, and I suspect that the (hidden) Preferences file is for 3.1.20. My Unix abilities don’t go any further than this, so I’m resigned to reloading the modules. There were over a hundred, so I’ll stick to those I’m currently using this time.

Thus spake jtbmap:

I can’t find prefs/V_Global anywhere, and I suspect that the (hidden)
Preferences file is for 3.1.20. My Unix abilities don’t go any further
than this, so I’m resigned to reloading the modules. There were over a
hundred, so I’ll stick to those I’m currently using this time.

Did you look in ~/Library/Application Support/VASSAL/prefs? The prefs
directory I’m referring to is the one shown in the ls output you posted.


J.

Ah - got it. V_Global is there in the prefs directory.

-rw-r–r-- 1 johnbuse johnbuse 290 Dec 1 12:25 V_Global

I can’t locate this on my desktop, however, so I’m not sure how to go about recovering the library, if that’s even possible.

Open your Terminal app. Type in the following command:

cp ~/Library/Application\ Support/VASSAL/prefs/V_Global ~/Desktop/

A copy of the V_Global file will now appear on your Desktop.

The reason you cannot locate the ~/Library in the Finder is that it’s hidden by default. If you want to see it anyway, from the Finder’s Go menu, choose Go To Folder, and in the prompt that comes up, type: ~/Library

Got it - thanks. I located the file in the Finder and tried to restore the oldest version I have on my backup drive. Unfortunately, the library still comes up empty. It looks like I’m out of luck but are there any other options to restore?