Page 1 of 2 12 LastLast
Results 1 to 10 of 23

Thread: Urban Terror 4.1 Install Script

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Ohio
    Beans
    Hidden!
    Distro
    Gutsy Gibbon Testing

    Urban Terror 4.1 Install Script

    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
    Attached Files Attached Files
    Last edited by tshirtz1013; January 1st, 2008 at 09:27 PM.

  2. #2
    Join Date
    Jan 2007
    Beans
    252

    Re: Urban Terror 4.1 Install Script

    Code:
    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$

  3. #3
    Join Date
    Apr 2006
    Location
    Ohio
    Beans
    Hidden!
    Distro
    Gutsy Gibbon Testing

    Re: Urban Terror 4.1 Install Script

    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.
    Last edited by tshirtz1013; January 1st, 2008 at 08:01 PM.

  4. #4
    Join Date
    Jan 2007
    Beans
    252

    Re: Urban Terror 4.1 Install Script

    Do you even test this script on your pc before posting it ?

  5. #5
    Join Date
    Apr 2006
    Location
    Ohio
    Beans
    Hidden!
    Distro
    Gutsy Gibbon Testing

    Re: Urban Terror 4.1 Install Script

    Quote Originally Posted by cherva View Post
    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.

  6. #6
    Join Date
    Jan 2007
    Beans
    252

    Re: Urban Terror 4.1 Install Script

    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)
    Code:
    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$

  7. #7
    Join Date
    Apr 2006
    Location
    Ohio
    Beans
    Hidden!
    Distro
    Gutsy Gibbon Testing

    Re: Urban Terror 4.1 Install Script

    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 ?

  8. #8
    Join Date
    Jan 2007
    Beans
    252

    Re: Urban Terror 4.1 Install Script

    Everything is working the problem is for the cleaning part of your script

  9. #9
    Join Date
    Apr 2008
    Beans
    1

    Re: Urban Terror 4.1 Install Script

    good work.


    Thanks

    Dante

  10. #10
    Join Date
    Jul 2008
    Beans
    1

    Re: Urban Terror 4.1 Install Script

    What if you already have it downloaded? I have only been using ubuntu for about a week so go easy on me.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •