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/11 20:20] – snarfbur | 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 uses launchers generated with jpackage, which does not allow users to use JVM command line parameters |
- | * Normally you can set the properties from the [JavaOptions] | + | * Use the section |
- | * 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 53: | 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 64: | 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.| | ||
|user.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).| | ||
Line 95: | 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 104: | 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 119: | 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.1681237219.txt.gz · Last modified: 2023/04/11 20:20 by snarfbur