![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() ![]() |
![]() |
![]()
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 |
||||
|
|||||
![]()
Post
#2
|
|
![]() ![]() Group: Management Joined: 10-May 04 From: Germany Member No.: 2 ![]() |
the complete URL-Syntax is:
CODE <protocol>://[<password>@]<ip:port>[/<protocol>][/option1][/option2][/option3][...] examples: CODE et://12.34.56.78:1234/84
et://password@12.34.56.78:1234 etqw://password@12.34.56.78:1234/10 -------------------- ![]() Du hast nur einen Termin im Leben und der ist bereits terminiert ! http://video.google.de/videoplay?docid=5024787479139933029 |
|
|
![]() ![]()
Post
#3
|
|
![]() ![]() Group: Members Joined: 29-November 04 From: Dortmund, Germany Member No.: 1709 ![]() |
Hey thanks, BeatTheMeat!
![]() ![]() ![]() -------------------- |
|
|
![]()
Post
#4
|
|
Private Group: Members Joined: 27-February 06 Member No.: 23306 ![]() |
![]() ![]() ![]() |
|
|
![]()
Post
#5
|
|
Private Group: Members Joined: 27-August 06 Member No.: 32584 ![]() |
where do i put the first thing on the et console?
|
|
|
![]()
Post
#6
|
|
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. |
|
|
![]()
Post
#7
|
|
Private Group: Members Joined: 4-September 05 Member No.: 13993 ![]() |
Hello, I am French and I am under ubuntu, and I do not understand anything at all. I am sorry but I am a novice under ubuntu, so There is possible to describe the procedure step by step please. Thanks ![]() ![]() |
|
|
![]()
Post
#8
|
|
Private Group: Members Joined: 17-December 07 Member No.: 64261 ![]() |
Hello,
I am French too :) Sorry, but I have not understood this : CITATION You may have to adjust ${ET} to fit your ET installation Thanks for your answer. s0lstiCe |
|
|
![]()
Post
#9
|
|
Private Group: Members Joined: 31-January 08 Member No.: 66712 ![]() |
it means that
QUOTE ET="/usr/games/bin/et" might not be the folder you've installed ET in. In that case you have to edit this line.
|
|
|
![]()
Post
#10
|
|
Private Group: Members Joined: 17-December 07 Member No.: 64243 ![]() |
Didn't get it to work with Firefox, must have screwed up somehow, so I tried it on Opera webbrowser and it works like a charm.
In Opera you open "Tools"->"Preferenses"->"Advanced"->"Programs" Then you choose "Add", type "et" as protocol and browse to your etlaunch.sh Thanks BeaTtheMeaT for making the script This post has been edited by PisseNisse: Feb 21 2008, 06:47 PM |
|
|
![]()
Post
#11
|
|
Private Group: Members Joined: 17-December 07 Member No.: 64261 ![]() |
|
|
|
![]()
Post
#12
|
|
Private Group: Members Joined: 1-May 08 Member No.: 71233 ![]() |
On my Kubuntu (7.10) address is: /Home/s0lstiCe/.etwolf/ Here is directory for downloaded files, profiles, mods. Not for Game Binaries. In default (in my) installation, ET installs in /usr/share/games/enemy-territory Well, you must add: CODE ET="/usr/share/games/enemy-territory/et" (an example for me) PS. I have Fedora. This post has been edited by morsik: May 2 2008, 02:36 PM |
|
|
![]()
Post
#13
|
|
![]() Private Group: Members Joined: 6-June 05 From: Dordrecht.. Member No.: 9343 ![]() |
I might have a little problem here
![]() made the script.. changed the location of my ET directory (tested this thing and it does launch ET for me) made the changes to firefox and that too seems to do something.. now when I click the et links from splatterladder firefox gives me a selection box of what app to run.. made sense to me since it has an option for remember my decision it even shows the etlaunch.sh in that dialog all of that seemed to work properly and made me very happy.. I closed some apps and hit the OK button with remember my decision and etlaunch.sh marked and now it doesn't do shit.. ![]() sooo.. suggestions please :) running Ubuntu 8.04 in 64 bit mode which seems to have firefox3 **EDIT** yay fixed it.. dunno how but it works now =D This post has been edited by Nizzle: May 30 2008, 10:54 PM -------------------- ![]() |
|
|
![]()
Post
#14
|
|
Private Group: Members Joined: 3-October 08 Member No.: 76940 ![]() |
I might have a little problem here ![]() made the script.. changed the location of my ET directory (tested this thing and it does launch ET for me) made the changes to firefox and that too seems to do something.. now when I click the et links from splatterladder firefox gives me a selection box of what app to run.. made sense to me since it has an option for remember my decision it even shows the etlaunch.sh in that dialog all of that seemed to work properly and made me very happy.. I closed some apps and hit the OK button with remember my decision and etlaunch.sh marked and now it doesn't do shit.. ![]() sooo.. suggestions please :) running Ubuntu 8.04 in 64 bit mode which seems to have firefox3 **EDIT** yay fixed it.. dunno how but it works now =D Hi Nizzle, I have the same setup, Ubuntu like the first line to be bash. !/bin/sh also works but just for completeness... If you don't have either as the first line it will fail as you describe. To get mine to work I also had to change the network.protocol-handler.app.et setting to (ignore quotes) "sh etlaunch.sh" And the path on my Ubuntu only needed to be et However the physical path in Ubuntu is usually /usr/local/games/enemy-territory =================== #!/bin/bash # # etlaunch.sh launches ET from splatterladder.com # ET="et" SERVER=`echo ${1} | cut -d "/" -f 3` ${ET} +connect ${SERVER} This post has been edited by DogsOfWar: Oct 3 2008, 12:56 AM |
|
|
![]()
Post
#15
|
|
Private Group: Members Joined: 29-November 07 Member No.: 63350 ![]() |
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): #!/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: 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 Could someone make a video of this to YouTube? Please... Im like the worst linux user ever after 3 days of use ![]() |
|
|
![]() ![]()
Post
#16
|
|
![]() 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) ![]()
Attached File(s)
![]() ![]() ![]() ![]() |
|
|
![]()
Post
#17
|
|
![]() 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 |
|
|
![]()
Post
#18
|
|
![]() ![]() 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. -------------------- |
|
|
![]()
Post
#19
|
|
![]() 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.
|
|
|
![]()
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... |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 3rd July 2025 - 04:08 AM |