Julian Mehnle wrote:
> Marc Leeman wrote:
> > [Usable ioquake/quake3-data packages?]
> > http://scorpius.homelinux.org/~marc/debian/
>
> Thanks!  Will try them and report back my findings.

I managed to successfully install both ioquake3-server and quake3-data, 
installing the data files from a mounted ISO image (made from my Quake 3 
CD and uploaded to my server).  In the following, I'm talking in the 
context of running ioquake3-server (a dedicated server), not ioquake3.

I `adduser`-ed a "quake3" user and added it to the "games" group.  I crea- 
ted a homedir for the user in /var/lib/quake3/.  I created an /etc/quake3/ 
config-dir where I put my (custom) server.cfg and maps.cfg files (chown 
quake3:games; chmod u=rw,g=r,o=).  I created symlinks in /var/lib/ 
quake3/.q3a/baseq3/ to those .cfg files.

Finally, I created the attached init script in /etc/init.d/.  Disclaimer: 
I'm not a SysV init-script expert and don't know the latest conventions, 
but the script works well for me.

I think moving to a "doom-package"-like system for installing the data 
files may be a good idea, even though the current package worked great.  I 
recommend providing some basic setup instructions in a README.Debian file, 
and perhaps a few example Quake 3 server config files (I'm attaching mine 
with the server passwords removed).  An init script should definitely be 
included with ioquake3-server.

Thanks for your work on those packages!

Julian.

Attachment: ioquake3-server
Description: application/shellscript

// vim:syn=quake

set sv_hostname "My Q3A Server"

set rconPassword "rcon-password"
set g_password "join-password"
//set sv_privateClients 4
//set sv_privatePassword "join-password"

set sv_strictAuth 0
set sv_pure 1
set sv_maxclients 8
set sv_maxRate 10240
set sv_allowDownload 1
set sv_master1 ""
set g_allowVote 1
set g_forcerespawn 0
set bot_nochat 1
//set logfile 2
//set g_logSync 1

// Team Deathmatch
//set g_gametype 3
//set g_teamAutoJoin 1
//set g_teamForceBalance 1
//set bot_enable 1
//set g_friendlyFire 0
//set teamflags 3
//set timelimit 30
//set fraglimit 25

// Free For All
set g_gametype 0
set timelimit 30
set fraglimit 25
// vim:syn=quake

set m01 "map q3dm3;      set nextmap vstr m02"
set m02 "map q3dm4;      set nextmap vstr m03"
set m03 "map q3dm7;      set nextmap vstr m04"
set m04 "map q3dm10;     set nextmap vstr m05"
set m05 "map q3dm12;     set nextmap vstr m06"
set m06 "map q3dm16;     set nextmap vstr m07"
set m07 "map q3dm17;     set nextmap vstr m08"
set m08 "map q3dm19;     set nextmap vstr m09"
set m09 "map q3tourney2; set nextmap vstr m10"
set m10 "map q3tourney3; set nextmap vstr m11"
set m11 "map q3tourney4; set nextmap vstr m12"
set m12 "map q3tourney6; set nextmap vstr m01"

vstr m01

Attachment: pgpprPsUCMUJb.pgp
Description: PGP signature

_______________________________________________
Pkg-games-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel

Reply via email to