Hosting Q3 DC with modern linux distro guide

Online games, how to get online, and anything involving Dreamcast online can be discussed here.
1nick9
undertow
Posts: 34

Hosting Q3 DC with modern linux distro guide

Post#1 » Mon Oct 02, 2017 2:08 am

hey guys ended up getting q3dc deticated server going with modern distro so thought i'd right up a quick (very brief) howto.
firstly I've only got this running with x86 ubuntu 17.04 server but should work with all x86 distros, haven't even tried x64 as the bins x86 n my server only got 4gb ram anyway so didn't see point in stuffing round with it.

so first ya gonna need some files:
pak0.pk3 (from original q3a disc)
sega.pk3
dcmaps (i use dc-mappackv2.1.pk3)
some game cfg files
linuxq3apointer-1.16n.x86.tar (the tar not run)

all of these are availbe on my dropbox with link to in download section besides pak0.pk3 and cfg files.

so get all of them on ya linux box.
no do

Code: Select all

mkdir /home/username/.q3a/
(username will vary depending on what uve chosen.

now copy the linuxq3apointer-1.16n.x86.tar into the .q3a dir and untar with

Code: Select all

tar vxsf linuxq3apointer-1.16n.x86.tar

it should extract all of the update to the dir, then copy the needed files to the ~/.q3a/baseq3/ dir, being:
pak0.pk3
sega.pk3
dcmaps.pk3
and cfg files for games.

ya pretty much done, just run the bin directly in /home/username/.q3a/bin/x86/glibc-2.0/q3ded with desired settings, tho to make things easier lets make a script to just run.

so make a script in ya home/username folder

Code: Select all

nano /home/username/ffa.sh

nano will open up creating new txt file, enter:

Code: Select all

#!/bin/sh
screen -d -m /home/username/.q3a/bin/x86/glibc-2.0/q3ded +set dedicated 2 +set net_port 27960 +exec ffa1.cfg

ctl + x when done answer yes to save changes.
then make it excutable with chmod +x /ffa.sh and run, should have a server going (for testing u got the .sh script right maybe take out the screen -d -m part to make sure runs right instead of having to swap between screen sessions.

to setup other game types just copy the ffa.sh to another name eg. ctf.sh and edit the net_port ##### and the +exec ###.cfg it loads.

done. of course need to port forward on ya router.
tho with this u must run the script ea boot, i played round trying to get it running as a service but the os didnt like seeing the exec command as part of it n refused to run as service, dam id using a clashing switch. if you know a way to get round this please let me no as be handy to have it run as a service instead of manually invoked.

you could also setup some pointers with ln to save type absolute path, but i didnt bother as once the first sh script run just cp it and change the port and cfg it loads.

enjoy!

1nick9
undertow
Posts: 34

Re: Hosting Q3 DC with modern linux distro guide

Post#2 » Mon Oct 02, 2017 2:09 am

did mess bout with setup scripts trying to get it to install got it running but would ignore the part set for bins and look in top /bin dir for em. randomly tried to run the q3ded bin and noticed it was looking to that dir so figure just do the manual install to there and worked ripper.

1nick9
undertow
Posts: 34

Re: Hosting Q3 DC with modern linux distro guide

Post#3 » Mon Oct 02, 2017 2:35 am

also maybe someone else should make mirror of the files, the dropbox im using just free account so not much transfer allowance.

mrneo240
MegaDeath
Posts: 228

Re: Hosting Q3 DC with modern linux distro guide

Post#4 » Mon Oct 02, 2017 9:18 am

I snagged all of your files and zipped them. I'll post a mirror on firedrop and mega for ya.

User avatar
Bob Dobbs
Sub Genius
Posts: 2660
Contact:

Re: Hosting Q3 DC with modern linux distro guide

Post#5 » Mon Oct 02, 2017 7:27 pm

Nice job, 1nick9
Regards,
Bob Dobbs

1nick9
undertow
Posts: 34

Re: Hosting Q3 DC with modern linux distro guide

Post#6 » Mon Oct 02, 2017 7:39 pm

yeah was pretty simple to do man. was gonna have a crack at breaking the tar from run but ended up finding out dude at oc had done it tho his link was down so just popped it into google his file name n found a wiki quake3 site that had it.
the main problem i noticed with the setup scripts is the function switch no longer being

Code: Select all

function FUNCNAME {
}

instead

Code: Select all

FUNCNAME ()
{
}


changing those got it to run but the pathing was still wrong n before looked closely at it decided to try run the q3ded bin and it ran n looked in that dir so just did manual install to that dir as easiest option.

1nick9
undertow
Posts: 34

Re: Hosting Q3 DC with modern linux distro guide

Post#7 » Tue Oct 03, 2017 12:04 am

mrneo240 wrote:I snagged all of your files and zipped them. I'll post a mirror on firedrop and mega for ya.

just noticed your post too man. cheers that'd be good. all the files from the oc website guide and then the forums for the map packs tho most of the guide links down, not sure bout map packs link on forums but figured another mirror won't hurt. also the tar up on one other wiki site i found via google when searching the file name, which is where i got it from and saved trouble messing bout breaking the tar from run, if someone else already done it and can get it why do it again?

still be good to have another mirror up besides my dropbox due to transfer limits with free account.

mrneo240
MegaDeath
Posts: 228

Re: Hosting Q3 DC with modern linux distro guide

Post#8 » Tue Oct 03, 2017 1:07 pm

1nick9 wrote:
mrneo240 wrote:I snagged all of your files and zipped them. I'll post a mirror on firedrop and mega for ya.

just noticed your post too man. cheers that'd be good. all the files from the oc website guide and then the forums for the map packs tho most of the guide links down, not sure bout map packs link on forums but figured another mirror won't hurt. also the tar up on one other wiki site i found via google when searching the file name, which is where i got it from and saved trouble messing bout breaking the tar from run, if someone else already done it and can get it why do it again?

still be good to have another mirror up besides my dropbox due to transfer limits with free account.


not a problem. look for it tomorrow when ill have 10MB/s upload speed :D

mrneo240
MegaDeath
Posts: 228

Re: Hosting Q3 DC with modern linux distro guide

Post#9 » Wed Oct 04, 2017 9:11 am

here ya go!
i also added a file that i found on my laptop dc-mappack.pak3, im prettysure its used for connecting to dreamcast servers from the pc client

https://mega.nz/#F!EkkllYqB!OWG7ZQO5WLXOmD6I1Bp_5w

1nick9
undertow
Posts: 34

Re: Hosting Q3 DC with modern linux distro guide

Post#10 » Wed Oct 04, 2017 6:55 pm

mrneo240 wrote:here ya go!
i also added a file that i found on my laptop dc-mappack.pak3, im prettysure its used for connecting to dreamcast servers from the pc client

https://mega.nz/#F!EkkllYqB!OWG7ZQO5WLXOmD6I1Bp_5w

sweet thanks!
all those map packs in there work with pc client playing on dc, from memory they was some updated packs someone made not the official so handy to have the old original one, remember reading about 2.1 might have had bugs with some maps hence why i use it.

got em off this thread
http://dreamcast.onlineconsoles.com/php ... hp?t=10391

  • Similar Topics
    Replies
    Views
    Last post

Return to “Online”

Who is online

Users browsing this forum: No registered users