# HG changeset patch # User John "Elwin" Edwards # Date 1433874323 14400 # Node ID ad103f9f2e3a5eb6589e63d43de9a7f0e970a84d # Parent df7acc5653b39605723e0b43f99dce4c0f024dd8 Add support for Advanced Rogue 7 and XRogue. diff -r df7acc5653b3 -r ad103f9f2e3a dgl/dgamelaunch.conf --- 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: diff -r df7acc5653b3 -r ad103f9f2e3a dgl/dgl_menu_main_user.txt --- a/dgl/dgl_menu_main_user.txt Fri Jan 30 20:24:47 2015 -0500 +++ b/dgl/dgl_menu_main_user.txt Tue Jun 09 14:25:23 2015 -0400 @@ -9,14 +9,14 @@ Logged in as: $USERNAME - c) Change password - e) Change email address + c) Change password e) Change email address w) Watch games in progress - 3) Play Rogue V3 (3.6) - 4) Play Rogue V4 (5.2) - 5) Play Rogue V5 (5.4) + + 3) Play Rogue V3 A) Play Advanced Rogue 5 + 4) Play Rogue V4 7) Play Advanced Rogue 7 + 5) Play Rogue V5 X) Play XRogue S) Play Super-Rogue - A) Play Advanced Rogue 5 + q) Quit - => + => diff -r df7acc5653b3 -r ad103f9f2e3a py/rlgall.py --- a/py/rlgall.py Fri Jan 30 20:24:47 2015 -0500 +++ b/py/rlgall.py Tue Jun 09 14:25:23 2015 -0400 @@ -531,8 +531,10 @@ rogue5 = RogueGame("Rogue V5", "rogue5", "r5") srogue = RogueGame("Super-Rogue", "srogue", "sr") arogue5 = ARogueGame("Advanced Rogue 5", "arogue5", "ar5") +arogue7 = ARogueGame("Advanced Rogue 7", "arogue7", "ar7") +xrogue = ARogueGame("XRogue", "xrogue", "xr") -gamelist = [rogue3, rogue4, rogue5, srogue, arogue5] +gamelist = [rogue3, rogue4, rogue5, srogue, arogue5, arogue7, xrogue] def playerpage(pname): "Generate a player's HTML page" diff -r df7acc5653b3 -r ad103f9f2e3a web/about/arogue7.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/about/arogue7.html Tue Jun 09 14:25:23 2015 -0400 @@ -0,0 +1,20 @@ + + + +Advanced Rogue 7 + + + + +

Advanced Rogue 7

+ +
+

Advanced Rogue is a derivative of Rogue 3.6, with borrowings from Super-Rogue. +It was developed at AT&T, mainly by Michael Morgan and Ken Dalka. Version 7.7 was released in the middle of 1986. +

This version of Advanced Rogue features nine character classes, some with special conduct requirements. It also includes a rewritten time system.

+

The Roguelike Restoration Project updated the game to run on modern computers.

+

The Roguelike Gallery has fixed some bugs related to command repetition and saved games.

+
+
rlgallery.org Recent Games High Scores
+ + diff -r df7acc5653b3 -r ad103f9f2e3a web/about/index.html --- a/web/about/index.html Fri Jan 30 20:24:47 2015 -0500 +++ b/web/about/index.html Tue Jun 09 14:25:23 2015 -0400 @@ -16,6 +16,8 @@
  • About Rogue V5
  • About Super-Rogue
  • About Advanced Rogue 5
  • +
  • About Advanced Rogue 7
  • +
  • About XRogue
  • Other information

    Scoring

    diff -r df7acc5653b3 -r ad103f9f2e3a web/scoring/arogue7.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/scoring/arogue7.html Tue Jun 09 14:25:23 2015 -0400 @@ -0,0 +1,19 @@ + + + +Advanced Rogue 7 Statistics + + + + +

    Yendor Guild

    + +
    +

    Statistics for Advanced Rogue 7

    +
    +
    Advanced Rogue 7 experience
    +
    Advanced Rogue 7 scores
    +
    Advanced Rogue 7 depth
    +
    rlgallery.org Recent Games High Scores
    + + diff -r df7acc5653b3 -r ad103f9f2e3a web/scoring/index.html --- a/web/scoring/index.html Fri Jan 30 20:24:47 2015 -0500 +++ b/web/scoring/index.html Tue Jun 09 14:25:23 2015 -0400 @@ -21,6 +21,8 @@
  • Rogue V5
  • Super-Rogue
  • Advanced Rogue 5
  • +
  • Advanced Rogue 7
  • +
  • XRogue
  • rlgallery.org Recent Games High Scores
    diff -r df7acc5653b3 -r ad103f9f2e3a web/scoring/xrogue.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/scoring/xrogue.html Tue Jun 09 14:25:23 2015 -0400 @@ -0,0 +1,19 @@ + + + +XRogue Statistics + + + + +

    Yendor Guild

    + +
    +

    Statistics for XRogue

    +
    +
    XRogue experience
    +
    XRogue scores
    +
    XRogue depth
    +
    rlgallery.org Recent Games High Scores
    + +