661 lines
23 KiB
Plaintext
661 lines
23 KiB
Plaintext
# Global config variables:
|
|
|
|
# Max amount of registered users to allow.
|
|
maxusers = 64000
|
|
|
|
allow_new_nicks = yes
|
|
|
|
# Max length for newly registered nicks. Must be less than 20.
|
|
# By default, NetHack only stores the first 10 chars of a name into
|
|
# the record/logfile.
|
|
maxnicklen = 20
|
|
|
|
# Set the default watching-screen sorting mode. Can be one of
|
|
# "username", "game", "windowsize", "starttime" or "idletime".
|
|
# "username" is the default.
|
|
sortmode = "username"
|
|
|
|
# Maximum idle time in menus
|
|
menu_max_idle_time = 3600
|
|
|
|
# Path to a prepared chroot jail.
|
|
chroot_path = "%%DGL_CHROOT%%/"
|
|
|
|
# From inside the jail, dgamelaunch's working directory for rcfiles/ttyrec/etc
|
|
dglroot = "%%CHROOT_DGLDIR%%/"
|
|
|
|
# Server ID string
|
|
server_id = "CTVO - Dungeon Crawl Stone Soup - crawl.tildeverse.org"
|
|
|
|
|
|
# From inside the jail, location of a banner file, the topmost line will be
|
|
# shown in submenus that cannot be defined separately.
|
|
# Some string substitution is done for the file:
|
|
# $VERSION replaced with "dgamelaunch v" + dgl version number.
|
|
# $SERVERID replaced with the server_id string, as defined above.
|
|
banner = "%%CHROOT_DGLDIR%%/data/dgl-banner"
|
|
|
|
# The following two options are fairly insecure. They will force us to
|
|
# load the password/group database into memory while still having root
|
|
# privileges. Replace them with shed_uid/shed_gid entries as soon as
|
|
# possible if you decide to use them. dgamelaunch will inform you of
|
|
# the uids/gids corresponding to your choices when it loads.
|
|
#
|
|
# Note that shed_uid and shed_gid will always take precedence over
|
|
# shed_user and shed_group if they are specified.
|
|
|
|
# shed_user: username to shed privileges to
|
|
# shed_user = crawl
|
|
# shed_group: group name to shed privileges to
|
|
# shed_group = crawl
|
|
|
|
# Preferably, you may use the respective gids/uids.
|
|
# crawl/crawl
|
|
shed_uid = 1001
|
|
shed_gid = 1001
|
|
|
|
# The defaults are usually just fine for this. passwd refers to the file
|
|
# that stores the user database, and lockfile is only used internally by
|
|
# dgamelaunch.
|
|
|
|
passwd = "%%CHROOT_DGLDIR%%/data/dgl-login"
|
|
lockfile = "%%CHROOT_DGLDIR%%/data/dgl-lock"
|
|
|
|
watch_columns = [ ["", "", 0, "%s)"],
|
|
["User", "username", 3, "%-15s"],
|
|
["Game", "game", 19, "%-9s"],
|
|
["Where", "extrainfo", 33, "%-18s"],
|
|
["Term", "windowsize", 53, "%s"],
|
|
["Idle", "idletime", 62, "%-10s"],
|
|
["Viewers", "watchers", 73, "%4s"]
|
|
]
|
|
|
|
#
|
|
# define some commands that are run when something happens. format is
|
|
# commands [ <time> ] = <command> ...
|
|
#
|
|
# <time> can be one of:
|
|
# dglstart = when someone telnets in
|
|
# login = when user has logged in
|
|
# register = right after a new user is registered
|
|
# gamestart = just before a game is started
|
|
#
|
|
# <command> is:
|
|
# mkdir "foo" = create a directory "foo"
|
|
# chdir "foo" = change current work dir to "foo"
|
|
# cp "foo" "bar" = copy file "foo" to "bar", overwriting previous "bar"
|
|
# ifnxcp "foo" "bar" = copy file "foo" to "bar", if "bar" doesn't exist
|
|
# unlink "foo" = delete file "foo"
|
|
# setenv "foo" "bar" = set environment variable "foo" to "bar"
|
|
# exec "foo" "bar" = execute "foo" with "bar" as it's param
|
|
# chpasswd = do the change password prompting, if logged in
|
|
# chmail = do the change email prompting, if logged in
|
|
# watch_menu = go to the watching menu
|
|
# quit = quit dgl
|
|
# ask_login = do the login prompting, if not logged in
|
|
# ask_register = do register new user prompting, if not logged in and
|
|
# registration of new nicks is allowed.
|
|
# edit_options "foo" = edit options for game which has the short name "foo"
|
|
# (user must be logged in)
|
|
# play_game "foo" = start game which has the short name "foo"
|
|
# (user must be logged in)
|
|
# submenu "foo" = go to submenu "foo"
|
|
# return = return from submenu
|
|
#
|
|
# The commands will be done inside the chroot and with the uid and gid
|
|
# defined above.
|
|
# Parameters to the commands are subject to variable substitution:
|
|
# %r = dglroot, as defined above
|
|
# %n = user nick, if user is logged in
|
|
# %u = shed_uid, as defined above, but numeric
|
|
# %g = game name, if user has selected a game.
|
|
# %s = short game name, if user has selected a game.
|
|
#
|
|
# eg. commands[login] = mkdir "foo", unlink "bar", setenv "Z" "foo"
|
|
#
|
|
|
|
commands[register] = mkdir "%%CHROOT_TTYRECDIR%%/%n",
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-git/%n.macro",
|
|
ifnxcp "%rdata/crawl-git-settings/init.txt" "%rrcfiles/crawl-git/%n.rc",
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.22/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.22-settings/init.txt" "%rrcfiles/crawl-0.22/%n.rc",
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.23/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.23-settings/init.txt" "%rrcfiles/crawl-0.23/%n.rc"
|
|
|
|
commands[login] = mkdir "%%CHROOT_TTYRECDIR%%/%n",
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-git/%n.macro",
|
|
ifnxcp "%rdata/crawl-git-settings/init.txt" "%rrcfiles/crawl-git/%n.rc",
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.22/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.22-settings/init.txt" "%rrcfiles/crawl-0.22/%n.rc",
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.23/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.23-settings/init.txt" "%rrcfiles/crawl-0.23/%n.rc"
|
|
|
|
# commands[gamestart] =
|
|
# mkdir "%%CHROOT_TTYRECDIR%%/%n",
|
|
# mkdir "%%CHROOT_TTYRECDIR%%/%n/sprint",
|
|
# mkdir "%%CHROOT_TTYRECDIR%%/%n/zotdef",
|
|
# setenv "SIMPLEMAIL" "1",
|
|
# setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n"
|
|
|
|
menu["mainmenu_anon"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/main_anon.txt"
|
|
# cursor = (5,18)
|
|
commands["lL"] = ask_login
|
|
commands["rR"] = ask_register
|
|
commands["wW"] = watch_menu
|
|
commands["qQ"] = quit
|
|
}
|
|
|
|
menu["mainmenu_admin"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/main_admin.txt"
|
|
commands["cC"] = chpasswd
|
|
commands["eE"] = chmail
|
|
commands["wW"] = watch_menu
|
|
commands["tT"] = submenu "crawl-git"
|
|
commands["0"] = submenu "crawl-0.23"
|
|
commands["1"] = submenu "crawl-0.22"
|
|
commands["pP"] = play_game "dcss-0.23"
|
|
commands["sS"] = play_game "spr-0.23"
|
|
commands["qQ"] = quit
|
|
}
|
|
|
|
menu["mainmenu_user"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/main_user.txt"
|
|
commands["cC"] = chpasswd
|
|
commands["eE"] = chmail
|
|
commands["wW"] = watch_menu
|
|
commands["tT"] = submenu "crawl-git"
|
|
commands["0"] = submenu "crawl-0.23"
|
|
commands["1"] = submenu "crawl-0.22"
|
|
commands["pP"] = play_game "dcss-0.23"
|
|
commands["sS"] = play_game "spr-0.23"
|
|
commands["qQ"] = quit
|
|
}
|
|
|
|
menu["watchmenu_help"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/watchmenu_help.txt"
|
|
commands["qQ "] = return
|
|
}
|
|
|
|
menu["crawl-git"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/crawl_git.txt"
|
|
commands["o"] = exec "ee" "%rrcfiles/crawl-git/%n.rc"
|
|
commands["O"] = exec "virus" "%rrcfiles/crawl-git/%n.rc"
|
|
commands["m"] = exec "ee" "%rrcfiles/crawl-git/%n.macro"
|
|
commands["M"] = exec "virus" "%rrcfiles/crawl-git/%n.macro"
|
|
commands["v"] = exec "ee" "%%CHROOT_CRAWL_GAMEDIR%%/data/docs/crawl_changelog.txt"
|
|
commands["V"] = exec "virus" "%%CHROOT_CRAWL_GAMEDIR%%/data/docs/crawl_changelog.txt"
|
|
commands["pP"] = play_game "dcss-git"
|
|
commands["tT"] = play_game "tut-git"
|
|
commands["sS"] = play_game "spr-git"
|
|
commands["A"] = submenu "crawl-git-adv"
|
|
commands["wW"] = watch_menu
|
|
commands["qQ"] = return
|
|
}
|
|
menu["crawl-0.23"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/crawl-0.23.txt"
|
|
commands["o"] = exec "ee" "%rrcfiles/crawl-0.23/%n.rc"
|
|
commands["O"] = exec "virus" "%rrcfiles/crawl-0.23/%n.rc"
|
|
commands["m"] = exec "ee" "%rrcfiles/crawl-0.23/%n.macro"
|
|
commands["M"] = exec "virus" "%rrcfiles/crawl-0.23/%n.macro"
|
|
commands["v"] = exec "ee" "%%CHROOT_CRAWL_GAMEDIR%%/crawl-0.23/data/docs/crawl_changelog.txt"
|
|
commands["V"] = exec "virus" "%%CHROOT_CRAWL_GAMEDIR%%/crawl-0.23/data/docs/crawl_changelog.txt"
|
|
commands["pP"] = play_game "dcss-0.23"
|
|
commands["tT"] = play_game "tut-0.23"
|
|
commands["sS"] = play_game "spr-0.23"
|
|
commands["A"] = submenu "crawl-0.23-adv"
|
|
commands["wW"] = watch_menu
|
|
commands["qQ"] = return
|
|
}
|
|
menu["crawl-0.22"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/crawl-0.22.txt"
|
|
commands["o"] = exec "ee" "%rrcfiles/crawl-0.22/%n.rc"
|
|
commands["O"] = exec "virus" "%rrcfiles/crawl-0.22/%n.rc"
|
|
commands["m"] = exec "ee" "%rrcfiles/crawl-0.22/%n.macro"
|
|
commands["M"] = exec "virus" "%rrcfiles/crawl-0.22/%n.macro"
|
|
commands["v"] = exec "ee" "%%CHROOT_CRAWL_GAMEDIR%%/crawl-0.22/data/docs/crawl_changelog.txt"
|
|
commands["V"] = exec "virus" "%%CHROOT_CRAWL_GAMEDIR%%/crawl-0.22/data/docs/crawl_changelog.txt"
|
|
commands["pP"] = play_game "dcss-0.22"
|
|
commands["tT"] = play_game "tut-0.22"
|
|
commands["sS"] = play_game "spr-0.22"
|
|
commands["A"] = submenu "crawl-0.22-adv"
|
|
commands["wW"] = watch_menu
|
|
commands["qQ"] = return
|
|
}
|
|
|
|
|
|
|
|
menu["crawl-git-adv"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/crawl_git_adv.txt"
|
|
commands["B"] =
|
|
exec "/bin/savegame-backup.sh" "%n crawl-git %%CHROOT_CRAWL_BASEDIR%%",
|
|
return
|
|
commands["O"] =
|
|
cp "%rdata/crawl-git-settings/init.txt" "%rrcfiles/crawl-git/%n.rc",
|
|
return
|
|
commands["M"] =
|
|
cp "%rdata/crawl-git.macro" "%rrcfiles/crawl-git/%n.macro",
|
|
return
|
|
commands["qQ"] = return
|
|
}
|
|
menu["crawl-0.23-adv"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/crawl-0.23_adv.txt"
|
|
commands["B"] =
|
|
exec "/bin/savegame-backup.sh" "%n crawl-0.23 %%CHROOT_CRAWL_BASEDIR%%",
|
|
return
|
|
commands["O"] =
|
|
cp "%rdata/crawl-0.23-settings/init.txt" "%rrcfiles/crawl-0.23/%n.rc",
|
|
return
|
|
commands["M"] =
|
|
cp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.23/%n.macro",
|
|
return
|
|
commands["qQ"] = return
|
|
}
|
|
menu["crawl-0.22-adv"] {
|
|
bannerfile = "%%CHROOT_DGLDIR%%/data/menus/crawl-0.22_adv.txt"
|
|
commands["B"] =
|
|
exec "/bin/savegame-backup.sh" "%n crawl-0.22 %%CHROOT_CRAWL_BASEDIR%%",
|
|
return
|
|
commands["O"] =
|
|
cp "%rdata/crawl-0.22-settings/init.txt" "%rrcfiles/crawl-0.22/%n.rc",
|
|
return
|
|
commands["M"] =
|
|
cp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.22/%n.macro",
|
|
return
|
|
commands["qQ"] = return
|
|
}
|
|
|
|
|
|
|
|
|
|
##############################################################################
|
|
## NON-CRAWL GAMES
|
|
##############################################################################
|
|
#DEFINE {
|
|
# game_path = "/bin/atc-launcher.sh"
|
|
# game_name = "atc"
|
|
# short_name = "atc"
|
|
# game_args = "/bin/atc-launcher.sh", "%n"
|
|
# inprogressdir = "%rinprogress/atc/"
|
|
# ttyrecdir = "%%CHROOT_TTYRECDIR%%-atc/"
|
|
# encoding = "UTF-8"
|
|
# spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
#}
|
|
#
|
|
#DEFINE {
|
|
# game_path = "/bin/boggle-launcher.sh"
|
|
# game_name = "boggle"
|
|
# short_name = "boggle"
|
|
# game_args = "/bin/boggle-launcher.sh", "%n"
|
|
# inprogressdir = "%rinprogress/boggle/"
|
|
# ttyrecdir = "%%CHROOT_TTYRECDIR%%-boggle/"
|
|
# encoding = "UTF-8"
|
|
# spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
#}
|
|
#
|
|
#DEFINE {
|
|
# game_path = "/usr/games/robotfindskitten"
|
|
# game_name = "robotfindskitten"
|
|
# short_name = "rfk"
|
|
# game_args = "/usr/games/robotfindskitten"
|
|
# inprogressdir = "%rinprogress/rfk/"
|
|
# ttyrecdir = "%%CHROOT_TTYRECDIR%%-rfk/"
|
|
# encoding = "UTF-8"
|
|
# spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
#}
|
|
|
|
##############################################################################
|
|
## GIT
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-git-launcher.sh"
|
|
game_name = "Crawl (trunk)"
|
|
short_name = "dcss-git"
|
|
|
|
game_args = "/bin/crawl-git-launcher.sh",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-git/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-git/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:dcss-git.sock",
|
|
"-morgue", "%rmorgue/%n/"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-git/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-git/%n.macro",
|
|
ifnxcp "%rdata/crawl-git-settings/init.txt" "%rrcfiles/crawl-git/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-git-launcher.sh"
|
|
game_name = "Sprint (trunk)"
|
|
short_name = "spr-git"
|
|
|
|
game_args = "/bin/crawl-git-launcher.sh",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-git/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-git/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:spr-git.sock",
|
|
"-morgue", "%rmorgue/%n/",
|
|
"-sprint"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-git-sprint/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-git/%n.macro",
|
|
ifnxcp "%rdata/crawl-git-settings/init.txt" "%rrcfiles/crawl-git/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-git-launcher.sh"
|
|
game_name = "Tutorial (trunk)"
|
|
short_name = "tut-git"
|
|
|
|
game_args = "/bin/crawl-git-launcher.sh",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-git/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-git/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:tut-git.sock",
|
|
"-morgue", "%rmorgue/%n/",
|
|
"-tutorial"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-git-tut/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-git/%n.macro",
|
|
ifnxcp "%rdata/crawl-git-settings/init.txt" "%rrcfiles/crawl-git/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
## 0.23
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-stable-launcher.sh"
|
|
game_name = "Crawl (0.23)"
|
|
short_name = "dcss-0.23"
|
|
|
|
game_args = "/bin/crawl-stable-launcher.sh", "0.23",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-0.23/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-0.23/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:dcss-0.23.sock",
|
|
"-morgue", "%rmorgue/%n/"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-0.23/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.23/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.23-settings/init.txt" "%rrcfiles/crawl-0.23/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-stable-launcher.sh"
|
|
game_name = "Sprint (0.23)"
|
|
short_name = "spr-0.23"
|
|
|
|
game_args = "/bin/crawl-stable-launcher.sh", "0.23",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-0.23/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-0.23/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:spr-0.23.sock",
|
|
"-morgue", "%rmorgue/%n/",
|
|
"-sprint"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-0.23-sprint/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.23/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.23-settings/init.txt" "%rrcfiles/crawl-0.23/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-stable-launcher.sh"
|
|
game_name = "Tutorial (0.23)"
|
|
short_name = "tut-0.23"
|
|
|
|
game_args = "/bin/crawl-stable-launcher.sh", "0.23",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-0.23/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-0.23/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:tut-0.23.sock",
|
|
"-morgue", "%rmorgue/%n/",
|
|
"-tutorial"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-0.23-tut/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.23/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.23-settings/init.txt" "%rrcfiles/crawl-0.23/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
## 0.22
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-stable-launcher.sh"
|
|
game_name = "Crawl (0.22)"
|
|
short_name = "dcss-0.22"
|
|
|
|
game_args = "/bin/crawl-stable-launcher.sh", "0.22",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-0.22/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-0.22/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:dcss-0.22.sock",
|
|
"-morgue", "%rmorgue/%n/"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-0.22/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.22/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.22-settings/init.txt" "%rrcfiles/crawl-0.22/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-stable-launcher.sh"
|
|
game_name = "Sprint (0.22)"
|
|
short_name = "spr-0.22"
|
|
|
|
game_args = "/bin/crawl-stable-launcher.sh", "0.22",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-0.22/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-0.22/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:spr-0.22.sock",
|
|
"-morgue", "%rmorgue/%n/",
|
|
"-sprint"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-0.22-sprint/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.22/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.22-settings/init.txt" "%rrcfiles/crawl-0.22/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|
|
##############################################################################
|
|
DEFINE {
|
|
game_path = "/bin/crawl-stable-launcher.sh"
|
|
game_name = "Tutorial (0.22)"
|
|
short_name = "tut-0.22"
|
|
|
|
game_args = "/bin/crawl-stable-launcher.sh", "0.22",
|
|
"-name", "%n",
|
|
"-rc", "%rrcfiles/crawl-0.22/%n.rc",
|
|
"-macro", "%rrcfiles/crawl-0.22/%n.macro",
|
|
"-webtiles-socket", "%%CHROOT_CRAWL_BASEDIR%%/webserver/sockets/%n:tut-0.22.sock",
|
|
"-morgue", "%rmorgue/%n/",
|
|
"-tutorial"
|
|
|
|
extra_info_file = "%rmorgue/%n/%n.dglwhere"
|
|
|
|
#
|
|
# From inside the jail, where dgamelaunch should put mail - should
|
|
# match up with the game's settings.
|
|
spooldir = "%%CHROOT_MAILSPOOL%%/"
|
|
|
|
max_idle_time = 3600
|
|
|
|
# make sure the inprogress dir actually exists. default is "inprogress/"
|
|
# each game you define here must have it's own.
|
|
inprogressdir = "%rinprogress/crawl-0.22-tut/"
|
|
ttyrecdir = "%%CHROOT_TTYRECDIR%%/%n/"
|
|
|
|
commands =
|
|
ifnxcp "%rdata/crawl-git.macro" "%rrcfiles/crawl-0.22/%n.macro",
|
|
ifnxcp "%rdata/crawl-0.22-settings/init.txt" "%rrcfiles/crawl-0.22/%n.rc",
|
|
setenv "MAIL" "%%CHROOT_MAILSPOOL%%/%n",
|
|
setenv "SIMPLEMAIL" "1",
|
|
unlink "%%CHROOT_MAILSPOOL%%/%n",
|
|
mkdir "%rmorgue/%n/"
|
|
|
|
encoding = "UTF-8"
|
|
}
|
|
|