Add support for Advanced Rogue 7 and XRogue.
This commit is contained in:
parent
fd5b0c83b6
commit
824fc6e7fd
10 changed files with 127 additions and 10 deletions
|
|
@ -181,8 +181,11 @@ commands[register] = mkdir "%ruserdata/%n",
|
|||
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 @@ menu["mainmenu_user"] {
|
|||
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 @@ DEFINE {
|
|||
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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
=>
|
||||
=>
|
||||
|
|
|
|||
|
|
@ -531,8 +531,10 @@ rogue4 = RogueGame("Rogue V4", "rogue4", "r4")
|
|||
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"
|
||||
|
|
|
|||
20
web/about/arogue7.html
Normal file
20
web/about/arogue7.html
Normal file
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
19
web/about/xrogue.html
Normal file
19
web/about/xrogue.html
Normal file
|
|
@ -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>
|
||||
|
|
@ -20,10 +20,12 @@ of historical roguelikes is being restored and made available for play on this s
|
|||
<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>
|
||||
|
|
|
|||
19
web/scoring/arogue7.html
Normal file
19
web/scoring/arogue7.html
Normal file
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
19
web/scoring/xrogue.html
Normal file
19
web/scoring/xrogue.html
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue