]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
rm'd further nex-havoc references
authorStephan Stahl <esteel@eos.franken.de>
Tue, 30 Mar 2010 20:55:57 +0000 (20:55 +0000)
committerStephan Stahl <esteel@eos.franken.de>
Tue, 30 Mar 2010 20:55:57 +0000 (20:55 +0000)
replace nex with xonotic in a lot of places

31 files changed:
havoc/default.cfg [deleted file]
nexuiz-linux-glx.sh [deleted file]
nexuiz-linux-sdl.sh [deleted symlink]
readme.html
server/help.cfg
server/rcon2irc/bans.pl
server/rcon2irc/echo-rcon.pl
server/rcon2irc/fastest_lap.pl
server/rcon2irc/irc_nick_change.pl
server/rcon2irc/joinmessage.pl
server/rcon2irc/joinsparts.pl
server/rcon2irc/ping-pl.pl
server/rcon2irc/raw.pl
server/rcon2irc/rbiserver.pl
server/rcon2irc/rcon2irc-example.conf
server/rcon2irc/rcon2irc.pl
server/rcon2irc/rcon2irc.txt
server/rcon2irc/rename.pl
server/rcon2irc/showlogins.pl
server/rcon2irc/suggestmap.pl
server/rcon2irc/votestop.pl
server/readme.txt
server/server.cfg
server/server_havoc_linux.sh [deleted file]
server/server_havoc_mac.sh [deleted file]
server/server_havoc_windows.bat [deleted file]
server/server_linux.sh
server/server_mac.sh
server/server_windows.bat
xonotic-linux-glx.sh [new file with mode: 0755]
xonotic-linux-sdl.sh [new symlink]

diff --git a/havoc/default.cfg b/havoc/default.cfg
deleted file mode 100644 (file)
index e87c29e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-exec defaultHavoc.cfg
diff --git a/nexuiz-linux-glx.sh b/nexuiz-linux-glx.sh
deleted file mode 100755 (executable)
index f99704b..0000000
+++ /dev/null
@@ -1,121 +0,0 @@
-#!/bin/sh
-
-path=`dirname "${0}"`
-link=`readlink "${0}"`
-
-[ -n "${link}" ] && path=`dirname "${link}"`
-cd "${path}"
-
-case "${0##*/}" in
-  *sdl*)       mode="sdl" ;;
-  *)           mode="glx" ;;
-esac
-
-case "$(uname -m)" in
-  x86_64)      arch="x86_64" ;;
-  *)           arch="686" ;;
-esac
-
-nexuiz="nexuiz-linux-${arch}-${mode}"
-
-set -- ./${nexuiz} "${@}"
-
-xserver=
-xlayout=
-
-setdisplay()
-{
-       VALUE=$1
-       VALUE=${VALUE#\"}
-       VALUE=${VALUE%\"}
-       case "$VALUE" in
-               :*)
-                       ;;
-               *)
-                       VALUE=:$VALUE
-                       ;;
-       esac
-       VALUE="$VALUE/"
-       xserver="${VALUE%%/*}"
-       xserver=${xserver#:}
-       xlayout=${VALUE#*/}
-       xlayout=${xlayout%/}
-}
-
-# now how do we execute it?
-if [ -r ~/.nexuiz/data/config.cfg ]; then
-       while read -r CMD KEY VALUE; do
-               case "$CMD:$KEY" in
-                       seta:vid_x11_display)
-                               setdisplay "$VALUE"
-                               ;;
-               esac
-       done < ~/.nexuiz/data/config.cfg
-fi
-
-m=0
-for X in "$@"; do
-       case "$m:$X" in
-               0:+vid_x11_display)
-                       m=1
-                       ;;
-               0:+vid_x11_display\ *)
-                       setdisplay "${X#+vid_x11_display }"
-                       ;;
-               1:*)
-                       setdisplay "$X"
-                       m=0
-                       ;;
-               *)
-                       ;;
-       esac
-done
-
-case "$xserver" in
-       '')
-               ;;
-       *[!0-9]*)
-               echo "Not using display ':$xserver': evil characters"
-               ;;
-       *)
-               msg=
-               lf='
-'
-               prefix=
-
-               # check for a listening X server on that socket
-               if netstat -nl | grep -F " /tmp/.X11-unix/X$xserver" >/dev/null; then
-                       # X server already exists
-                       export DISPLAY=:$xserver
-                       prefix="DISPLAY=:$xserver "
-                       msg=$msg$lf"- Running Nexuiz on already existing display :$xserver"
-               else
-                       set -- startx "$@" -fullscreen -- ":$xserver"
-                       msg=$msg$lf"- Running Nexuiz on a newly created X server :$xserver."
-                       case "$xlayout" in
-                               '')
-                                       ;;
-                               *[!A-Za-z0-9]*)
-                                       echo >&2 "Not using layout '$xlayout': evil characters"
-                                       xlayout=
-                                       ;;
-                               *)
-                                       set -- "$@" -layout "$xlayout"
-                                       msg=$msg$lf"- Using the ServerLayout section named $xlayout."
-                                       ;;
-                       esac
-               fi
-
-               echo "X SERVER OVERRIDES IN EFFECT:$msg"
-               echo
-               echo "Resulting command line:"
-               echo "  $prefix$*"
-               echo
-               echo "To undo these overrides, edit ~/.nexuiz/data/config.cfg and remove the line"
-               echo "starting with 'seta vid_x11_display'."
-               echo
-               echo
-               ;;
-esac
-
-exec "$@"
diff --git a/nexuiz-linux-sdl.sh b/nexuiz-linux-sdl.sh
deleted file mode 120000 (symlink)
index 1e3c60f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-nexuiz-linux-glx.sh
\ No newline at end of file
index c55926df6364704c9264a4f2b69b43bcad43e283..6625a3bd03fb8b9a54e162eb381d41ca2fcc0dc5 100644 (file)
@@ -4,9 +4,9 @@
 <head>\r
 <meta http-equiv="content-type" content="text/html; charset=utf-8" />\r
 <meta name="author" content="Tyler Mulligan of www.detrition.net a.k.a -z- of www.nexuizninjaz.com" />\r
-<meta name="Description" content="Nexuiz is a free open-source fast paced first person shooter (FPS) that runs on Windows, Linux and OSX.  Nexuiz utilizes the darkplaces engine modeled after the Quake series." />\r
-<meta name="Keywords" content="Nexuiz, Nexiuz, first person shooter, darkplaces, open-source game, open source game, free game, linux game, deathmatch, death match, ctf, quake, alientrap, alien trap, ninjaz" />\r
-<title>Nexuiz - A free open-source fast paced first person shooter (FPS) for Windows, Linux and OSX</title>\r
+<meta name="Description" content="Xonotic is a free open-source fast paced first person shooter (FPS) that runs on Windows, Linux and OSX.  Xonotic utilizes the darkplaces engine modeled after the Quake series." />\r
+<meta name="Keywords" content="Xonotic, Nexiuz, first person shooter, darkplaces, open-source game, open source game, free game, linux game, deathmatch, death match, ctf, quake, alientrap, alien trap, ninjaz" />\r
+<title>Xonotic - A free open-source fast paced first person shooter (FPS) for Windows, Linux and OSX</title>\r
 <link rel="stylesheet" href="Docs/htmlfiles/style.css" type="text/css"></link>\r
 <link rel="shortcut icon" href="favicon.ico"></link>\r
 </head>\r
        <div id="left">\r
                <div id="logo">\r
 \r
-                       <a href="http://www.nexuiz.com" title="Nexuiz - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_logo.jpg" alt="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="201" height="193" border="0" title="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." /></a>\r
+                       <a href="http://www.xonotic.org" title="Xonotic - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_logo.jpg" alt="Xonotic is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="201" height="193" border="0" title="Xonotic is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." /></a>\r
                </div>\r
                <!-- Sidebar -->\r
          <div id="sidebar">\r
-                       <a href="news.php" title="Latest Nexuiz News"><img src="Docs/htmlfiles/img/headers/latest_news.gif" alt="Latest News" width="168" height="16" border="0" class="imgHeader" style="margin-top:0;" title="Latest Nexuiz News" /></a>\r
+                       <a href="news.php" title="Latest Xonotic News"><img src="Docs/htmlfiles/img/headers/latest_news.gif" alt="Latest News" width="168" height="16" border="0" class="imgHeader" style="margin-top:0;" title="Latest Xonotic News" /></a>\r
                        <div id="news">\r
                          <div class="newsPost">\r
-                                               <h1><a href="http://nexuiz.com/news.php" title="Two Nexuiz 1v1 Tourneys">nexuiz.com/news - for nexuiz news updates</a></h1>\r
+                                               <h1><a href="http://xonotic.org/news.php" title="Two Xonotic 1v1 Tourneys">xonotic.org/news - for xonotic news updates</a></h1>\r
                          </div>\r
                </div>\r
                        <!-- Downloads -->\r
-                       <a href="downloads.php" title="Nexuiz Downloads (Game, Maps)"><img src="Docs/htmlfiles/img/headers/downloads.gif" alt="Downloads" width="145" height="15" border="0" class="imgHeader" title="Downloads" /></a>\r
-                       <a id="download_nexuiz" href="http://www.sourceforge.net/projects/nexuiz/" title="Download Nexuiz from Source Forge - Left Click">&nbsp;</a>\r
-                       <!--<a id="download_q3_mappack" href="http://downloads.sourceforge.net/nexuiz/nexmappack_r2.zip" title="Download Nexuiz Q3 Mappack from Source\r
+                       <a href="downloads.php" title="Xonotic Downloads (Game, Maps)"><img src="Docs/htmlfiles/img/headers/downloads.gif" alt="Downloads" width="145" height="15" border="0" class="imgHeader" title="Downloads" /></a>\r
+                       <a id="download_xonotic" href="http://www.sourceforge.net/projects/xonotic/" title="Download Xonotic from Source Forge - Left Click">&nbsp;</a>\r
+                       <!--<a id="download_q3_mappack" href="http://downloads.sourceforge.net/xonotic/nexmappack_r2.zip" title="Download Xonotic Q3 Mappack from Source\r
                        Forge - Left Click">&nbsp;</a>-->\r
-                       <h2 class="page"><a href="http://nexuiz.com/downloads.php" title="Nexuiz Download Mirrors">Mirrors -&gt;</a></h2>\r
+                       <h2 class="page"><a href="http://xonotic.org/downloads.php" title="Xonotic Download Mirrors">Mirrors -&gt;</a></h2>\r
                        <!-- Help Wanted -->\r
                        \r
                        <img src="Docs/htmlfiles/img/headers/help_wanted.gif" alt="Help Wanted" width="165" height="15" class="imgHeader" title="Help Wanted" />                        \r
@@ -40,7 +40,7 @@
                                <!-- It not an elegant solution but I don't expect many users to arrive with JS turned off -->\r
                 <input name="submit" type="image" src="Docs/htmlfiles/img/donate_button_noscript.jpg" alt="Help this project - Donate to the aliens" width="166" height="43" />\r
 </noscript>\r
-                       <h2 class="page"><a href="http://nexuiz.com/donators.php" title="Those who have donated to Nexuiz">Donators -&gt;</a></h2>\r
+                       <h2 class="page"><a href="http://xonotic.org/donators.php" title="Those who have donated to Xonotic">Donators -&gt;</a></h2>\r
                        <input name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----" type="hidden" /></form>\r
                        \r
                  <!-- Created By -->\r
                <!-- end sidebar -->    </div><!-- end left -->\r
        <div id="right">\r
                <div id="header">\r
-                       <a href="http://nexuiz.com" title="Nexuiz - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_header.jpg" alt="Nexuiz is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="766" height="107" border="0" title="Nexuiz - Simple, fast, intense and completely free" /></a>\r
+                       <a href="http://xonotic.org" title="Xonotic - Simple, fast, intense and completely free"><img src="Docs/htmlfiles/img/nexuiz_header.jpg" alt="Xonotic is a free open-source fast paced first person shooter that runs on Windows, Linux and OSX." width="766" height="107" border="0" title="Xonotic - Simple, fast, intense and completely free" /></a>\r
                </div>\r
                <div id="menu">\r
                        <ul>\r
 \r
-                               <li class="first"><a href="readme.html" title="Nexuiz - Latest News">About </a></li>\r
-                               <li><a href="Docs/basics.html" title="Nexuiz - Media (Screenshots, videos and graphics)">Nexuiz Basics</a></li>\r
-                               <li><a href="Docs/say-esc.html" title="Nexuiz Information  (General, System Requirements)">Say Escapes</a></li>\r
+                               <li class="first"><a href="readme.html" title="Xonotic - Latest News">About </a></li>\r
+                               <li><a href="Docs/basics.html" title="Xonotic - Media (Screenshots, videos and graphics)">Xonotic Basics</a></li>\r
+                               <li><a href="Docs/say-esc.html" title="Xonotic Information  (General, System Requirements)">Say Escapes</a></li>\r
                                <li><a href="Docs/irc.html" title="Nexuiz - Downloads (Game, Maps)">IRC</a></li>\r
                                <li><a href="Docs/faq.html" title="Official Nexuiz FAQ">FAQ</a></li>\r
                                <li class="first"></li>\r
index 4f8ec4d527f6c4a3d33c70cbccea7426dc622f96..110915785ff7e5b6fc33f85def9f6951c243c9c4 100644 (file)
@@ -16,7 +16,7 @@ set help_cfg_prefix "^2"
 // help messages
 set help_msg_count 61
 set help_msg_0 "Big Admin is watching you, so please be friendly or feel his almighty ban-hammer!"
-set help_msg_1 "If you want to learn more about Nexuiz read Nexuiz/Docs/basics.html as it contains lots of useful tips and tricks, explains all the guns and gametes and helps to improve your game"
+set help_msg_1 "If you want to learn more about Xonotic read Xonotic/Docs/basics.html as it contains lots of useful tips and tricks, explains all the guns and gametes and helps to improve your game"
 set help_msg_2 "Please watch out for balanced teams and change by pressing F5 (teammenu) or F6 (auto join 'best' team)"
 set help_msg_3 "When trying to bunny-hop you can re-press the jump button while you are still in the air, this will make those jumps VERY easy to time and work more reliable"
 set help_msg_4 "When a vote is called you can accept it via F1 or reject it via F2 (default keys)"
@@ -34,7 +34,7 @@ set help_msg_15 "Notice what is happening around you! If your base is empty in C
 set help_msg_16 "You can drop the gun you currently have with backspace (default key). You can help your unarmed teammates this way."
 set help_msg_17 "Learn to use the team messages! You find them in the Setting/Input menu. Try changing them to keys you can press easier than the defaults"
 set help_msg_18 "Gaming should be fun! Try to have a nice time, be helpful, mindful and treat others like you want to be treated"
-set help_msg_19 "Some interesting Nexuiz related webpages include the official forum on http://alientrap.org/forum/ , http://nexuizninjaz.com , http://planetnexuiz.de"
+set help_msg_19 "Some interesting Xonotic related webpages include the official forum on http://alientrap.org/forum/ , http://nexuizninjaz.com , http://planetxonotic.de"
 set help_msg_20 "If you already have a good gun, it's a great idea to let your teammates get something better than the shotgun too!"
 set help_msg_21 "Press T to chat with others, press Y for messages to your team only, press TAB to see the scores, U for the chat history (default keys)"
 set help_msg_22 "You can use 'suggestmap PART_OF_NAME' to make a map come up at the vote screen after a round was played"
@@ -54,13 +54,13 @@ set help_msg_35 "The HLAC has less spread if you crouch. Secondary is a powerful
 set help_msg_36 "The TAG seeker requires you to hit with the laser (primary) before it will release several target seeking rockets. Secondary is a shield or crazy flamethrower"
 set help_msg_37 "The Camping Rifle shoots projectiles, so you need to lead your aim and consider gravity, but it can pierce thin walls and do headshots"
 set help_msg_38 "By default, explosions go through walls. Be careful when hiding behind walls!"
-set help_msg_39 "Get on IRC to chat with fellow players. #nexuiz on irc.quakenet.org is the most famous place"
+set help_msg_39 "Get on IRC to chat with fellow players. #xonotic on irc.quakenet.org is the most famous place"
 set help_msg_40 "Don't drink and frag"
 set help_msg_41 "Don't shoot at players who are typing/chatting. You recognize those players by the keyboard symbols above their head"
 set help_msg_42 "GG is shorthand for 'Good Game'"
 set help_msg_43 "Players with the prefix '$bot_prefix' in their nick are bots on this server. There is also a clan named [BOT]"
 set help_msg_44 "Read the help messages!"
-set help_msg_45 "Visit the nexuiz ladder at http://planetnexuiz.com/ladder/ You can download demos of matches played by skilled players there. Studying these demos can help you to learn how to play this game"
+set help_msg_45 "Visit the xonotic ladder at http://planetxonotic.com/ladder/ You can download demos of matches played by skilled players there. Studying these demos can help you to learn how to play this game"
 set help_msg_46 "Start playing 1on1 if you want to learn fast"
 set help_msg_47 "Visit http://alientrap.org/forum/ for discussion, more hints and news"
 set help_msg_48 "Look for servers that have a good ping for you. You can't play this game well with a ping > 100. If there are no servers close enough to you, cooperate with your friends to setup one"
index bb526a5d17ca800f7d8fd8da709b6e9a3d51a238..3d2b2aa3a8af6d2772317c5b04169324a3a83c62 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - bans.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - bans.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 $store{plugin_bans}->{interval} = 60; #interval to displays bans
index 94df84f1327a45e132dab8b044ae396a9d118d32..6d0e2de0c4f41aecd7cf4af2bd87ee73267425c9 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - echo-rcon.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - echo-rcon.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 sub out($$@);
index a1b19f413ebc6134eb5da6a780f22ca8c507dc24..f71a80756596dd6b23a51db151dab2af74f735a0 100644 (file)
@@ -1,6 +1,6 @@
 sub out($$@);
 
-# chat: Nexuiz server -> IRC channel, fastest record in race and ctf
+# chat: Xonotic server -> IRC channel, fastest record in race and ctf
 [ dp => q{:recordset:(\d+):(.*)} => sub {
        my ($id, $record) = @_;
        my $nick = $store{"playernick_byid_$id"};
index 0ac0d59f246610baccc175ed9181eb38fb8f6ff6..091e74ef31b421a1b5aee87984c75e9d9735e624 100644 (file)
@@ -1,5 +1,5 @@
 sub out($$@);
-       # chat: IRC channel -> Nexuiz server, nick change
+       # chat: IRC channel -> Xonotic server, nick change
        [ irc => q{:([^! ]*)![^ ]* (?i:NICK) :(.*)} => sub {
                my ($nick, $newnick) = @_;
                $nick = color_dpfix $nick;
index 980538aabf99393129a797e77ea53c902fda588e..31fadadd0da29b3cf2d17ce1b9d4d07d094c93bf 100644 (file)
@@ -1,9 +1,9 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinmessage.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinmessage.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 # Do not use more than 5 lines here, as they will be cut off by the client.
 my @jmtext = (
-       "Welcome to this Nexuiz server",
+       "Welcome to this Xonotic server",
        "Have fun but please behave.",
 );
 
index 72bd544ce9236124ccb242763798b9d7db70a9f3..9a7b3b085d0ce96d5aee4c0d9d3b6b4f8e8054cd 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinsparts.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - joinsparts.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 # Don't forget to edit the options below to suit your needs.
 
index dcff14acc5806ac3376add735038adf296f4c5da..f360aade92ceeafc5c78c81d975534e99d6060e5 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - ping-pl.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - ping-pl.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 # Don't forget to edit the options below to suit your needs.
 
index 2e874f289d93b3f16bdb9859bc366741312acbbe..94efc9841afe3eff9f8cac4a62b20d01bd1da22c 100644 (file)
@@ -1,11 +1,11 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - raw.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - raw.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 # Use this plugin with extreme caution, it allows irc-admins to modify ANYTHING on your server.
 
 # Usage: In query with the bot the raw command directs commands to the server or irc connection.
 # Example: raw dp exec server.cfg
-# Example: raw irc PRIVMSG #nexuiz: YaY!
+# Example: raw irc PRIVMSG #xonotic: YaY!
 
 sub out($$@);
 
index 2afac957b27e31778b1a214e01e4ff1a51f59e55..ba89d990690eda5e38fc464c382d95c050cb2384 100644 (file)
@@ -3,7 +3,7 @@ sub out($$@);
 sub markmap($$$$;$)
 {
        my ($state, $map, $pro, $total, $who) = @_;
-       open my $fh, '>>', "$ENV{HOME}/.nexuiz/__votelog.$config{irc_nick}.txt"
+       open my $fh, '>>', "$ENV{HOME}/.xonotic/__votelog.$config{irc_nick}.txt"
                or die "votelog open: $!";
        print $fh "@{[time()]} $config{irc_nick} $state $map $pro $total" . (defined $who ? " $who" : "") . "\n";
        close $fh;
@@ -104,12 +104,12 @@ sub markmap($$$$;$)
        my $ip = $store{"playerip_byid_$id"};
        my $slot = $store{"playerslot_byid_$id"};
        my $name = $config{irc_nick};
-       $name =~ s/Nex//; # haggerNexCTF -> haggerCTF
+       $name =~ s/Xon//; # haggerXonCTF -> haggerCTF
        $name =~ s/^rm/hagger/g; # rmRace -> haggerRace
        my $map = $store{map};
        $map =~ s/^[a-z]*_//;
        $ip =~ s/\./-/g;
-       my $pattern = "/home/nexuiz/home-$name/data/sv_autodemos/????-??-??_??-??_${map}_${slot}_${ip}-*.dem";
+       my $pattern = "/home/xonotic/home-$name/data/sv_autodemos/????-??-??_??-??_${map}_${slot}_${ip}-*.dem";
        if(my @result = glob $pattern)
        {
                for(@result)
@@ -133,8 +133,8 @@ sub markmap($$$$;$)
 # delete demos at the end of the match
 [ dp => q{:end} => sub {
        my $name = $config{irc_nick};
-       $name =~ s/Nex//; # haggerNexCTF -> haggerCTF
-       my $pattern = "/home/nexuiz/data/home-$name/data/sv_autodemos/*.dem";
+       $name =~ s/Xon//; # haggerXonCTF -> haggerCTF
+       my $pattern = "/home/xonotic/data/home-$name/data/sv_autodemos/*.dem";
        print "Checking $pattern...\n";
        for(glob $pattern)
        {
index 30417efae156c6e86229395b200184848827c06d..8e7186155fb85c9440415d3e1d53f08082821500 100644 (file)
@@ -4,10 +4,10 @@ dp_password = hackme
 
 # IRC configuration
 irc_server = irc.oftc.net
-irc_nick = testNex
-irc_nick_alternates = testNex_ testNex__
+irc_nick = testXon
+irc_nick_alternates = testXon_ testXon__
 irc_user = banme
-irc_channel = #Nexuiz-Pwayers
+irc_channel = #Xonotic-Pwayers
 
 # uncomment for server administration via IRC
 #irc_admin_password = hackme
@@ -25,7 +25,7 @@ irc_channel = #Nexuiz-Pwayers
 #plugins =
 
 # Alternate IRC trigger (can be used instead of nickname to send stuff to the server)
-#irc_trigger = nexnexnex
+#irc_trigger = xonxonxon
 
 # Custom output options
 #irc_announce_slotsfree = 1
index 07de35223a808832e0d9395ebf6bb66ef15f4e89..489a7e17a3eb9a1d7bfbe04bcd639338a96bb9f1 100755 (executable)
@@ -729,9 +729,9 @@ our %config = (
 
 
 
-# Nexuiz specific parsing of some server messages
+# Xonotic specific parsing of some server messages
 
-sub nex_slotsstring()
+sub xon_slotsstring()
 {
        my $slotsstr = "";
        if(defined $store{slots_max})
@@ -740,7 +740,7 @@ sub nex_slotsstring()
                my $slots_s = ($slots == 1) ? '' : 's';
                $slotsstr = " ($slots free slot$slots_s)";
                my $s = $config{dp_server_from_wan} || $config{dp_server};
-               $slotsstr .= "; join now: \002nexuiz +connect $s"
+               $slotsstr .= "; join now: \002xonotic +connect $s"
                        if $slots >= 1 and not $store{lms_blocked};
        }
        return $slotsstr;
@@ -1104,7 +1104,7 @@ sub cond($)
                        }
                        else
                        {
-                               my $slotsstr = nex_slotsstring();
+                               my $slotsstr = xon_slotsstring();
                                out irc => 0, "PRIVMSG $config{irc_channel} :\001ACTION can be joined again$slotsstr!\001";
                        }
                }
@@ -1391,14 +1391,14 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel
+       # chat: Xonotic server -> IRC channel
        [ dp => q{\001(.*?)\^7: (.*)} => sub {
                my ($nick, $message) = map { color_dp2irc $_ } @_;
                out irc => 0, "PRIVMSG $config{irc_channel} :<$nick\017> $message";
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel, nick set
+       # chat: Xonotic server -> IRC channel, nick set
        [ dp => q{:join:(\d+):(\d+):([^:]*):(.*)} => sub {
                my ($id, $slot, $ip, $nick) = @_;
                $store{"playernickraw_byid_$id"} = $nick;
@@ -1410,7 +1410,7 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel, nick change/set
+       # chat: Xonotic server -> IRC channel, nick change/set
        [ dp => q{:name:(\d+):(.*)} => sub {
                my ($id, $nick) = @_;
                $store{"playernickraw_byid_$id"} = $nick;
@@ -1421,7 +1421,7 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel, vote call
+       # chat: Xonotic server -> IRC channel, vote call
        [ dp => q{:vote:vcall:(\d+):(.*)} => sub {
                my ($id, $command) = @_;
                $command = color_dp2irc $command;
@@ -1430,7 +1430,7 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel, vote stop
+       # chat: Xonotic server -> IRC channel, vote stop
        [ dp => q{:vote:vstop:(\d+)} => sub {
                my ($id) = @_;
                my $oldnick = $id ? $store{"playernick_byid_$id"} : "(console)";
@@ -1438,7 +1438,7 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel, master login
+       # chat: Xonotic server -> IRC channel, master login
        [ dp => q{:vote:vlogin:(\d+)} => sub {
                my ($id) = @_;
                my $oldnick = $id ? $store{"playernick_byid_$id"} : "(console)";
@@ -1446,7 +1446,7 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel, master do
+       # chat: Xonotic server -> IRC channel, master do
        [ dp => q{:vote:vdo:(\d+):(.*)} => sub {
                my ($id, $command) = @_;
                $command = color_dp2irc $command;
@@ -1455,7 +1455,7 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: Nexuiz server -> IRC channel, result
+       # chat: Xonotic server -> IRC channel, result
        [ dp => q{:vote:v(yes|no|timeout):(\d+):(\d+):(\d+):(\d+):(-?\d+)} => sub {
                my ($result, $yes, $no, $abstain, $not, $min) = @_;
                my $spam = "$yes:$no" . (($min >= 0) ? " ($min needed)" : "") . ", $abstain didn't care, $not didn't vote";
@@ -1463,7 +1463,7 @@ sub cond($)
                return 0;
        } ],
 
-       # chat: IRC channel -> Nexuiz server
+       # chat: IRC channel -> Xonotic server
        [ irc => q{:([^! ]*)![^ ]* (?i:PRIVMSG) (?i:(??{$config{irc_channel}})) :(?i:(??{$store{irc_nick}}))(?: |: ?|, ?)(.*)} => sub {
                my ($nick, $message) = @_;
                $nick = color_dpfix $nick;
@@ -1505,7 +1505,7 @@ sub cond($)
                $store{map} = $map;
                $store{map_starttime} = time();
                if ($config{irc_announce_mapchange} eq 'always' || ($config{irc_announce_mapchange} eq 'notempty' && $store{slots_active} > 0)) {
-                       my $slotsstr = nex_slotsstring();
+                       my $slotsstr = xon_slotsstring();
                        out irc => 0, "PRIVMSG $config{irc_channel} :\00304" . $map . "\017 has begun$slotsstr";
                }
                delete $store{lms_blocked};
@@ -1518,7 +1518,7 @@ sub cond($)
                return 0;
        } ],
 
-       # scores: Nexuiz server -> IRC channel (start)
+       # scores: Xonotic server -> IRC channel (start)
        [ dp => q{:scores:(.*):(\d+)} => sub {
                my ($map, $time) = @_;
                $store{scores} = {};
@@ -1529,7 +1529,7 @@ sub cond($)
                return 0;
        } ],
 
-       # scores: Nexuiz server -> IRC channel, legacy format
+       # scores: Xonotic server -> IRC channel, legacy format
        [ dp => q{:player:(-?\d+):(\d+):(\d+):(\d+):(\d+):(.*)} => sub {
                my ($frags, $deaths, $time, $team, $id, $name) = @_;
                return if not exists $store{scores};
@@ -1538,7 +1538,7 @@ sub cond($)
                return 0;
        } ],
 
-       # scores: Nexuiz server -> IRC channel (CTF), legacy format
+       # scores: Xonotic server -> IRC channel (CTF), legacy format
        [ dp => q{:teamscores:(\d+:-?\d*(?::\d+:-?\d*)*)} => sub {
                my ($teams) = @_;
                return if not exists $store{scores};
@@ -1546,7 +1546,7 @@ sub cond($)
                return 0;
        } ],
 
-       # scores: Nexuiz server -> IRC channel, new format
+       # scores: Xonotic server -> IRC channel, new format
        [ dp => q{:player:see-labels:(-?\d+)[-0-9,]*:(\d+):(\d+):(\d+):(.*)} => sub {
                my ($frags, $time, $team, $id, $name) = @_;
                return if not exists $store{scores};
@@ -1554,7 +1554,7 @@ sub cond($)
                return 0;
        } ],
 
-       # scores: Nexuiz server -> IRC channel (CTF), new format
+       # scores: Xonotic server -> IRC channel (CTF), new format
        [ dp => q{:teamscores:see-labels:(-?\d+)[-0-9,]*:(\d+)} => sub {
                my ($frags, $team) = @_;
                return if not exists $store{scores};
@@ -1562,7 +1562,7 @@ sub cond($)
                return 0;
        } ],
 
-       # scores: Nexuiz server -> IRC channel
+       # scores: Xonotic server -> IRC channel
        [ dp => q{:end} => sub {
                return if not exists $store{scores};
                my $s = $store{scores};
index ce68187eaa7dec4b7b9f9149f080951b4e9f0b92..4625aaa1547b68724fbf0892ef2430ec7f2cdb31 100644 (file)
@@ -1,9 +1,9 @@
-rcon2irc - IRC gateway for Nexuiz servers, using rcon authorization
+rcon2irc - IRC gateway for Xonotic servers, using rcon authorization
 
 
 Quick installation guide:
 
-1. Set up rcon access on your Nexuiz server, by adding some line like
+1. Set up rcon access on your Xonotic server, by adding some line like
      rcon_password hackme
    in your server.cfg. This password gives anyone FULL access to your server,
    so do not give it away! This IRC gateway does not work with a
@@ -11,7 +11,7 @@ Quick installation guide:
 
 2. Copy rcon2irc-example.conf to another name (e.g. rcon2irc.conf), and edit
    the settings to match your setup. At the very least:
-   - change dp_server to the IP (or IP:port) of your Nexuiz server
+   - change dp_server to the IP (or IP:port) of your Xonotic server
    - change dp_password to the rcon password set above
    - change irc_server to the IRC server to connect to
    - change irc_nick to the nick name to use
@@ -30,29 +30,29 @@ Features:
 
 - Show results of matches in the IRC channel
 
-- Act as a gateway to allow chat between Nexuiz server and IRC users, useful
+- Act as a gateway to allow chat between Xonotic server and IRC users, useful
   for making the server more interesting to the public, but also useful as a
   mere helper for the server admin to watch what's happening in game (like, if
   people complain about a problem):
   - Any line written in game using say (not say_team) goes to the IRC channel.
   - Any line written in the channel, prefixed by the bot's nick name and a :,
-    goes into the Nexuiz game.
+    goes into the Xonotic game.
   - Example:
     View in game:
       XSAX LTU: GREAT WIN AHAHAHAHAHAHAHAHAH))
       (RedAlert) stop teamkilling!
       .ThreeHeadedMonkey.: I am behind you!
-    View on IRC, assuming the IRC gateway has the nick noobNex and is voiced:
-      <+noobNex> <XSAX LTU> GREAT WIN AHAHAHAHAHAHAHAHAH))
-      <+noobNex> <.ThreeHeadedMonkey.> I am behind you!
+    View on IRC, assuming the IRC gateway has the nick noobXon and is voiced:
+      <+noobXon> <XSAX LTU> GREAT WIN AHAHAHAHAHAHAHAHAH))
+      <+noobXon> <.ThreeHeadedMonkey.> I am behind you!
 
 - Notify about free slots on the server. Example:
-    * noobNex is full!
-    * noobNex can be joined again (2 free slots); join now: nexuiz +connect 172.23.42.54!
-    <+noobNex> ctf_capturecity_v2r1 has begun (2 free slots); join now: nexuiz +connect 172.23.42.54
+    * noobXon is full!
+    * noobXon can be joined again (2 free slots); join now: xonotic +connect 172.23.42.54!
+    <+noobXon> ctf_capturecity_v2r1 has begun (2 free slots); join now: xonotic +connect 172.23.42.54
 
 - Display scores at the end of a match in the IRC channel. Example:
-    <+noobNex> ctf_capturecity_v2r1 ended: 301:78 Nicole 115, elsteer BLD {Y} 77,
+    <+noobXon> ctf_capturecity_v2r1 ended: 301:78 Nicole 115, elsteer BLD {Y} 77,
                CensoredNickname 57, 0grueN# 29, Bigus 23, ZeroA 36, ricer 22,
                Treey@suse8 12, cZaR6RUSS7 8, BrightDev1l 0
 
index f0b1b20d411454eb52517f4b80609bdd020fae10..506bbc4d1afb51e75ad1e09c89544e5b2b8314f3 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - rename.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - rename.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 sub out($$@);
index 0163dcdbe3a24984cebef7c35a9ced1a64b1573e..275e9fcd4d817858bba66da552e9a821049e0e8f 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - showlogins.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - showlogins.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 { my %sl = (
index bf4834c31c1a6073f65cb220382958c5a7510145..b898fc35f1498982900cfdccf8c190043c3c9989 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - suggestmap.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - suggestmap.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 sub out($$@);
index 1bf6638ac0834c8e7d37a5bd8ac392357c4d613e..b6f2d69ec6871af2b641f23dcab36d7b6dd16323 100644 (file)
@@ -1,4 +1,4 @@
-# Nexuiz rcon2irc plugin by Merlijn Hofstra licensed under GPL - votestop.pl
+# Xonotic rcon2irc plugin by Merlijn Hofstra licensed under GPL - votestop.pl
 # Place this file inside the same directory as rcon2irc.pl and add the full filename to the plugins.
 
 # This plugin will stop an ongoing vote when the person who called it leaves. Edit the options below
index 1a0c70b8d576d24273512328bf8d4c0833691360..7fdc1a9e0fbbee06e089dbbc00c9d60eee19d480 100644 (file)
@@ -1,22 +1,19 @@
 This subdirectory contains scripts and a config file that can be used\r
-to start a dedicated Nexuiz (default) or Nexuiz Havoc server (differs\r
-in movement, weapon and other settings) on linux, mac or windows\r
-systems and also some tools that help with maintaining your server.\r
-\r
-You will need to copy the right script into your Nexuiz main\r
-directory, where the normal binaries are.  There are two scrips for\r
-each sytems, one to start a normal Nexuiz server and one to start a\r
-Nexuiz 'Havoc' server.  You then need to copy and ADJUST the config\r
-file which is called server.cfg.  You can copy it either into the\r
-Nexuiz/data directory where the big data*.pk3 file is or when running\r
-on linux or mac you can as well copy it into a special directory\r
-called '~/.nexuiz/data'.  After you have setup everything and have\r
-adjusted the config file you can start the server by running the\r
-server script.\r
+to start a dedicated Xonotic server on linux, mac or windows systems\r
+and also some tools that help with maintaining your server.\r
+\r
+You will need to copy the right script for your system into your\r
+Xonotic main directory, where the normal binaries are.  You then need\r
+to copy and ADJUST the config file which is called server.cfg.  You\r
+can copy it either into the Xonotic/data directory where the big\r
+data*.pk3 file is or when running on linux or mac you can as well copy\r
+it into a special directory named '~/.xonotic/data'.  After you have\r
+setup everything and have adjusted the config file you can start the\r
+server by running the server script.\r
 \r
 Please make sure your server is always uptodate!  Just signup the\r
-Nexuiz release mailinglist to get informed about new releases.\r
-https://lists.sourceforge.net/lists/listinfo/nexuiz-releases\r
+Xonotic release mailinglist to get informed about new releases.\r
+https://lists.sourceforge.net/lists/listinfo/xonotic-releases\r
 \r
 An important thing is to make sure that your firewall does allow\r
 players to connect to your server.  This typicly means you will have\r
@@ -26,7 +23,7 @@ computer running your server.  How to do this does depend on your
 computer and network setup.\r
 \r
 If you plan to install custom maps on your server you should read the\r
-file Nexuiz/Docs/mapdownload.txt to learn how to setup automatic map\r
+file Xonotic/Docs/mapdownload.txt to learn how to setup automatic map\r
 download.\r
 \r
 In case you want to rename the server.cfg file, e.g. because you want\r
@@ -45,11 +42,11 @@ variables with 'cmdlist' and 'cvarlist' in the server console.
 rcon.pl is a perl script that implements rcon which can be used to\r
 remotely control your server.\r
 \r
-rcon2irc is a Nexuiz server to irc gateway.  It allows you to watch\r
+rcon2irc is a Xonotic server to irc gateway.  It allows you to watch\r
 and communicate with active players on your server via irc.  Read its\r
 rcon2irc.txt to learn how to setup and use it!\r
 \r
-help.cfg is a Nexuiz config file providing a simple help message\r
+help.cfg is a Xonotic config file providing a simple help message\r
 system.  It prints all the messages from a list, one after the other\r
 with an configureable delay between them.  Great to provide beginners\r
 with some hints.\r
index c203fa83617d3d5737b58bbb69395419af011128..9de5639551927509fa24e2f4eca1844c257dbe80 100644 (file)
@@ -11,7 +11,7 @@
 \r
 //sv_public 1  // 0 if the server should not be on the public servers list\r
 //sv_status_privacy 1  // 1 hides IP addresses from "status" replies shown to clients, 0 shows them. Enables players to identify wellknown punks on your server OR is a thread to anonymity.. depending on your point of view :)\r
-//hostname "Nexuiz $g_nexuizversion Server"    // this name will appear on the server list (the $g_nexuizversion gets replaced with the current version)\r
+//hostname "Xonotic $g_xonoticversion Server"  // this name will appear on the server list (the $g_xonoticversion gets replaced with the current version)\r
 //sv_motd ""   // this message (unless "") is displayed to players on connect\r
 //maxplayers 8 // number of players allowed on the server\r
 //port 26000   // the port used by the server\r
@@ -55,7 +55,7 @@
 \r
 // select AT MOST one of these arena mutators\r
 //g_minstagib 0        // set to 1 for MinstaGib\r
-//g_nixnex 0   // set to 1 for No Items Nexuiz\r
+//g_nixnex 0   // set to 1 for No Items Xonotic\r
 //g_nixnex_with_laser 0        // set to 1 to always give players the laser in NixNex\r
 //g_rocketarena 0      // set to 1 to make the rocket launcher the only weapon\r
 \r
 //sv_maxrate 1000000   // limits client connections to this rate in bytes/seconds\r
 \r
 // see Docs/mapdownload.txt for more info\r
-//sv_curl_defaulturl http://www.nexuiz.com/contentdownload/getmap.php?file=    //fallback download URL\r
+//sv_curl_defaulturl http://www.xonotic.com/contentdownload/getmap.php?file=   //fallback download URL\r
 \r
 //sv_defaultcharacter 0        // 1 will force a specific model for all players\r
 //sv_defaultplayermodel models/player/nexus.zym        // this model will be used\r
 //g_balance_teams 1    // 0 will show players the team selection menu after joining instead of automaticly putting them on the smaller team\r
 //g_balance_teams_force 0      // 1 to automaticly balance teams even during a game\r
 \r
-//set g_ban_sync_uri "http://94.23.21.40/~nexuiz/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)\r
+//set g_ban_sync_uri "http://94.23.21.40/~xonotic/bans/" // sync bans using this ban list provider (disabled by default, uncomment this line to enable)\r
 //set g_ban_sync_trusted_servers "" // accept bans that were initially set on the server IPs listed here (if not set, your bans are just sent to the sync URIs, but no bans are retrieved from there)\r
diff --git a/server/server_havoc_linux.sh b/server/server_havoc_linux.sh
deleted file mode 100755 (executable)
index dbd7ed1..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-case "$(uname -m)" in
-  x86_64)      executable="nexuiz-linux-x86_64-dedicated" ;;
-  *)           executable="nexuiz-linux-686-dedicated" ;;
-esac
-
-cd "`dirname "${0}"`"
-
-if ! [ -x "$executable" ]; then
-       if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ] || [ -f ~/.nexuiz/havoc/server.cfg ] || [ -f ../havoc/server.cfg ]; }; then
-               cd ..
-       else
-               echo "This script is not properly set up yet."
-               echo "Please refer to the instructions in readme.txt."
-               echo "In short:"
-               echo "- copy server.cfg to the data directory and adjust its settings"
-               echo "- move this file to the main directory of your Nexuiz installation"
-               exit 1
-       fi
-fi
-
-exec ./${executable} -game havoc +serverconfig server.cfg "${@}"
diff --git a/server/server_havoc_mac.sh b/server/server_havoc_mac.sh
deleted file mode 100755 (executable)
index c3b12f1..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-executable="nexuiz-osx-dedicated"
-
-cd "`dirname "${0}"`"
-
-if ! [ -x "$executable" ]; then
-       if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ] || [ -f ~/.nexuiz/havoc/server.cfg ] || [ -f ../havoc/server.cfg ]; }; then
-               cd ..
-       else
-               echo "This script is not properly set up yet."
-               echo "Please refer to the instructions in readme.txt."
-               echo "In short:"
-               echo "- copy server.cfg to the data directory and adjust its settings"
-               echo "- move this file to the main directory of your Nexuiz installation"
-               exit 1
-       fi
-fi
-
-exec ./${executable} -game havoc +serverconfig server.cfg "${@}"
diff --git a/server/server_havoc_windows.bat b/server/server_havoc_windows.bat
deleted file mode 100644 (file)
index 7441362..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-@echo off\r
-\r
-setlocal\r
-set executable=nexuiz -dedicated\r
-\r
-%~d0\r
-cd "%~p0"\r
-\r
-if exist %executable% goto good\r
-if not exist ..\%executable% goto bad\r
-if exist ..\data\server.cfg goto halfgood\r
-if exist ..\havoc\server.cfg goto halfgood\r
-goto bad\r
-\r
-:bad\r
-echo This script is not properly set up yet.\r
-echo Please refer to the instructions in readme.txt.\r
-echo In short:\r
-echo - copy server.cfg to the data directory and adjust its settings\r
-echo - move this file to the main directory of your Nexuiz installation\r
-pause\r
-exit\r
-\r
-:halfgood\r
-cd ..\r
-\r
-:good\r
-.\%executable% -game havoc +serverconfig server.cfg %*\r
index cddfe9cefb00496df5a72ec0ac788d21f6713b5d..feda43b3651fdd0e0400763cffee0ca9185af096 100755 (executable)
@@ -1,21 +1,21 @@
 #!/bin/sh
 
 case "$(uname -m)" in
-  x86_64)      executable="nexuiz-linux-x86_64-dedicated" ;;
-  *)           executable="nexuiz-linux-686-dedicated" ;;
+  x86_64)      executable="xonotic-linux-x86_64-dedicated" ;;
+  *)           executable="xonotic-linux-686-dedicated" ;;
 esac
 
 cd "`dirname "${0}"`"
 
 if ! [ -x "$executable" ]; then
-       if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
+       if [ -x "../$executable" ] && { [ -f ~/.xonotic/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
                cd ..
        else
                echo "This script is not properly set up yet."
                echo "Please refer to the instructions in readme.txt."
                echo "In short:"
                echo "- copy server.cfg to the data directory and adjust its settings"
-               echo "- move this file to the main directory of your Nexuiz installation"
+               echo "- move this file to the main directory of your Xonotic installation"
                exit 1
        fi
 fi
index 3c456974bcbb3b72d3a007201159de86ec46afe5..50e1a5ca458b9adf03930686da3e784c28d13396 100755 (executable)
@@ -1,18 +1,18 @@
 #!/bin/sh
 
-executable="nexuiz-osx-dedicated"
+executable="xonotic-osx-dedicated"
 
 cd "`dirname "${0}"`"
 
 if ! [ -x "$executable" ]; then
-       if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
+       if [ -x "../$executable" ] && { [ -f ~/.xonotic/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
                cd ..
        else
                echo "This script is not properly set up yet."
                echo "Please refer to the instructions in readme.txt."
                echo "In short:"
                echo "- copy server.cfg to the data directory and adjust its settings"
-               echo "- move this file to the main directory of your Nexuiz installation"
+               echo "- move this file to the main directory of your Xonotic installation"
                exit 1
        fi
 fi
index 164182f58490e5b3cb79d7f90744ed6457311644..8aea431993b732f024bebde74fcc358a2a47b3c0 100644 (file)
@@ -1,7 +1,7 @@
 @echo off\r
 \r
 setlocal\r
-set executable=nexuiz -dedicated\r
+set executable=xonotic -dedicated\r
 \r
 %~d0\r
 cd "%~p0"\r
@@ -16,7 +16,7 @@ echo This script is not properly set up yet.
 echo Please refer to the instructions in readme.txt.\r
 echo In short:\r
 echo - copy server.cfg to the data directory and adjust its settings\r
-echo - move this file to the main directory of your Nexuiz installation\r
+echo - move this file to the main directory of your Xonotic installation\r
 pause\r
 exit\r
 \r
diff --git a/xonotic-linux-glx.sh b/xonotic-linux-glx.sh
new file mode 100755 (executable)
index 0000000..5461a4c
--- /dev/null
@@ -0,0 +1,121 @@
+#!/bin/sh
+
+path=`dirname "${0}"`
+link=`readlink "${0}"`
+
+[ -n "${link}" ] && path=`dirname "${link}"`
+cd "${path}"
+
+case "${0##*/}" in
+  *sdl*)       mode="sdl" ;;
+  *)           mode="glx" ;;
+esac
+
+case "$(uname -m)" in
+  x86_64)      arch="x86_64" ;;
+  *)           arch="686" ;;
+esac
+
+xonotic="xonotic-linux-${arch}-${mode}"
+
+set -- ./${xonotic} "${@}"
+
+xserver=
+xlayout=
+
+setdisplay()
+{
+       VALUE=$1
+       VALUE=${VALUE#\"}
+       VALUE=${VALUE%\"}
+       case "$VALUE" in
+               :*)
+                       ;;
+               *)
+                       VALUE=:$VALUE
+                       ;;
+       esac
+       VALUE="$VALUE/"
+       xserver="${VALUE%%/*}"
+       xserver=${xserver#:}
+       xlayout=${VALUE#*/}
+       xlayout=${xlayout%/}
+}
+
+# now how do we execute it?
+if [ -r ~/.xonotic/data/config.cfg ]; then
+       while read -r CMD KEY VALUE; do
+               case "$CMD:$KEY" in
+                       seta:vid_x11_display)
+                               setdisplay "$VALUE"
+                               ;;
+               esac
+       done < ~/.xonotic/data/config.cfg
+fi
+
+m=0
+for X in "$@"; do
+       case "$m:$X" in
+               0:+vid_x11_display)
+                       m=1
+                       ;;
+               0:+vid_x11_display\ *)
+                       setdisplay "${X#+vid_x11_display }"
+                       ;;
+               1:*)
+                       setdisplay "$X"
+                       m=0
+                       ;;
+               *)
+                       ;;
+       esac
+done
+
+case "$xserver" in
+       '')
+               ;;
+       *[!0-9]*)
+               echo "Not using display ':$xserver': evil characters"
+               ;;
+       *)
+               msg=
+               lf='
+'
+               prefix=
+
+               # check for a listening X server on that socket
+               if netstat -nl | grep -F " /tmp/.X11-unix/X$xserver" >/dev/null; then
+                       # X server already exists
+                       export DISPLAY=:$xserver
+                       prefix="DISPLAY=:$xserver "
+                       msg=$msg$lf"- Running Xonotic on already existing display :$xserver"
+               else
+                       set -- startx "$@" -fullscreen -- ":$xserver"
+                       msg=$msg$lf"- Running Xonotic on a newly created X server :$xserver."
+                       case "$xlayout" in
+                               '')
+                                       ;;
+                               *[!A-Za-z0-9]*)
+                                       echo >&2 "Not using layout '$xlayout': evil characters"
+                                       xlayout=
+                                       ;;
+                               *)
+                                       set -- "$@" -layout "$xlayout"
+                                       msg=$msg$lf"- Using the ServerLayout section named $xlayout."
+                                       ;;
+                       esac
+               fi
+
+               echo "X SERVER OVERRIDES IN EFFECT:$msg"
+               echo
+               echo "Resulting command line:"
+               echo "  $prefix$*"
+               echo
+               echo "To undo these overrides, edit ~/.xonotic/data/config.cfg and remove the line"
+               echo "starting with 'seta vid_x11_display'."
+               echo
+               echo
+               ;;
+esac
+
+exec "$@"
diff --git a/xonotic-linux-sdl.sh b/xonotic-linux-sdl.sh
new file mode 120000 (symlink)
index 0000000..41f63aa
--- /dev/null
@@ -0,0 +1 @@
+xonotic-linux-glx.sh
\ No newline at end of file