-
Notifications
You must be signed in to change notification settings - Fork 0
/
my.properties
166 lines (149 loc) · 6.29 KB
/
my.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
####################### My preferences ################################
#
# IMPORTANT NOTE:
# If you want to use a customized version of my.properties
# (under the same or a different name), then please insert the option
# -Dconfigfile=<filepath> in your Rails startup command.
#
# Example:
# java -Dconfigfile=/Rails/18xx/my_my.properties -jar rails-1.1.2.jar
#
########################################################################
#
# Preferred tile format.
# The only currently supported format is svg. Anything else is ignored.
#tile.format_preference=svg
# Root directory for the tile images (just above directory 'tiles').
# Not required if tile images are provided included in the Rails jar file.
#tile.root_directory=
### Locale ####
# Language: two-letter ISO code (lower case; default is en=English).
# Country: two-letter ISO code (upper case; specifies country
# (implying a language variant of that country; no default).
# Locale: concatenation of the above. If present, overrides any of the above.
# Examples: en, en_US, en_UK, fr_FR, fr_CA.
#locale=en_US
#language=en
#country=US
### Money display ###
# Each game has a specific format for monetary amounts (e.g. $100, 100M).
# An overriding format can be specified here, but then applies to all games.
# The @ character must be present and is replaced by the amount.
# Example: £@ to specify a pound sign prefix: £100.
#money_format=$@
### Save file directory
# If the below entry exists, is not empty, and specifies an existing
# directory, that directory is used as a starting point for any
# file choosing action for the Save and Load commands.
# The path may be relative or absolute.
#save.directory=save
# The default Save filename is <gamename>_<datetimepattern>.<extension>
# This name will be initially proposed.
# As soon as that proposal has been changed once in a Save action,
# the last used name is always proposed in stead.
# The default date/time pattern is yyyyMMdd_HHmm
# The pattern codes are as defined in the Java class
# SimpleDateFormat (just Google that name to find the codes).
#save.filename.date_time_pattern=yyyyMMdd_HHmm
# The default timezone is local time.
# A specific timezone (such as UTC) can be set; the value must be a Java timezone ID
save.filename.date_time_zone=UTC
# Optionally, a suffix (e.g. player name) can be added after the time stamp
# with a preceding underscore (which is automatically added)
# The special value NEXT_PLAYER puts the next moving player name into this spot.
#save.filename.suffix=NEXT_PLAYER
# The default extension is .rails
#save.filename.extension=rails
### AutoSave for game recovery
# Activation of autosave (default is yes)
# save.recovery.active=yes
# Filepath for autosave (default is 18xx_autosave.rails in current working directory
# save.recovery.filepath=18xx_autosave.rails
### Game report directory
# If the below entry exists, is not empty, and specifies an existing
# directory, a copy of the Game Report (as displayed in the Report Window)
# will be saved there. The path may be relative or absolute.
#report.directory=log
# The default file name includes the game name and the game start time:
# 18XX_yyyymmdd_hhmm.txt where 18XX is the game name.
# You can specify different values for the date/time part and teh extension here.
# The date/time pattern must be as defined in the Java SimpleDateFormat class.
#report.filename.date_time_pattern=yyyyMMdd
#report.filename.extension=log
### Windows
## Report window visibility
# By default the report window is hidden when starting or loading a game.
# This property allows to open it automatically.
# Valid values are yes and no (default).
#report.window.open=yes
## Report window editability
# Specify if the report window is editable, so you can add your own comments.
# Valid values are yes and no (default).
#report.window.editable=yes
## Stock Chart window visibility
# By default the stock chart hides at the end of an SR.
# By specifying "yes" here, the window will not be automatically hidden any more
#stockchart.window.open=yes
### Player info
## Default players
# Comma-separated list of player names.
# Useful for game testing purposes.
#default_players=Alice,Bob,Charlie
#
## Local player name
# Useful for distributed usage (Internet, PBEM, cloud storage/dropbox)
# Required for "request turn" facility with cloud storage (dropbox)
#local.player.name=Alice
### Default game
# Name of game selected in the game selection window.
# Useful for game testing purposes.
#default_game=1830
### Various options
# Show simple (ORx) or composite (ORx.x) OR number.
# Valid values: "simple" and "composite" (default)
#or.number_format=simple
### Fonts for user interface
## Font size scaling (1.0 = default standard size)
#font.ui.scale=1.5
## Font selection
#font.ui.name=Arial
## Font style (only plain and bold supported)
#font.ui.style=plain
## all settings above can have game specific settings
## simply add the name of the game as appendix, Example:
#font.ui.scale.18EU=0.8
### Map display
## Zoomstep for map (10 = default)
#map.zoomstep=10
## Scrolling to show the network of acting company (yes = default)
#map.autoscroll=yes
## all settings above can have game specific settings
#map.zoomstep.18EU=8
### Colours
## Train route colours
# As in the XML files, colours can be specified as either hexadecimal RRGGBB,
# or as decimal RR,GG,BB
#route.colour.1=FF0000
#route.colour.2=00FF00
#route.colour.3=0000FF
#route.colour.4=808000
####################### Log4J properties ##############################
# For information on how to customise log4j logging, see for instance
# http://www.vipan.com/htdocs/log4jhelp.html
# It's a bit outdated: Category is now named Logger,
# and Priority is now named Level.
# But it's the best intro I know on how to configure Appenders. (EV)
#######################################################################
# Set root logger level to DEBUG and use appender F(file)
#log4j.debug=true
log4j.rootLogger=DEBUG, F
log4j.logger.rails.algorithms=INFO
# Define the Log file appender
log4j.appender.F=org.apache.log4j.FileAppender
# Log file properties
log4j.appender.F.File=18xx.log
log4j.appender.F.append=false
# Log file layout
log4j.appender.F.layout=org.apache.log4j.PatternLayout
log4j.appender.F.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %m%n
################## End of Log4J properties #############################