Announcement

Collapse
No announcement yet.

Ubuntu Linux ProQuake server setup guide

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ubuntu Linux ProQuake server setup guide

    Fast rundown of what worked for me to get ProQuake server running on Ubuntu 9.10 x32 (non-server distro)...

    Code:
    mkdir /home/skrag/quake1
    cd quake1
    wget http://quakeone.com/proquake/proquake-linux-dedicated-390-rc2.zip
    unzip proquake-linux-dedicated-390-rc2.zip

    I then installed Q1 from the original CD thru Dosbox on my Win7 box to get the .pak files and copied them (actually, i copied everything) to the /home/skrag/quake1 on my server.

    IF YOUR PAK FILES AND ID1 directory are uppercase you need to re-name them!!

    Code:
    mv ID1 id1
    cd id1
    mv PAK0.PAK pak0.pak
    mv PAK1.PAK pak1.pak
    then

    Code:
    cd /home/skrag/quake1
    sudo chmod 777 pqlinux
    and finally

    Code:
    ./pqlinux
    To run the server.

    I set up my options in the optional autoexec.cfg in the /home/skrag/quake1/id1/ you have to create it yourself and populate it with stuff like

    Code:
    hostname "SODOMY"
    deathmatch 1
    maxclients 8
    fraglimit 30  
    noexit 2
    teamplay 0
    timelimit 10
    map dm1
    and it will run on startup.


    To get the server to run in a diffrent screen

    Code:
    screen -A -m -d -S sweetserver1 ./pqlinux

    this is usefull if you are using SSH and you want the server to continue to run after you exit the terminal



    to get a list of your "screens" use
    Code:
    screen -list
    to get your screen back use

    Code:
    screen -r sweetserver1



    But I cant for the life of me find out how to set up a map rotation, if anyone has any suggestions on how to get a map rotation going in ProQuake, i will be eternally greatfull!!
    Last edited by Skrag; 10-15-2010, 04:48 PM.

  • #2
    use a runequake mod or crmod?
    www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

    Comment


    • #3
      Originally posted by R00k View Post
      use a runequake mod or crmod?
      I realize it can be done thru mods, but being the vanilla Q1 deathmatch player that I am, I would really like to get a simple map rotation set up on vanilla ProQuake... /rant...as would the 25 other guys that gather at our lan-parties, and like to play vanilla Q1. As it goes right now we have to have one guy host and him change the maps manually after every match, which is SUPER annoying, we have been doing it this way literally for years now.

      Is this map rotation even technically possible without a mod? This is supposed to be the ProQuake forum right (referenced here at the bottom of the page)? Has development stopped for ProQuake? Is there a person I can PM here?

      Comment


      • #4
        There is a discussion on maplist.txt here. A solution is given by R00k in this post.

        You have to modify and recompile the progs.dat for this to work. You will need a quakec compiler to do this. It may sound absurd if you're from a Quake 2 or Quake 3 background but it's not that hard. When I did it for the first time (I had to recompile the progs.dat of some mod to change the rcon password, lol) it took me 15 mins to find out what to do. Tricky thing is that there are multiple quakec compilers out there and I don't know how to tell which one will work. (I think you can't tell unless it's written in the readme.) I had to compile the quakec compiler I used myself under Linux, btw. I don't have access to my server from here (stupid firewall blocking SSH) but I could check later or give you the qc compiler binary if you need more help.

        It seems best to me to compile multiple progs.dat files and switch between them if you want another map rotation. You will need to restart the server when you change them, but you even have to restart a Quake 3 server to change the map queue.
        Last edited by dfsp_spirit; 10-14-2010, 04:33 AM.
        dfsp*spirit
        my FPS maps

        Comment


        • #5
          Actually, the progs.dat is reloaded on every map-change.. so a complete restart is not needed

          Comment


          • #6
            Nice.
            dfsp*spirit
            my FPS maps

            Comment


            • #7
              Originally posted by dfsp_spirit View Post
              but I could check later or give you the qc compiler binary if you need more help.
              Thanks dude, i PM'ed you about this, hopefully we can put all the steps to complete this task in this thread, to make it a true go-to for anyone trying to accomplish this.

              Comment


              • #8
                I sent you a PM.

                The compiler you you need is FTEQCC 3343, you may want to check the stuff I made for the universal server project here. You should be able to use the linux fteqcc binary I compiled (it's linux 32bit compiled under Debian Etch, you'll have to chmod +x it ofc).
                Last edited by dfsp_spirit; 10-14-2010, 12:25 PM.
                dfsp*spirit
                my FPS maps

                Comment


                • #9
                  DM Standard

                  You may look at Elohim
                  it has a linux utility for the progs.dat also.
                  If you cant find it I can upload.
                  WARNING
                  May be too intense for some viewers.
                  Stress Relief Device
                  ....BANG HEAD HERE....
                  ---------------------------
                  .
                  .
                  .
                  .
                  .--------------------------

                  Comment


                  • #10
                    Nice thread here.

                    I'm messing around with crmod and crctf on a centos box - trying to get these mods running as linux proquake servers.

                    ./pqlinux starts fine when I don't give it a -game command, but trying -game crctf, for instance, (using crctf 3.5) ends up with..

                    FindFile: can't find progs/star.mdl
                    Host_Error: Could not load progs/star.mdl
                    ERROR: Host_Error: Could not load progs/star.mdl
                    Funny because further up in the server spawn output I can see that..

                    PackFile: ./crctf/pak0.pak : progs/star.mdl


                    I have the CTF .pak files (pak0-pak3.pak) inside the crctf directory.

                    What could be the prob?

                    Please help this n00b.

                    Comment


                    • #11
                      Linux is very case sensitive. First verify that the pak files are lower case. Second, verify that the gamedir specified in -game is correct.

                      It doesn't hurt to check file and directory permissions either.
                      Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

                      So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

                      Comment


                      • #12
                        Thanks man.

                        Things look all right with all files being lower-case (including the -game directories)... All the pak files are +r for user/group/other; and owned by the user i'm logging in as.

                        (Surprisingly, I'm able to start a server using -game crmod, with the 6.4 crmod files inside, but haven't even run crmake.linux for it yet - just tried that as a test - which is why it surprised me. Haven't tried connecting to it but the console output looked okay. So CTF just seems to be the tough nut for me.)

                        Been so long since I've messed with getting a linux quake server online - still have a big soft spot for this server platform though - it's so damn efficient and lean.

                        Anyway, no biggie. I'll keep trying different things; re-grabbing the pak files to begin with...

                        Will post back if I figure out what's up.

                        Comment


                        • #13
                          **** CRCTF Initialized! ****
                          Good times.

                          Got it working first by using a pak explorer to extract the progs/ folder from within the CTF pak0.pak and copied that to my id1/ folder (in linux).

                          This led me to figure out that I could also just copy the CTF pak files themselves into the id1/ directory on my linux server, naming them in numerical sequence as usual, starting with the two original ID pak files already in there.

                          Anyway, it's weird that it couldn't read the CTF paks from within the crctf directory - maybe what I found as my solution today is just how it's always been done? - but this is too long ago to even remember how we had it setup back then!

                          Cheers.

                          Comment


                          • #14
                            Sweet
                            WARNING
                            May be too intense for some viewers.
                            Stress Relief Device
                            ....BANG HEAD HERE....
                            ---------------------------
                            .
                            .
                            .
                            .
                            .--------------------------

                            Comment

                            Working...
                            X