Mercurial > hg > rlgallery-misc
comparison dgl/dgamelaunch.conf @ 63:ad103f9f2e3a
Add support for Advanced Rogue 7 and XRogue.
author | John "Elwin" Edwards |
---|---|
date | Tue, 09 Jun 2015 14:25:23 -0400 |
parents | e421ea2519ec |
children | 5f1b4d3151bb |
comparison
equal
deleted
inserted
replaced
62:df7acc5653b3 | 63:ad103f9f2e3a |
---|---|
179 mkdir "%rttyrec/%n", | 179 mkdir "%rttyrec/%n", |
180 mkdir "%rttyrec/%n/rogue3", | 180 mkdir "%rttyrec/%n/rogue3", |
181 mkdir "%rttyrec/%n/rogue4", | 181 mkdir "%rttyrec/%n/rogue4", |
182 mkdir "%rttyrec/%n/rogue5", | 182 mkdir "%rttyrec/%n/rogue5", |
183 mkdir "%rttyrec/%n/srogue", | 183 mkdir "%rttyrec/%n/srogue", |
184 mkdir "%rttyrec/%n/arogue5" | 184 mkdir "%rttyrec/%n/arogue5", |
185 | 185 mkdir "%rttyrec/%n/arogue7", |
186 mkdir "%rttyrec/%n/xrogue" | |
187 | |
188 # TODO ensure they exist for existing users | |
186 commands[login] = mkdir "%ruserdata/%n", | 189 commands[login] = mkdir "%ruserdata/%n", |
187 mkdir "%rttyrec/%n", | 190 mkdir "%rttyrec/%n", |
188 mkdir "%rttyrec/%n/rogue3", | 191 mkdir "%rttyrec/%n/rogue3", |
189 mkdir "%rttyrec/%n/rogue4", | 192 mkdir "%rttyrec/%n/rogue4", |
190 mkdir "%rttyrec/%n/rogue5", | 193 mkdir "%rttyrec/%n/rogue5", |
241 commands["3"] = play_game "RogueV3" | 244 commands["3"] = play_game "RogueV3" |
242 commands["4"] = play_game "RogueV4" | 245 commands["4"] = play_game "RogueV4" |
243 commands["5"] = play_game "RogueV5" | 246 commands["5"] = play_game "RogueV5" |
244 commands["Ss"] = play_game "SRogue" | 247 commands["Ss"] = play_game "SRogue" |
245 commands["Aa"] = play_game "ARogue5" | 248 commands["Aa"] = play_game "ARogue5" |
249 commands["7"] = play_game "ARogue7" | |
250 commands["Xx"] = play_game "XRogue" | |
246 commands["q"] = quit | 251 commands["q"] = quit |
247 } | 252 } |
248 | 253 |
249 # this menu is shown when user presses '?' in the watching menu | 254 # this menu is shown when user presses '?' in the watching menu |
250 menu["watchmenu_help"] { | 255 menu["watchmenu_help"] { |
318 inprogressdir = "%rinprogress/arogue5/" | 323 inprogressdir = "%rinprogress/arogue5/" |
319 ttyrecdir = "%rttyrec/%n/arogue5/" | 324 ttyrecdir = "%rttyrec/%n/arogue5/" |
320 | 325 |
321 commands = cp "/var/games/roguelike/arogue5save/%u-%n.ar5sav" "%rbackup/%u-%n.ar5sav.bak" | 326 commands = cp "/var/games/roguelike/arogue5save/%u-%n.ar5sav" "%rbackup/%u-%n.ar5sav.bak" |
322 } | 327 } |
328 | |
329 # Advanced Rogue 7 | |
330 DEFINE { | |
331 game_path = "/usr/bin/arogue7" | |
332 game_name = "Advanced Rogue 7" | |
333 short_name = "ARogue7" | |
334 | |
335 game_args = "arogue7", "-n", "%n" | |
336 inprogressdir = "%rinprogress/arogue7/" | |
337 ttyrecdir = "%rttyrec/%n/arogue7/" | |
338 | |
339 commands = cp "/var/games/roguelike/arogue7save/%u-%n.ar7sav" "%rbackup/%u-%n.ar7sav.bak" | |
340 } | |
341 | |
342 # XRogue | |
343 DEFINE { | |
344 game_path = "/usr/bin/xrogue" | |
345 game_name = "XRogue" | |
346 short_name = "XRogue" | |
347 | |
348 game_args = "xrogue", "-n", "%n" | |
349 inprogressdir = "%rinprogress/xrogue/" | |
350 ttyrecdir = "%rttyrec/%n/xrogue/" | |
351 | |
352 commands = cp "/var/games/roguelike/xroguesave/%u-%n.xrsav" "%rbackup/%u-%n.xrsav.bak" | |
353 } | |
354 | |
323 | 355 |
324 | 356 |
325 # Next, we'll define one game's data: | 357 # Next, we'll define one game's data: |
326 | 358 |
327 #DEFINE { | 359 #DEFINE { |