IPB

Welcome Guest ( Log In | Register )

> Gamelauncher hack for linux/firefox
BeaTtheMeaT666
post 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):

CODE

#!/bin/sh

#
# etlaunch.sh launches ET from splatterladder.com
#

ET="/usr/games/bin/et"
SERVER=`echo ${1} | cut -d "/" -f 3`

${ET} +connect ${SERVER}



You may have to adjust ${ET} to fit your ET installation.

Make this script executable:

CODE

chmod 755 etlaunch.sh



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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
durand
post Sep 30 2007, 01:21 PM
Post #2


Private

Group: Members

Joined: 29-September 07
Member No.: 60208



You dont need to use the ET console for anything...
Save that script somewhere, like /home/username/bin. Then open a terminal, cd to the folder, and type chmod a+x scriptname. Then, if you use the Opera web browser, go to Tools > Preferences > Advanced > Programs > Click on add: In protocol, type et and then open in other application, just locate the file.
Now, if you just click on the link at SplatterLadder, it should open ET.
QUOTE
Doesn't work for me. It said that et is not a registered protocol.


That might be because you left a space in the value somewhere or made a slight mistake.
Go to the top of the page
 
+Quote Post

Posts in this topic
- BeaTtheMeaT666   Gamelauncher hack for linux/firefox   Feb 9 2006, 08:30 AM
- - sl.Proddi   the complete URL-Syntax is: CODE<protocol...   Feb 9 2006, 02:39 PM
- - Thermo   Hey thanks, BeatTheMeat!   Feb 9 2006, 05:29 PM
- - Kernel   Doesn't work for me. It said that et is not a ...   Feb 27 2006, 02:32 AM
- - phantom666   where do i put the first thing on the et console?   Sep 7 2006, 03:24 PM
- - durand   You dont need to use the ET console for anything.....   Sep 30 2007, 01:21 PM
- - Maitre Bra*tac   Hello, I am French and I am under ubuntu, and I do...   Dec 8 2007, 07:55 PM
|- - s0lstiCe   Hello, I am French too :) Sorry, but I have not un...   Jan 25 2008, 04:00 PM
|- - Welon   it means that QUOTE ET="/usr/games/bin/et...   Feb 12 2008, 12:52 PM
|- - s0lstiCe   CITATION(Welon @ Feb 12 2008, 12:52 PM) i...   Mar 1 2008, 11:40 AM
|- - morsik   QUOTE (s0lstiCe @ Mar 1 2008, 12:40 PM) O...   May 2 2008, 02:36 PM
- - PisseNisse   Didn't get it to work with Firefox, must have ...   Feb 21 2008, 06:45 PM
- - Nizzle   I might have a little problem here made the scri...   May 30 2008, 09:41 PM
|- - DogsOfWar   QUOTE (Nizzle @ May 31 2008, 04:41 AM) I ...   Oct 3 2008, 12:45 AM
- - chef^^   (BeaTtheMeaT666 @ Feb 9 2006, 09:30 AM) H...   Jan 9 2009, 05:30 PM
- - crashtime   I did some screenshots of how to do in FireFox (i ...   Jan 10 2009, 12:15 PM
- - crashtime   There you have the file modified by me with the mo...   Jan 11 2009, 09:37 PM
|- - Krauersaut   QUOTE (crashtime @ Jan 11 2009, 09:37 PM)...   Jan 11 2009, 10:44 PM
- - crashtime   Well it is modyfied in part by me and he has credi...   Jan 11 2009, 11:41 PM
- - Psytechnic   Some people might have noticed that in FireFox 3.5...   Mar 1 2010, 01:06 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 5th July 2024 - 12:22 AM