IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Gamelauncher hack for linux/firefox
crashtime
post Jan 10 2009, 12:15 PM
Post #16


Group Icon Private 1st Class

Group: Members

Joined: 30-December 08
Member No.: 80129



I did some screenshots of how to do in FireFox (i am in windows don't kick me for that :P) but the script is easy to configure.

Place the file, for example, in /home/[youruser]/ (to assign easily the chmod)

Then go to a terminal (called in Ubuntu "terminal", in others console or konsole if you are in KDE) and write:

chmod 775 /home/[youruser]etlaunch.sh

There you have the image i captured

P.S: Nice script, it would be improved with a 'selector' of wich ET version is needed (for exmaple i play in 2.55 and 2.6b but i would use it for 2.6b only at this moment) grin.gif
Attached File(s)
Attached File  about_config.JPG ( 247.45K ) Number of downloads: 41
Attached File  boolean.JPG ( 258.79K ) Number of downloads: 36
Attached File  launcher.JPG ( 96.32K ) Number of downloads: 31
Attached File  string.JPG ( 215.75K ) Number of downloads: 41
 
Go to the top of the page
 
+Quote Post
crashtime
post Jan 11 2009, 09:37 PM
Post #17


Group Icon 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
Go to the top of the page
 
+Quote Post
Krauersaut
post Jan 11 2009, 10:44 PM
Post #18


Group Icon General of the Army

Group: Management

Joined: 2-January 06
From: Europe
Member No.: 20317



QUOTE (crashtime @ Jan 11 2009, 09:37 PM) *
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.


--------------------


"Ich weiß nicht, welche Waffen im nächsten Krieg zur Anwendung kommen,
wohl aber, welche im übernächsten: Pfeil und Bogen."
Go to the top of the page
 
+Quote Post
crashtime
post Jan 11 2009, 11:41 PM
Post #19


Group Icon Private 1st Class

Group: Members

Joined: 30-December 08
Member No.: 80129



Well it is modyfied in part by me and he has credits and redirections to this page... anyway if he does not want to get published tell me and i will delete.
Go to the top of the page
 
+Quote Post
Psytechnic
post Mar 1 2010, 01:06 AM
Post #20


Private

Group: Members

Joined: 24-February 06
From: UK
Member No.: 23183



Some people might have noticed that in FireFox 3.5, the network.protocol-handler.app.et designation is depreciated and no longer used, meaning the browser announces that there is no associated application to the et protocol. The way I found to get this to work is using some information here and here. This is based on an ubuntu 9.10 with FireFox 3.5 and requires some gnome libraries.

after following the etlaunch.sh making process, after assigning network.protocol-handler.external.et boolean true, type this into console.
CODE
gconftool-2 -s /desktop/gnome/url-handlers/et/command '< etlaunch.sh location> %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/et/enabled --type Boolean true


If you have any comments on this, please message me.


--------------------
================================================================
Nothing much...
Go to the top of the page
 
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 27th April 2024 - 01:10 PM