Mercurial > hg > rlgallery-misc
changeset 63:ad103f9f2e3a
Add support for Advanced Rogue 7 and XRogue.
author | John "Elwin" Edwards |
---|---|
date | Tue, 09 Jun 2015 14:25:23 -0400 |
parents | df7acc5653b3 |
children | 86ae333bb4c0 |
files | dgl/dgamelaunch.conf dgl/dgl_menu_main_user.txt py/rlgall.py web/about/arogue7.html web/about/index.html web/about/xrogue.html web/index.html web/scoring/arogue7.html web/scoring/index.html web/scoring/xrogue.html |
diffstat | 10 files changed, 127 insertions(+), 10 deletions(-) [+] |
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:
--- 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 - => + =>
--- 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"
--- /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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<title>Advanced Rogue 7</title> +<link rel="stylesheet" type="text/css" href="/main.css"> +</head> + +<body> +<h1>Advanced Rogue 7</h1> +<div class="nav"><a href="/">rlgallery.org</a> -> <a href="/about/">About</a> -> Advanced Rogue 7</div> +<div class="content"> +<p>Advanced Rogue is a derivative of <a href="rogue3.html">Rogue 3.6</a>, with borrowings from <a href="srogue.html">Super-Rogue</a>. +It was developed at AT&T, mainly by Michael Morgan and Ken Dalka. Version 7.7 was released in the middle of 1986. +<p>This version of Advanced Rogue features nine character classes, some with special conduct requirements. It also includes a rewritten time system.</p> +<p>The <a href="http://rogue.rogueforge.net/">Roguelike Restoration Project</a> updated the game to run on modern computers.</p> +<p>The Roguelike Gallery has fixed some bugs related to command repetition and saved games.</p> +</div> +<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div> +</body> +</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 @@ <li><a href="rogue5.html">About Rogue V5</a></li> <li><a href="srogue.html">About Super-Rogue</a></li> <li><a href="arogue5.html">About Advanced Rogue 5</a></li> +<li><a href="arogue7.html">About Advanced Rogue 7</a></li> +<li><a href="xrogue.html">About XRogue</a></li> </ul> <h2>Other information</h2> <ul>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/about/xrogue.html Tue Jun 09 14:25:23 2015 -0400 @@ -0,0 +1,19 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<title>XRogue</title> +<link rel="stylesheet" type="text/css" href="/main.css"> +</head> + +<body> +<h1>XRogue</h1> +<div class="nav"><a href="/">rlgallery.org</a> -> <a href="/about/">About</a> -> XRogue</div> +<div class="content"> +<p>XRogue is a further development of <a href="arogue7.html">Advanced Rogue 7</a>, created by Robert Pietkivitch. He completed this version, numbered 8.0, +in 1991 or 1992. Compared to its predecessor, it features interface improvements and small adjustments to the game's balance.</p> +<p>The <a href="http://rogue.rogueforge.net/">Roguelike Restoration Project</a> updated the game to run on modern computers.</p> +<p>The Roguelike Gallery has fixed some bugs related to command repetition and saved games.</p> +</div> +<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div> +</body> +</html>
--- a/web/index.html Fri Jan 30 20:24:47 2015 -0500 +++ b/web/index.html Tue Jun 09 14:25:23 2015 -0400 @@ -20,10 +20,12 @@ <li><a href="/about/rogue5.html">Rogue V5</a></li> <li><a href="/about/srogue.html">Super-Rogue</a></li> <li><a href="/about/arogue5.html">Advanced Rogue 5</a></li> +<li><a href="/about/arogue7.html">Advanced Rogue 7</a></li> +<li><a href="/about/xrogue.html">XRogue</a></li> </ul> <h2>Scoring</h2> <ul> -<li><a href="/scoring/">Scores</a></li> +<li><a href="/scoring/">Score section</a></li> <li><a href="/recent.cgi">Recent games</a></li> <li><a href="/archive.cgi">ttyrec files</a></li> </ul>
--- /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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<title>Advanced Rogue 7 Statistics</title> +<link rel="stylesheet" type="text/css" href="./scores.css"> +</head> + +<body> +<h1>Yendor Guild</h1> +<div class="nav"><a href="/">rlgallery.org</a> -> <a href="/scoring/">Scores</a> -> Advanced Rogue 7</div> +<div class="content"> +<h2>Statistics for Advanced Rogue 7</h2> +</div> +<div class=graph><img src="./xl-arogue7.svg" alt="Advanced Rogue 7 experience"></div> +<div class=graph><img src="./score-arogue7.svg" alt="Advanced Rogue 7 scores"></div> +<div class=graph><img src="./deep-arogue7.svg" alt="Advanced Rogue 7 depth"></div> +<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div> +</body> +</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 @@ <li><a href="./rogue5.html">Rogue V5</a></li> <li><a href="./srogue.html">Super-Rogue</a></li> <li><a href="./arogue5.html">Advanced Rogue 5</a></li> +<li><a href="./arogue7.html">Advanced Rogue 7</a></li> +<li><a href="./xrogue.html">XRogue</a></li> </ul> </div> <div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div>
--- /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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<title>XRogue Statistics</title> +<link rel="stylesheet" type="text/css" href="./scores.css"> +</head> + +<body> +<h1>Yendor Guild</h1> +<div class="nav"><a href="/">rlgallery.org</a> -> <a href="/scoring/">Scores</a> -> XRogue</div> +<div class="content"> +<h2>Statistics for XRogue</h2> +</div> +<div class=graph><img src="./xl-xrogue.svg" alt="XRogue experience"></div> +<div class=graph><img src="./score-xrogue.svg" alt="XRogue scores"></div> +<div class=graph><img src="./deep-xrogue.svg" alt="XRogue depth"></div> +<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/high.cgi">High Scores</a></div> +</body> +</html>