project:mt:ug:stratupprops
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
project:mt:ug:stratupprops [2023/04/06 14:22] – publisher | project:mt:ug:stratupprops [2023/05/23 12:12] (current) – snarfbur | ||
---|---|---|---|
Line 28: | Line 28: | ||
* A property is a key value text pair with a ' | * A property is a key value text pair with a ' | ||
* E.g. MAPTOOL_DATADIR=" | * E.g. MAPTOOL_DATADIR=" | ||
+ | * More details about the format of a properties file are on this [[https:// | ||
* **JVM Command Line Parameters (-D, -X, …)** | * **JVM Command Line Parameters (-D, -X, …)** | ||
- | * //Correct usage (prefix) unknown// | + | * MapTool |
- | * Normally you can set the properties from the configuration file (MapTool.cfg) also during the call of the JVM | + | * Use the section [JavaOptions] |
- | * You can see the normal, not usable prefix | + | |
- | * MapTool use a launcher | + | |
- | * This location should only be used if the application has problems to experiment with different setups. | + | |
- | * //Note: with -D parameters you can declare and set system properties// | + | |
* **MapTool.cfg (-D, -X, …)** | * **MapTool.cfg (-D, -X, …)** | ||
* The configuration file of MapTool is in the app subdirectory of the application home directory, e.g. {application home]/ | * The configuration file of MapTool is in the app subdirectory of the application home directory, e.g. {application home]/ | ||
Line 40: | Line 37: | ||
* Use the startup property file for user specific parameters | * Use the startup property file for user specific parameters | ||
* This location should only be used if the application has problems to change general setups of the application. | * This location should only be used if the application has problems to change general setups of the application. | ||
- | * //Note: with -D parameters | + | * It has 3 sections: |
+ | * [Application] \\ Only developers will change here sometimes something | ||
+ | * [JavaOptions] \\ With the startup properties, you should no longer have to change things here, unless you have runtime troubles | ||
+ | * [ArgOptions] \\ In this section | ||
* **Default System Properties** | * **Default System Properties** | ||
* Most default system properties are dependent values from the operating system (OS) and are set by the JVM | * Most default system properties are dependent values from the operating system (OS) and are set by the JVM | ||
- | * e.g. user.home get at the value the path& | + | * e.g. user.home get his value (path& |
- | * The non standrd | + | * The non standard |
* **Default Value**s | * **Default Value**s | ||
* This values are defined inside the MapTool application to define a fallback value, if needed. | * This values are defined inside the MapTool application to define a fallback value, if needed. | ||
Line 50: | Line 50: | ||
===== Property Overview ===== | ===== Property Overview ===== | ||
- | This table should give you an overview about all properties during the startup process. | + | This table should give you an overview about all properties during the startup process. |
^ KEY ^ Default Value ^ System | ^ KEY ^ Default Value ^ System | ||
Line 61: | Line 61: | ||
|TEMP_SUBDIR_NAME|tmp| | | | | |Subdirectory under datadir for temporary data| | |TEMP_SUBDIR_NAME|tmp| | | | | |Subdirectory under datadir for temporary data| | ||
|CMD_OPTIONS_HELP| | | |h|help|user|Command options incl. description to log and information frame| | |CMD_OPTIONS_HELP| | | |h|help|user|Command options incl. description to log and information frame| | ||
- | |DEBUG_FLAG|false (not set)| | |d|debug|adv.|Set log level to debug and turn on system.out enhanced debug output| | + | |DEBUG_FLAG|false (not set)|-| |d|debug|adv.|Set log level to debug and turn on system.out enhanced debug output| |
- | |VERSION_OVERWRITE|current version| | |v|version|dev.|Overwrites the MapTool version. **ONLY FOR DEVELOPMENT.** \\ Some MapTool functions will break if the version is not set correct! This can corrupt your data!| | + | |VERSION_OVERWRITE|current version|-| |v|version|dev.|Overwrites the MapTool version. **ONLY FOR DEVELOPMENT.** \\ Some MapTool functions will break if the version is not set correct! This can corrupt your data!| |
- | |FULLSCREEN_FLAG|false (not set)| |+|f|fullscreen|user|Maximize the MapTool window on startup| | + | |FULLSCREEN_FLAG|false (not set)|-|+|f|fullscreen|user|Maximize the MapTool window on startup| |
- | |MONITOR_TO USE|-1 (not overwrite)| | |g|monitor|adv.|Sets which monitor (graphical device) to use.| | + | |MONITOR_TO USE|-1 (not overwrite)|-| |g|monitor|adv.|Sets which monitor (graphical device) to use.| |
- | |WINDOW_WIDTH|-1 (not overwrite)| | |w|width|adv.|Override MapTool window width. Only usable together with monitor and height| | + | |WINDOW_WIDTH|-1 (not overwrite)|-| |w|width|adv.|Override MapTool window width. Only usable together with monitor and height| |
- | |WINDOW_HEIGHT|-1 (not overwrite)| | |h|height|adv.|Override MapTool window height. Only usable together with monitor and width| | + | |WINDOW_HEIGHT|-1 (not overwrite)|-| |h|height|adv.|Override MapTool window height. Only usable together with monitor and width| |
- | |WINDOW_XPOS|-1 (not overwrite)| | |x|xpos|adv.|Override MapTool window starting x coordinate. Only usable together with monitor and ypos| | + | |WINDOW_XPOS|-1 (not overwrite)|-| |x|xpos|adv.|Override MapTool window starting x coordinate. Only usable together with monitor and ypos| |
- | |WINDOW_YPOS|-1 (not overwrite)| | |y|ypos|adv.|Override MapTool window starting y coordinate. Only usable together with monitor and xpos| | + | |WINDOW_YPOS|-1 (not overwrite)|-| |y|ypos|adv.|Override MapTool window starting y coordinate. Only usable together with monitor and xpos| |
|LIST_MACRO_FLAG|false (not set)| | |m|macros|adv.|Writes a list of the defined macro functions into the log| | |LIST_MACRO_FLAG|false (not set)| | |m|macros|adv.|Writes a list of the defined macro functions into the log| | ||
|RESET_FLAG|false (not set)| | |r|reset|adv.|Reset startup options to defaults| | |RESET_FLAG|false (not set)| | |r|reset|adv.|Reset startup options to defaults| | ||
- | |DEPRECATED_LOAD_CAMPAIGN_NAME| | | |F|file| |Load campaign from file on startup. Deprecated: Please use C or campaign| | + | |DEPRECATED_LOAD_CAMPAIGN_NAME| |-| |F|file| |Load campaign from file on startup. Deprecated: Please use LOAD_CAMPAIGN_NAME (C or campaign)| |
- | |LOAD_CAMPAIGN_NAME| | |+|C|campaign|user|Load campaign on startup. Arg.: Full file path and name of the campaign| | + | |LOAD_CAMPAIGN_NAME| |-|+|C|campaign|user|Load campaign on startup. Arg.: Full file path and name of the campaign| |
- | |MAPTOOL_STARTUP_FILE|startup.properties \\ under config dir.| | |P|startup-file|user|Override name (& path) of the startup properties file| | + | |LOAD_SERVER_FLAG|false (not set)|-|+|S|server|user|Start server on startup. Using server parameters from user preferences (last server start dialog)| |
+ | |LOAD_SERVER_DELAY|0|-|+|s|server-delay|user|Delay the start of the server for x seconds, e.g. network needs more time to be ready| | ||
+ | |LOAD_AUTOSAVE_FILE|ask|-|+|A|autosave|user|If there is a newer autosave file then the campaign to load, should the app load it (yes), not load it (no) or ask (ask) for the decision (default is ask)| | ||
+ | |MAPTOOL_STARTUP_FILE|startup.properties \\ under config dir.|-| |P|props-file|user|Override name (& path) of the startup properties file| | ||
|SKIP_AUTO_UPDATE_FLAG|false (not set)| |+| | |user|Skips the auto update process. There is also a user preference to do this.| | |SKIP_AUTO_UPDATE_FLAG|false (not set)| |+| | |user|Skips the auto update process. There is also a user preference to do this.| | ||
- | |LOCALE_LANGUAGE|default from OS|+|+| | |user|Sets the (default) language for the MapTool UI. Fallback will be en (English).| | + | |user.language|default from OS|+|+| | |user|Sets the (default) language for the MapTool UI. Fallback will be en (English).| |
- | |LOCALE_COUNTRY|default from oOS|+|+| | |user|Sets the (default) country for the MapTool UI.| | + | |user.region|default from OS|+|+| | |user|Sets the (default) |
|MAX_MEM| |+| | | |adv.| | | |MAX_MEM| |+| | | |adv.| | | ||
|MIN_MEM| |+| | | |adv.| | | |MIN_MEM| |+| | | |adv.| | | ||
Line 84: | Line 87: | ||
|JAVA2D_OPENGL_OPTION| |+| | | |adv.| | | |JAVA2D_OPENGL_OPTION| |+| | | |adv.| | | ||
|MACOSX_EMBEDDED_OPTION| |+| | | |adv.| | | |MACOSX_EMBEDDED_OPTION| |+| | | |adv.| | | ||
+ | |||
+ | </ | ||
==== Legend / Notes ==== | ==== Legend / Notes ==== | ||
Line 90: | Line 95: | ||
|KEY|identification of the value| | |KEY|identification of the value| | ||
|Default Value|The value, which is used if the value of the key is not set explicitly| | |Default Value|The value, which is used if the value of the key is not set explicitly| | ||
- | |System|Can be set in the MapTool.cfg or by the JVM command line parameters, if there is a + in the key row| | + | |System|Can be set in the MapTool.cfg or by the JVM command line parameters, if there is a + in the key row \\ Can be set in the MapTool.cfg using the command line option key with a ' |
|Startup|Can be set in the startup properties file, if there is a + in the key row. (+) has side conditions, see description in the row of the key| | |Startup|Can be set in the startup properties file, if there is a + in the key row. (+) has side conditions, see description in the row of the key| | ||
|Command Line Short|A single letter to use with a ' | |Command Line Short|A single letter to use with a ' | ||
Line 99: | Line 104: | ||
^Note for^Note| | ^Note for^Note| | ||
|Keys ending with FLAG|This keys have a boolean value, true or false. There default value is false and if they are set somewhere, they will be true, no matter what value was used to set the key. \\ (E.g. If you set SKIP_AUTO_UPDATE_FLAG=" | |Keys ending with FLAG|This keys have a boolean value, true or false. There default value is false and if they are set somewhere, they will be true, no matter what value was used to set the key. \\ (E.g. If you set SKIP_AUTO_UPDATE_FLAG=" | ||
+ | |||
+ | ==== user.language ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | MapTool has currently translations for the following languages: | ||
+ | |||
+ | ^Code^Language (en)| | ||
+ | |en|English (Default - Fallback)| | ||
+ | |ach|Acoli| | ||
+ | |cs|Czech| | ||
+ | |da|Danish| | ||
+ | |de|German| | ||
+ | |es|Spanish; | ||
+ | |fr|French| | ||
+ | |it|Italian| | ||
+ | |ja|Japanese| | ||
+ | |nl|Dutch; Flemish| | ||
+ | |pl|Polish| | ||
+ | |pt|Portuguese| | ||
+ | |ru|Russian| | ||
+ | |sv|Swedish| | ||
+ | |uk|Ukrainian| | ||
+ | |zh|Chinese| | ||
+ | |||
+ | If the translation is not there (completely or just for a specific text), the fallback language is English. | ||
+ | |||
+ | === How to Support Translations === | ||
+ | |||
+ | Quote from MapTools Discord: \\ //MapTool UI translations are crowd sourced on [[https:// | ||
+ | If it is, create an account and join the effort. Requests to join the translation team will be reviewed at the project manager(s) earliest opportunity.// | ||
+ | |||
+ | ==== user.region ==== | ||
+ | |||
+ | [[https:// | ||
===== Recommendation ===== | ===== Recommendation ===== | ||
Line 114: | Line 154: | ||
==== Under Construction ==== | ==== Under Construction ==== | ||
- | For MapTool Version 1.12.x (under development) | + | For MapTool Version 1.13.x (under development) |
project/mt/ug/stratupprops.1680783746.txt.gz · Last modified: 2023/04/06 14:22 by publisher