Mercurial > hg > rlgallery-misc
diff 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 |
line wrap: on
line diff
--- a/dgl/dgamelaunch.conf Fri Jan 30 20:24:47 2015 -0500 +++ b/dgl/dgamelaunch.conf Tue Jun 09 14:25:23 2015 -0400 @@ -181,8 +181,11 @@ mkdir "%rttyrec/%n/rogue4", mkdir "%rttyrec/%n/rogue5", mkdir "%rttyrec/%n/srogue", - mkdir "%rttyrec/%n/arogue5" + mkdir "%rttyrec/%n/arogue5", + mkdir "%rttyrec/%n/arogue7", + mkdir "%rttyrec/%n/xrogue" +# TODO ensure they exist for existing users commands[login] = mkdir "%ruserdata/%n", mkdir "%rttyrec/%n", mkdir "%rttyrec/%n/rogue3", @@ -243,6 +246,8 @@ commands["5"] = play_game "RogueV5" commands["Ss"] = play_game "SRogue" commands["Aa"] = play_game "ARogue5" + commands["7"] = play_game "ARogue7" + commands["Xx"] = play_game "XRogue" commands["q"] = quit } @@ -321,6 +326,33 @@ commands = cp "/var/games/roguelike/arogue5save/%u-%n.ar5sav" "%rbackup/%u-%n.ar5sav.bak" } +# Advanced Rogue 7 +DEFINE { + game_path = "/usr/bin/arogue7" + game_name = "Advanced Rogue 7" + short_name = "ARogue7" + + game_args = "arogue7", "-n", "%n" + inprogressdir = "%rinprogress/arogue7/" + ttyrecdir = "%rttyrec/%n/arogue7/" + + commands = cp "/var/games/roguelike/arogue7save/%u-%n.ar7sav" "%rbackup/%u-%n.ar7sav.bak" +} + +# XRogue +DEFINE { + game_path = "/usr/bin/xrogue" + game_name = "XRogue" + short_name = "XRogue" + + game_args = "xrogue", "-n", "%n" + inprogressdir = "%rinprogress/xrogue/" + ttyrecdir = "%rttyrec/%n/xrogue/" + + commands = cp "/var/games/roguelike/xroguesave/%u-%n.xrsav" "%rbackup/%u-%n.xrsav.bak" +} + + # Next, we'll define one game's data: