PDA

View Full Version : Urban Terror 4.1 Install Script


tshirtz1013
January 1st, 2008, 12:23 PM
I updated and modified a script to install Urban Terror 4.1.
a great FPS thats absolutely free and very linux friendly.

- Automatically Downloads the 4.1 Full Zip from the internet
- Checks md5 hash to verify download integrity
- Extracts the Game into a directory
- Provides options for 32-bit version Desktop Shortcut and Menu Entry
- Provides options for 64-bit version Desktop Shortcut and Menu Entry
- Automatically makes .i386/x86_64 files executable

To run this script :

- Open a terminal and $ cd <Directory where you put the script>
- $ chmod +x URT41.sh
- $ ./URT41.sh

Let me Know if you have any problems or any ideas.

-- The original Script was from Urban Terror 4.0 and was written by Nexu --
-- I rewrote the file wget address and wrote the chmod lines for the .i386/x86_64 files
-- Also fixed the Menu Entry and Desktop Shortcut features and added an option for the 64-bit version
-- updated the md5sum for new file version
-- fixed invalid icon name

cherva
January 1st, 2008, 01:27 PM
cherva@mitosoft:~/Desktop/Urban Terror$ ./URT41.sh
______ _______ __
| __ \.-----..-----..----.| __|.---.-..----..--| |.-----..-----.
| __ <| -__|| -__|| _|| | || _ || _|| _ || -__|| |
|______/|_____||_____||__| |_______||___._||__| |_____||_____||__|__|

Urban Terror 4.1 Installer

This program will help install UrbanTerror 4.1 on your system.
Provided by : Beer-Garden.org and The Paranoid Penguin

Press enter key to continue or control-c now to abort


./URT41.sh: line 82: [: too many arguments
==> List of UrbanTerror 4.1 gamedata downloads host:
-------------------------------------------------
[1] BeerGarden

Enter a number for download location: 1
Downloading UrbanTerror 4.1 gamedata ...
--18:27:42-- http://maps.game-host.org/UrbanTerror_41_FULL.zip
=> `UrbanTerror_41_FULL.zip'
Resolving maps.game-host.org... 70.84.61.155
Connecting to maps.game-host.org|70.84.61.155|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 754,307,397 (719M), 750,061,984 (715M) remaining [application/zip]

100%[====================================>] 754,307,397 300.37K/s ETA 00:00

19:08:52 (296.64 KB/s) - `UrbanTerror_41_FULL.zip' saved [754307397/754307397]

Verifying UrbanTerror_41_FULL.zip integrity ...OK
Extracting game files ...And Making Executable
checkdir: cannot create extraction directory: /home/cherva/Games/UrbanTerror41
ERROR: Archive extraction failure.
cherva@mitosoft:~/Desktop/Urban Terror$

tshirtz1013
January 1st, 2008, 02:14 PM
Think I fixed it.... I updated the Script in my previous post. Let me know if that works. I had it set to install into the /Games/Folder but that was a folder I made. Not one that exist by default. Sorry about that.

cherva
January 1st, 2008, 04:02 PM
Do you even test this script on your pc before posting it ?

tshirtz1013
January 1st, 2008, 04:22 PM
Do you even test this script on your pc before posting it ?


Yes, I did. It worked fine, but not everyones computer is like mine. so I had to fix a few things. I am sorry its not perfect. I have tweaked it pretty well now.

I am sorry that it didnt work at first for you. I did re-upload a new version. I appreciate you letting me know it had issues though. I can't fix what i dont know is wrong.

cherva
January 1st, 2008, 07:51 PM
Good job but there are some errors if the folder you are trying to run the script has a name with two words and a space between them (ex untitled folder)
Please choose your Game Type Shortcuts
(R)egular-32bit |(S)pecial-64bit | (N)one R
Making a desktop icon ...OK
Making a menu item ...OK
rm: cannot remove `/home/cherva/Desktop/untitled': No such file or directory
rm: cannot remove `folder/.urtinstaller': No such file or directory

Installation is done. Time to Lock And Load


|_ _ _ _ _ _ _ _| _ _ _ _ _
|_)(/_(/_| - (_|(_|| (_|(/_| |.(_)| (_|
_| _|
If A Free Beer and a Free Game Had a baby....That's Us.


Be sure to check out the BeerGarden TeamSpeak Server @ TS.BEER-GARDEN.ORG:8900



cherva@mitosoft:~/Desktop/untitled folder$

tshirtz1013
January 2nd, 2008, 04:24 PM
Did that effect the install or execution of the game or did it just screw up when trying to clean up. I mean I see the error so its apparent it didnt clean up properly after the script was done, But does everything else work ? like you got urban Terror now ?

cherva
January 2nd, 2008, 05:05 PM
Everything is working the problem is for the cleaning part of your script

dante76
May 25th, 2008, 12:05 PM
good work.:guitar:


Thanks

Dante

xrobwx
July 1st, 2008, 10:31 PM
What if you already have it downloaded? I have only been using ubuntu for about a week so go easy on me.

Vadi
August 11th, 2008, 07:17 AM
Here's an easier way to get it: http://www.getdeb.net/search.php?keywords=urban+terror

cristo-father
August 11th, 2008, 07:19 AM
or http://www.linuxmint.com/forum/viewtopic.php?f=32&t=14524

zedoctor
February 11th, 2009, 11:12 PM
yeh, works fine if you already have the zip. just put zip in the same folder

it will say this if it has detected the downloaded file

HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

Verifying UrbanTerror_41_FULL.zip integrity ...OK


and run commands

chmod +x URT41.sh

and

./URT41.sh

-Thanx

the other install .sh i found didn't work

another note. don't change your resolution too 1440x900 i got some serious bugs (no mouse, Crashed etc had to re install it)

Thanks for this one
:thumbsup:
\\:D/

taurus0405
March 15th, 2009, 03:58 AM
fdgdfg legal kara shwwwwwwww

Sealbhach
March 15th, 2009, 01:46 PM
fdgdfg legal kara shwwwwwwww

OK thganhks.


.

71CH
April 23rd, 2009, 09:18 PM
How can I uninstall this including the menu entry? Thanks.

aonegodman
September 7th, 2009, 06:16 PM
BUMP! Ditto. How to remove Urban Terror and all it's children off my computer????

knxville
December 4th, 2009, 12:57 PM
Ive now installed Urban Terror through the script you've posted, but when I try to open it, nothing happens at all?

SNOOPY817
December 6th, 2009, 08:19 PM
Just download it right here ftp://ftp.snt.utwente.nl/pub/games/urbanterror/UrbanTerror_41_FULL.zip[/URL] and once its done downloading, extract it and what not then open up the urban terror folder then look for a file called "ioUrbanTerror.i386" right click it go to properties go to permission then check the little box next to "Execute" then close then double click "ioUrbanTerror.i386" and your ready to play.[URL="http://ftp//ftp.snt.utwente.nl/pub/games/urbanterror/UrbanTerror_41_FULL.zip"]
(ftp://ftp.snt.utwente.nl/pub/games/urbanterror/UrbanTerror_41_FULL.exe)

darren1996
December 20th, 2009, 11:13 PM
thanks:)

Sand & Mercury
December 21st, 2009, 07:37 AM
^ If you've already got it downloaded, just unzip and play. All good!

eerjay
October 14th, 2011, 09:33 PM
I keep getting a 404 error after I enter a number for location.

uRock
October 15th, 2011, 12:38 AM
Closed for Necromancy.

Please start a new thread for your problem.