sl.Home | sl.Search | sl.Forum | sl.Settings | sl.Serverlist | sl.Maplist | sl.Team | sl.Wiki |
Gamelauncher hack for linux/firefox |
Feb 9 2006, 08:30 AM
Post
#1
|
|||||
Private Group: Members Joined: 9-February 06 Member No.: 22342 |
Hi, after browsing your serverlist I thought I might be handy to have something for linux people to launch ET from firefox. That's what I did (nothing fancy, but cheap):
You may have to adjust ${ET} to fit your ET installation. Make this script executable:
Then type "about:config" in firefox as URL, an add 2 new variables by clicking right mouse, selecting "New": The first one is of type "boolean": network.protocol-handler.external.et Value is "true". The second one is of type "String": network.protocol-handler.app.et use the path to etlaunch.sh as value That's it. Just click on the connect button in the serverlist and et should start. Cheers, BeaTtheMeaT |
||||
|
|||||
Jan 11 2009, 09:37 PM
Post
#2
|
|
Private 1st Class Group: Members Joined: 30-December 08 Member No.: 80129 |
There you have the file modified by me with the modification i suggested:
CODE #!/bin/sh # # etlaunch.sh launches ET from splatterladder.com # ET="/usr/games/bin/et" ET2="/usr/games/bin/et2.55" SERVER=`echo ${1} | cut -d "/" -f 3` PROTOCOL=`echo ${1} | cut -d "/" -f 4` if [ "$PROTOCOL" = "84" ]; then ${ET} +connect ${SERVER} else ${ET2} +connect ${SERVER} fi As other one, modify ET and ET2 with your own path to ET games, i have added it to mytutorials website The rest is like BeaTtheMeaT666 said, Enjoy! This post has been edited by crashtime: Jan 11 2009, 10:17 PM |
|
|
Jan 11 2009, 10:44 PM
Post
#3
|
|
General of the Army Group: Management Joined: 2-January 06 From: Europe Member No.: 20317 |
There you have the file modified by me with the modification i suggested: CODE #!/bin/sh # # etlaunch.sh launches ET from splatterladder.com # ET="/usr/games/bin/et" ET2="/usr/games/bin/et2.55" SERVER=`echo ${1} | cut -d "/" -f 3` PROTOCOL=`echo ${1} | cut -d "/" -f 4` if [ "$PROTOCOL" = "84" ]; then ${ET} +connect ${SERVER} else ${ET2} +connect ${SERVER} fi As other one, modify ET and ET2 with your own path to ET games, i have added it to mytutorials website The rest is like BeaTtheMeaT666 said, Enjoy! I would suggest asking him first for your permission to publish it on your website before you do it. -------------------- |
|
|
Lo-Fi Version | Time is now: 4th October 2024 - 06:27 AM |