Create account / Log in

Are there map limitations?

Talk about module design ideas and techniques.

Moderators: Tim M, uckelman

Are there map limitations?

Postby geozero » January 17th, 2008, 4:19 am

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.
User avatar
geozero
 
Posts: 43
Joined: January 17th, 2008, 4:16 am

Postby bsmith » January 17th, 2008, 4:39 am

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.
Current PBEMs:- Tunisia, ASL, Vimeiro, Europe Engulfed, EuroFront II.
User avatar
bsmith
Site Admin
 
Posts: 657
Joined: October 2nd, 2007, 4:47 pm

Postby geozero » January 17th, 2008, 4:52 am

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.
User avatar
geozero
 
Posts: 43
Joined: January 17th, 2008, 4:16 am

Are there map limitations?

Postby uckelman » January 17th, 2008, 9:47 am

Thus spake "geozero":
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 VA
SL.


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
http://forums.vassalengine.org/mailman/ ... engine.org

Post generated using Mail2Forum (http://www.mail2forum.com)
User avatar
uckelman
Site Admin
 
Posts: 8147
Joined: December 10th, 2007, 9:48 am
Location: Durham, England


Return to Module Design

Who is online

Users browsing this forum: No registered users and 0 guests