Skip to content

Commit 2a14017

Browse files
committed
add goon crawl
1 parent e9a56d3 commit 2a14017

File tree

6 files changed

+59
-4
lines changed

6 files changed

+59
-4
lines changed

chroot/data/menus/experimental.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ branches may cause the loss of existing games, and branches may be removed
1212
without warning: don't get too attached to your character. Thanks for helping!
1313

1414
D) Dynamic Monsters! (As monsters track you, they can become more scary)
15-
H) HellCrawl! (Unofficial Crawl Fork, created by hellmonk)
15+
H) HellCrawl! (Features: less experience. Unfeatures: everything tavern hates)
16+
G) GoonCrawl! (Crawl, designed by committee)
1617

1718
A) Advanced Options (create save backup for experimental versions)
1819

chroot/data/menus/experimental_adv.txt

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Select the experimental version you wish to backup
1313

1414
D) Dpegs Dynamic Monsters
1515
H) HellCrawl
16+
G) GoonCrawl
1617

1718
q) Return to previous menu
1819

config.py

+12
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,18 @@
462462
inprogress_path = "%%CHROOT_INPROGRESSDIR%%/crawl-hellcrawl-cbro/",
463463
ttyrec_path = "%%CHROOT_TTYRECDIR%%/%n/",
464464
socket_path = "%%CHROOT_WEBDIR%%/sockets")),
465+
466+
("dcss-gooncrawl-cbro", dict(
467+
name = "GoonCrawl! (Crawl, but designed by committee)",
468+
crawl_binary = "/bin/crawl-stable-launcher.sh",
469+
separator = "<br>",
470+
pre_options = [ "gooncrawl-cbro" ],
471+
rcfile_path = "%%CHROOT_RCFILESDIR%%/crawl-git/",
472+
macro_path = "%%CHROOT_RCFILESDIR%%/crawl-git/",
473+
morgue_path = "%%CHROOT_MORGUEDIR%%/%n/",
474+
inprogress_path = "%%CHROOT_INPROGRESSDIR%%/crawl-gooncrawl-cbro/",
475+
ttyrec_path = "%%CHROOT_TTYRECDIR%%/%n/",
476+
socket_path = "%%CHROOT_WEBDIR%%/sockets")),
465477

466478
])
467479

crawl-build/update-crawl-stable-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ VERSION=${1:-0.11}
33

44
# Quoting for =~ changed from bash 3.0 to 3.2; using a variable for the
55
# regexp works with both.
6-
VERS_RE='^[0-9]+.[0-9]+|nostalgia|frogs|hellcrawl-cbro|cyno-PR|dpegs_dynamic_monsters|councilgod-PR|councilgod|adrenaline_rush|thorn_god|basajaun|salamander|faithful|evoker-god-rebase|orcs_and_elves|combo_god|abyssrun|evoker-god|imp|bearkin|squarelos-0.17|mulch_ado_about_nothing|no_backtracking_god$'
6+
VERS_RE='^[0-9]+.[0-9]+|nostalgia|frogs|gooncrawl-cbro|hellcrawl-cbro|cyno-PR|dpegs_dynamic_monsters|councilgod-PR|councilgod|adrenaline_rush|thorn_god|basajaun|salamander|faithful|evoker-god-rebase|orcs_and_elves|combo_god|abyssrun|evoker-god|imp|bearkin|squarelos-0.17|mulch_ado_about_nothing|no_backtracking_god$'
77
if [[ ! $VERSION =~ $VERS_RE ]]; then
88
echo "Bad crawl version $VERSION"
99
exit 1

dgamelaunch.conf

+41
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ menu["experimental"] {
402402
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/experimental.txt"
403403
commands["dD"] = play_game "dcss-dpegs_dynamic_monsters"
404404
commands["hH"] = play_game "dcss-hellcrawl-cbro"
405+
commands["gG"] = play_game "dcss-gooncrawl-cbro"
405406
commands["qQ"] = return
406407
commands["A"] = submenu "crawl-experimental-adv"
407408
}
@@ -414,6 +415,9 @@ menu["crawl-experimental-adv"] {
414415
commands["H"] =
415416
exec "/bin/savegame-backup.sh" "%n crawl-hellcrawl-cbro %%CHROOT_CRAWL_BASEDIR%%",
416417
return
418+
commands["G"] =
419+
exec "/bin/savegame-backup.sh" "%n crawl-gooncrawl-cbro %%CHROOT_CRAWL_BASEDIR%%",
420+
return
417421
commands["qQ"] = return
418422
}
419423

@@ -2565,6 +2569,43 @@ DEFINE {
25652569
encoding = "UTF-8"
25662570
}
25672571

2572+
DEFINE {
2573+
game_path = "/bin/crawl-stable-launcher.sh"
2574+
game_name = "Crawl (gooncrawl-cbro)"
2575+
short_name = "dcss-gooncrawl-cbro"
2576+
2577+
game_args = "/bin/crawl-stable-launcher.sh", "gooncrawl-cbro",
2578+
"-name", "%n",
2579+
"-rc", "%rrcfiles/crawl-git/%n.rc",
2580+
"-macro", "%rrcfiles/crawl-git/%n.macro",
2581+
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:dcss-gooncrawl-cbro.sock",
2582+
"-morgue", "%rmorgue/%n/"
2583+
2584+
extra_info_file = "%rmorgue/%n/%n.dglwhere"
2585+
2586+
#
2587+
# From inside the jail, where dgamelaunch should put mail - should
2588+
# match up with the game's settings.
2589+
spooldir = "%%CHROOT_MAILSPOOL%%/"
2590+
2591+
max_idle_time = 3600
2592+
2593+
# make sure the inprogress dir actually exists. default is "inprogress/"
2594+
# each game you define here must have it's own.
2595+
inprogressdir = "%rinprogress/crawl-gooncrawl-cbro/"
2596+
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
2597+
2598+
commands =
2599+
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-git/%n.macro",
2600+
ifnxcp "%rdata/crawl-git-settings/init.txt" "%rrcfiles/crawl-git/%n.rc",
2601+
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
2602+
setenv "SIMPLEMAIL" "1",
2603+
unlink "%%CHROOT_MAILSPOOL%%/%n",
2604+
mkdir "%rmorgue/%n/"
2605+
2606+
encoding = "UTF-8"
2607+
}
2608+
25682609
DEFINE {
25692610
game_path = "/bin/crawl-stable-launcher.sh"
25702611
game_name = "Crawl (frogs)"

utils/trigger-rebuild.pl

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ ()
151151
my $ver = param('v');
152152

153153
if (not $ver) {
154-
do_prompt 'trunk', '0.13', '0.14', '0.15', '0.16', '0.17', '0.18', '0.19', '0.20', '0.21', 'nostalgia', 'frogs','hellcrawl-cbro','cyno-PR','dpegs_dynamic_monsters','councilgod-PR', 'adrenaline_rush','thorn_god', 'basajaun', 'salamander', 'no_backtracking_god','evoker-god-rebase','orcs_and_elves','combo_god','abyssrun', 'evoker-god', 'imp', 'bearkin', 'mulch_ado_about_nothing', 'squarelos-0.17', 'faithful';
154+
do_prompt 'trunk', '0.13', '0.14', '0.15', '0.16', '0.17', '0.18', '0.19', '0.20', '0.21', 'nostalgia', 'frogs','gooncrawl-cbro', 'hellcrawl-cbro','cyno-PR','dpegs_dynamic_monsters','councilgod-PR', 'adrenaline_rush','thorn_god', 'basajaun', 'salamander', 'no_backtracking_god','evoker-god-rebase','orcs_and_elves','combo_god','abyssrun', 'evoker-god', 'imp', 'bearkin', 'mulch_ado_about_nothing', 'squarelos-0.17', 'faithful';
155155
} elsif ($ver eq 'trunk') {
156156
do_update 'trunk';
157-
} elsif ($ver =~ /^0.1[3456789]|^0.2[01]|evoker-god-rebase|orcs_and_elves|combo_god|abyssrun|nostalgia|frogs|hellcrawl-cbro|cyno-PR|dpegs_dynamic_monsters|councilgod-PR|councilgod|adrenaline_rush|thorn_god|basajaun|salamander|faithful|evoker-god|imp|bearkin|squarelos-0.17|mulch_ado_about_nothing|no_backtracking_god$/) {
157+
} elsif ($ver =~ /^0.1[3456789]|^0.2[01]|evoker-god-rebase|orcs_and_elves|combo_god|abyssrun|nostalgia|frogs|gooncrawl-cbro|hellcrawl-cbro|cyno-PR|dpegs_dynamic_monsters|councilgod-PR|councilgod|adrenaline_rush|thorn_god|basajaun|salamander|faithful|evoker-god|imp|bearkin|squarelos-0.17|mulch_ado_about_nothing|no_backtracking_god$/) {
158158

159159
do_update 'stable', $ver;
160160
} else {

0 commit comments

Comments
 (0)