Map is Gone, but Not Forgotten! v3.7.14

Strange how I can’t find an answer for this, especially since it happened before, but the only fix back then does not work now! This hasn’t happened for 4 years!

Building a new module, working on it feverishly for the last week. I am close to finishing the first draft for playtesting, and now the map WILL NOT SHOW!

The map shows when editing grids and zones, but when starting a new game, either in editing or in a regular game, the map does not show! I know it’s there, because all of the commands to send units to a particular zone or region on the map still works and I get no error when saving. I also know it’s there because, when I take a picture of the map, I get the map. I just can’t see the map when starting a game.

I have 64GB of memory, and I have the MAX HEAP set to 48GB. None of this was changed when it happened, it just disappeared when I went to start a new game while editing.

I’m guessing it’s something simple I either did or am missing, but I can’t think of what that would be.

PLEASE HELP!!!

System Info:
Win 11 Home
Intel i9-10900K
64GB RAM
NVIDIA RTX 4070 w/12GB with latest drivers

Is the divider between the chat pane and the map dragged all the way to the bottom of the window?

Have you unintentionally ticked the box in the Map Window’s config for “include toolbar button to show/hide”? Failing that and the idea above about the divider, it will likely speed up diagnosis considerably if you can upload your work-in-progress module to some form of cloud storage (Google Drive, Dropbox, OneDrive et al) and provide a link.

I can’t tell, because I can’t grab the bottom of JUST the chat window. What is the process to fix this without using a mouse-grab?

No, it’s not ticked.

Link to mod sent by pm.

It’s probably not the divider. When I open the module and select New Game, I don’t get a map.

Weird, right? It just disappeared, but it shows when editing grid or when taking a snap of the map!

Sorry, I’m not seeing what the problem is. You should have someone else take a look.

Could it be too many toolbar buttons? I noticed the map disappeared right after added a toolbar button. I’ll try and use a multi-action button to see if that works.

Okay, this is just beyond frustrating! I replaced the map in this module, everything worked just fine when opening and closing the module - editing and playing straight-up. I come back this morning, go to further edit, and now THAT map won’t open! I can’t even begin to imagine what the heck is going on with this module, and the only recourse I have is to start from scratch, but I have about 40 hours of work in this module.

CAN ONE OF THE CREATORS PLEASE LOOK AT THIS FILE?

Hi,

The problem is that the element

<VASSAL.build.module.GlobalOptions ...>
  ...
</VASSAL.build.module.GlobalOptions>

is last in the buildFile.xml. For some reason, this makes the board disappear. I guess VASSAL parses the XML DOM via SAX, and when it encounters the GlobalOptions, it resets a number of things - including the board. Note, the board is still there (take a screenshot using the camera button and you will see it). Another way to use XML is to use it as a database - that is, as a look-up table.

To fix your issue

  • Open the module in the VASSAL editor
  • Scroll down to the [Global Options] element
  • Right click it and select Move
  • From the drop-down, select 3: Main Map [Map Window] and then OK.
  • Save the module

Now, when you open the module again, you should see your map.

Also, you have some hidden characters - particular U+202D - in some file names which can mess things up too. These kind of characters are often put in by Windoze or MacOuze opaquely - and are quite annoying. Perhaps VASSAL should aim at “sanitising” file names before adding them to the module.

Yours,
Christian

2 Likes

Wow! Thanks for tracking this down! I will check this out, although I went a different route and basically rebuilt the module from the ground up using some different interfaces, but this is great to know if I encounter it again!

Where can I donate to the Vassal development team?

1 Like

I take it that you tried the fix and saw that it worked, as you marked it as a solution.

See here.

That said, I’m not part of the development team - just a happy user with loads of development experience :smile:

Btw, the game Lines and Webs looks interesting. Are the rules available somewhere? It looks like a military training game.

Yours,
Christian

1 Like

It is a Logistics-focused game created by one of our Masters students. I will send you the rules with my “vassalized” addendum with a link to the game once I finish the first draft. Thanks again for the assist!

2 Likes