[messages] [Module Design] Issues with map size - lag/heap problems

Joel Uckelman uckelman at nomic.net
Fri Jun 24 19:47:32 CEST 2016

Thus spake a7xfanben:
> Along with another VASSAL user, I am planning a "World" game variant of
> Pirates of the Spanish Main.  As the name implies, this variant will
> have a GIANT map of the entire world as the ocean.
> I am simply wondering what the best solution might be for creating the
> map.  I would estimate that our ocean needs to be at least 120000 pixels
> across and 60000 pixels high.  I've tried editing a few pictures of the
> world into the module, but the file size is too large (I tried scaling
> one of them in GIMP to 140000x70000 and it crashed), while the picture
> itself is too small.  That option is likely out.

That is a _colossal_ image. There may be no image program in existance
which can handle an image that size and still perform reasonably.

If you want the overall map to be that size, split it into pieces
which are no larger than maybe 5k pixels in any dimension.

More information about the messages mailing list