Are there map limitations?

Is there a map size limit?

Sorry if this has been answered before, I tried search but could not find an answer.

I’m trying to mak a VERY BIG map of Europe, and want to see if I can get to a scale of 1 hex = 5km. I’d need the map board to be like 500x500 hexes.

Thanks…

BTW - love VASSAL after re-discovering it…it’s been years since I played VASL.

I think the biggest single map we have sofar is in the Case Blue module. I haven’t actually counted the dimension in hexes!

Otherwise, I don’t think we’ve found the actual size limit yet. The upcoming new version of Vassal will be even more space efficient. Be aware however that the bigger the map area gets, the slower performance will be.

thanks for the quick reply. I’m experimenting with various large maps… I know older machines will be slower. But I think new machines and MACS will not have much issue.

On another subject… is there any source for map symbols? Like swamp/marsh symbols either as TTF fonts for clipart???

Thanks.

Thus spake “geozero”:

There are two different things relevant for map size: hex grid size, and
map image size.

If I remember correctly, we store hex coordinates as ints, so you could
have a map with 2^31-1 rows and 2^31-1 columns. You’ll have no trouble
with that.

Where you might have difficulty with is image size. The largest map to
date that anyone has made I think is the Case Blue map, which is which
is something like 11000x8000 pixels. There’s no limit on image size built
into VASSAL, but arrays have integer indices in Java, which limits image
rasters to 2GB each, so you could have at maximum an image which contains
535298048 pixels, which is about (about) 23170x23170 pixels.

I do not recommend making an image that size, however, as hardly anyone
has enough RAM to load such a thing. Instead, you should chop your map
into multiple smaller images, and form your overall map from several
Boards. (The limit on Boards is also 2^31-1, which you’ll never, ever
reach.)


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)