Mercurial > hg > rlgallery-misc
comparison dgl/dgamelaunch.conf @ 51:566e37477b91
Rearrange dgamelaunch watch menu to accomodate 20-char player names.
| author | John "Elwin" Edwards |
|---|---|
| date | Sun, 30 Mar 2014 20:03:53 -0700 |
| parents | 955c2fd68dcf |
| children | e421ea2519ec |
comparison
equal
deleted
inserted
replaced
| 50:4549b3c0cd28 | 51:566e37477b91 |
|---|---|
| 1 # rlgallery.org dgamelaunch configuration file | |
| 2 | |
| 1 # This is a sample dgamelaunch configuration file. Only bash-style comments | 3 # This is a sample dgamelaunch configuration file. Only bash-style comments |
| 2 # are allowed, such as this. Each configuration option will be explained | 4 # are allowed, such as this. Each configuration option will be explained |
| 3 # along with its default value. | 5 # along with its default value. |
| 4 | 6 |
| 5 | 7 |
| 30 # | 32 # |
| 31 # <sortname> may be "unsorted", "username", "game", "windowsize", "starttime", | 33 # <sortname> may be "unsorted", "username", "game", "windowsize", "starttime", |
| 32 # "duration", "idletime", or (if shmem is enabled) "watchers". | 34 # "duration", "idletime", or (if shmem is enabled) "watchers". |
| 33 # | 35 # |
| 34 watch_columns = [ ["", "", 1, "%s)"], | 36 watch_columns = [ ["", "", 1, "%s)"], |
| 35 ["User", "username", 4, "%-15s"], | 37 ["User", "username", 4, "%-20s"], |
| 36 ["Game", "game", 21, "%-11s"], | 38 ["Game", "game", 26, "%-11s"], |
| 37 ["Term", "windowsize", 34, "%s"], | 39 ["Term", "windowsize", 39, "%s"], |
| 38 ["Idle", "idletime", 43, "%-10s"], | 40 ["Idle", "idletime", 48, "%-10s"], |
| 39 ["Started", "starttime", 60, "%s"] | 41 ["Started", "starttime", 60, "%s"] |
| 40 ] | 42 ] |
| 41 | 43 |
| 42 # Path to a prepared chroot jail. | 44 # Path to a prepared chroot jail. |
| 43 chroot_path = "/var/dgl" | 45 chroot_path = "/var/dgl" |
| 237 # commands["string_of_keys"] = <commandlist> | 239 # commands["string_of_keys"] = <commandlist> |
| 238 # for example, you could use commands["qQ"] = quit | 240 # for example, you could use commands["qQ"] = quit |
| 239 commands["c"] = chpasswd | 241 commands["c"] = chpasswd |
| 240 commands["e"] = chmail | 242 commands["e"] = chmail |
| 241 commands["w"] = watch_menu | 243 commands["w"] = watch_menu |
| 242 commands["3"] = play_game "RogV3" | 244 commands["3"] = play_game "RogueV3" |
| 243 commands["4"] = play_game "RogV4" | 245 commands["4"] = play_game "RogueV4" |
| 244 commands["5"] = play_game "RogV5" | 246 commands["5"] = play_game "RogueV5" |
| 245 commands["Ss"] = play_game "SRog" | 247 commands["Ss"] = play_game "SRogue" |
| 246 commands["Aa"] = play_game "ARog5" | 248 commands["Aa"] = play_game "ARogue5" |
| 247 commands["q"] = quit | 249 commands["q"] = quit |
| 248 } | 250 } |
| 249 | 251 |
| 250 # this menu is shown when user presses '?' in the watching menu | 252 # this menu is shown when user presses '?' in the watching menu |
| 251 menu["watchmenu_help"] { | 253 menu["watchmenu_help"] { |
| 255 | 257 |
| 256 # Rogue V3: short and simple, like the game | 258 # Rogue V3: short and simple, like the game |
| 257 DEFINE { | 259 DEFINE { |
| 258 game_path = "/usr/bin/rogue3" | 260 game_path = "/usr/bin/rogue3" |
| 259 game_name = "Rogue V3 (3.6)" | 261 game_name = "Rogue V3 (3.6)" |
| 260 short_name = "RogV3" | 262 short_name = "RogueV3" |
| 261 | 263 |
| 262 game_args = "rogue3", "-n", "%n" | 264 game_args = "rogue3", "-n", "%n" |
| 263 | 265 |
| 264 inprogressdir = "%rinprogress/rogue3/" | 266 inprogressdir = "%rinprogress/rogue3/" |
| 265 ttyrecdir = "%rttyrec/%n/rogue3/" | 267 ttyrecdir = "%rttyrec/%n/rogue3/" |
| 272 | 274 |
| 273 # Rogue V4: just like it, but a little different | 275 # Rogue V4: just like it, but a little different |
| 274 DEFINE { | 276 DEFINE { |
| 275 game_path = "/usr/bin/rogue4" | 277 game_path = "/usr/bin/rogue4" |
| 276 game_name = "Rogue V4 (5.2)" | 278 game_name = "Rogue V4 (5.2)" |
| 277 short_name = "RogV4" | 279 short_name = "RogueV4" |
| 278 | 280 |
| 279 game_args = "rogue4", "-n", "%n" | 281 game_args = "rogue4", "-n", "%n" |
| 280 inprogressdir = "%rinprogress/rogue4/" | 282 inprogressdir = "%rinprogress/rogue4/" |
| 281 ttyrecdir = "%rttyrec/%n/rogue4/" | 283 ttyrecdir = "%rttyrec/%n/rogue4/" |
| 282 | 284 |
| 285 | 287 |
| 286 # Rogue V5: a little more different from both | 288 # Rogue V5: a little more different from both |
| 287 DEFINE { | 289 DEFINE { |
| 288 game_path = "/usr/bin/rogue5" | 290 game_path = "/usr/bin/rogue5" |
| 289 game_name = "Rogue V5 (5.4)" | 291 game_name = "Rogue V5 (5.4)" |
| 290 short_name = "RogV5" | 292 short_name = "RogueV5" |
| 291 | 293 |
| 292 game_args = "rogue5", "-n", "%n" | 294 game_args = "rogue5", "-n", "%n" |
| 293 inprogressdir = "%rinprogress/rogue5/" | 295 inprogressdir = "%rinprogress/rogue5/" |
| 294 ttyrecdir = "%rttyrec/%n/rogue5/" | 296 ttyrecdir = "%rttyrec/%n/rogue5/" |
| 295 | 297 |
| 298 | 300 |
| 299 # Super-Rogue: different? | 301 # Super-Rogue: different? |
| 300 DEFINE { | 302 DEFINE { |
| 301 game_path = "/usr/bin/srogue" | 303 game_path = "/usr/bin/srogue" |
| 302 game_name = "Super-Rogue" | 304 game_name = "Super-Rogue" |
| 303 short_name = "SRog" | 305 short_name = "SRogue" |
| 304 | 306 |
| 305 game_args = "srogue", "-n", "%n" | 307 game_args = "srogue", "-n", "%n" |
| 306 inprogressdir = "%rinprogress/srogue/" | 308 inprogressdir = "%rinprogress/srogue/" |
| 307 ttyrecdir = "%rttyrec/%n/srogue/" | 309 ttyrecdir = "%rttyrec/%n/srogue/" |
| 308 | 310 |
| 311 | 313 |
| 312 # Advanced Rogue 5: not different? | 314 # Advanced Rogue 5: not different? |
| 313 DEFINE { | 315 DEFINE { |
| 314 game_path = "/usr/bin/arogue5" | 316 game_path = "/usr/bin/arogue5" |
| 315 game_name = "Advanced Rogue 5" | 317 game_name = "Advanced Rogue 5" |
| 316 short_name = "ARog5" | 318 short_name = "ARogue5" |
| 317 | 319 |
| 318 game_args = "arogue5", "-n", "%n" | 320 game_args = "arogue5", "-n", "%n" |
| 319 inprogressdir = "%rinprogress/arogue5/" | 321 inprogressdir = "%rinprogress/arogue5/" |
| 320 ttyrecdir = "%rttyrec/%n/arogue5/" | 322 ttyrecdir = "%rttyrec/%n/arogue5/" |
| 321 | 323 |
