You are not logged in.

#1 2005-07-22 05:00:16

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

an enemy territory game launcher

I hate the server browser in Enemy Territory, it's slow to get to the servers with the lowest ping (go figure) and even when I go to favourites I don't get to see my servers until it's loaded all of the others. Then if I try and join a game and it doesn't work for a multitude of reasons I have to wait for the list to load again sad

I googled around for a Gamespy like app for linux and came up with nothing. I did find a link to one in a very old forum post but it led me to a 404 so I decided to start one of my own. If people want to test it that would be swell, at the moment it only supports Enemy Territory but in theory (and with a few small adjustments) it'll support whatever qstat does.

Firstly, am I am idiot? Is there something like this already out there and I just missed it? Secondly, anyone who wants to test it, your efforts would be appreciated. It doesn't do much at the moment but I'll keep working on it if people think it's worthwhile. Thirdly, I need a name. Game-launcher is very boring, suggestions there would be lovely as well, I'm not very creative smile

Screenshot:
game-launcher.png

PKGBUILD

# Packager: cs-cam - me.at.camdaniel.com
pkgname=et-launcher
pkgver=0.0.2
pkgrel=1
pkgdesc="PyGTK server browser and for Enemy Territory" 
url="http://none"
depends=('pygtk' 'qstat')
conflicts=('game-launcher')
install=et-launcher.install
source=(http://www.myfilebin.com/userfiles/cam/$pkgname-$pkgver.tar.gz http://www.myfilebin.com/userfiles/cam/$pkgname)
md5sums=('468444c6ace122ba08973925c74b0847')

build() {
    cd $startdir/src/et-launcher
    mkdir -p $startdir/pkg/usr/share/et-launcher
    mkdir -p $startdir/pkg/usr/bin
    
    cp -r * $startdir/pkg/usr/share/et-launcher
    cp $startdir/et-launcher $startdir/pkg/usr/bin/
    chmod a+x $startdir/pkg/usr/bin/et-launcher
}

et-launcher.install

post_install() {
cat << EOF
==> To get a server list, you'll need to copy /usr/shar/et-launcher/servers.txt
==> to $HOME/.et-launcherrc and chown it to yourself if you want to
==> add or remove servers.
EOF
}

op=$1
shift

$op $*

Offline

#2 2005-07-22 07:25:25

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: an enemy territory game launcher

What´s up with xqf? Isn´t xqf not exactly what u are looking for??

But i don´t it too. I´m using my own Pipe-menu´s in FVWM and Openbox. I´ve got a file, were i add all my favorite servers. My menu shows me than the stats of my fav servers and if i click onto one, it connects to whis server.

Here´s a little screenshot.

This is the fastest way in to connect to my fav servers  big_smile

Offline

#3 2005-07-22 08:09:17

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: an enemy territory game launcher

Mmmm, the menu's are a good idea! And Xqf was that link I followed but it took me to a 404. I'll try google now, maybe I don't need to do any work at all big_smile

<edit>
Ewwww, GTK1 sad
</edit>

<edit num="2">
Wait, sounds like there's a GTK2 version on the site somewhere...
</edit>

Offline

#4 2005-07-22 11:29:35

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: an enemy territory game launcher

Awesome!

I play ET too, and on optus!

What's your server list atm? The
ingame one in ET sucks, every time i bookmark servers it forgets them. and it'd be awesome to not have to wait for that inbuilt one to find a server.

include the serverlist and consider me a user wink

iphitus

Offline

#5 2005-07-23 05:31:44

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: an enemy territory game launcher

include the serverlist

It should be in there. Now I think about it, it'll die if you try and add/remove a server if running as a user cause at the moment, it'll try and write the file to /usr/share/game-launcher.

I'll fix that up this arvo hopefully but as is it'll work fine with my server list which includes most of the Optus servers nd a GameArena one which I used when I was testing smile

Offline

#6 2005-07-23 08:33:06

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: an enemy territory game launcher

Cam wrote:

include the serverlist

It should be in there. Now I think about it, it'll die if you try and add/remove a server if running as a user cause at the moment, it'll try and write the file to /usr/share/game-launcher.

I'll fix that up this arvo hopefully but as is it'll work fine with my server list which includes most of the Optus servers nd a GameArena one which I used when I was testing smile

awesome, include any other aussie servers if you can too, big_smile

Offline

#7 2005-07-23 12:46:56

Slash
Member
Registered: 2005-04-19
Posts: 66
Website

Re: an enemy territory game launcher

Yea, XQF is what you're looking for. It functions just like All Seeing Eye in windows (or GameSpy). It uses qstat, so it basically supports everything big_smile

It's in the extra repo (and uses GTK2)!

extra/xqf 1.0.3-1
    XQF is a Quake/Quake World/Quake2/Quake3 server browser and launcher for X11

big_smile

Offline

#8 2005-07-26 00:54:20

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: an enemy territory game launcher

A couple of updates. I'm gonna keep using this cause it's nice,simple, and does what I want it to. figure I might as well make it available in-case others want something simple too.

Updated the original post with new PKGBUILD and a .install file

Offline

#9 2005-11-04 13:37:20

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: an enemy territory game launcher

Your Launcher won´t work for me anymore!!!!!

I´m not good in python, so maybe u can help me with this problem
Here´s the error i get:

Traceback (most recent call last):
  File "launcher.py", line 183, in ?
    l = launcher()
  File "launcher.py", line 54, in __init__
    self._refreshServers()
  File "launcher.py", line 78, in _refreshServers
    data = [server.name, server.hostName, server.map, "%d/%d" % (server.numPlayers, server.maxPlayers), server.ping]
TypeError: int argument required

Offline

#10 2005-11-05 00:49:15

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: an enemy territory game launcher

It's the direct result of Optus moving their game servers around but the indirect result of my sloppy coding without decent error checking wink

If you've added some local servers, just open ~/.et-launcherrc in a text editor and delete the first few lines that reference the Optus servers and it should work fine for you. I just updated my server list with working game servers and the error went away.

Offline

Board footer

Powered by FluxBB