Beruflich Dokumente
Kultur Dokumente
Settings Dialog
With the MapTool Launcher, Windows users of MapTool can use a GUI to set various parameters for the
Java Virtual Machine (JVM) environment that MapTool runs within.
Startup Option
The Launcher defaults to showing the Settings Dialog upon startup. An option is provided to change
this behavior.
Show at Startup – Uncheck this option to prevent the Settings Dialog from being shown on
subsequent startups.
Configuration File
All options are saved to a configuration file located in the same directory when you click on the OK
button. This file is named “mt.cfg”. Deleting this file will cause the Launcher to display the Settings
Dialog again when you start it.
The configuration file is a simple text file with the options listed one per line.
MAXMEM=256
MINMEM=64
STACKSIZE=2
JVM=javaw
PROMPT=true
The MAXMEM, MINMEM, and STACKSIZE options are the same as those presented in Settings
Dialog as described previously.
The PROMPT option in the configuration file reflects the state of the Show at startup checkbox the last
time the Settings Dialog was shown. Change this to “false” by editing the configuration file or by un-
checking the option on the Settings Dialog.
The JVM option can only be changed by editing the configuration file. Setting JVM to “java” will cause
a command prompt window to remain open when MapTool is launched. This is useful when debugging
problems as it will allow you to see any error messages that may be generated while MapTool is
running.
Additional JVM options may be added to the end of the line as would be used when starting a Java
application from a command line. For example:
JVM=javaw -Duser.language=ES -Duser.region=MX
This would start MapTool with the language set to Spanish and locale to Mexico. This method can only
be employed if there already exists translation files for the desired language.
If you make changes to the configuration file and MapTool no longer starts, delete (or rename) the file
and the Launcher will recreate the file with the defaults.
Requirements
The MapToolLauncher relies upon a correct
and working Java installation. This means
that the Java executables must be in the
System path. The launcher works in the
same manner as the batch files included in
the MapTool zip files. If those work then the
launcher will work.
Screenshot 3: Properties