Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: Unreal Tournament Tips!

  1. #1
    Join Date
    Apr 2005
    Location
    Harrogate, UK
    Beans
    152

    Cool Unreal Tournament Tips!

    Hi all, well after a bit of messing around I've managed to get UT GOTY Edition up and running mainly by referring to this guide: http://www.princessleia.com/UT.html
    and this post: http://www.ubuntuforums.org/showthread.php?t=8053

    However I did run in to some problems, so I thought I'd post my fix's here and (hopefully) save you all some time and frustration!

    So anyway,

    Step 1. Follow the guide: http://www.princessleia.com/UT.html

    Step 2. You will need to extract the maps, but before you do - try typing
    Code:
    ut
    into the terminal; if you get the error:
    Code:
     dirname: too few arguments
    Try `dirname --help' for more information.
    Couldn't run Unreal Tournament (ut-bin). Is UT_DATA_PATH set?
    Then we need to a little more 'setting up' (if not skip to Step 3).

    Type:
    Code:
     sudo gedit /usr/bin/ut
    in the terminal and then add the line
    Code:
    UT_DATA_PATH="/usr/games/ut/System"
    into the file (I put it under the 'UT_PREFS=...' line) - *note* if your install directory is different, then enter that location instead!

    now in order to avoid THIS we will have to add the same line to the file ucc:
    Code:
    sudo gedit /usr/bin/ucc
    and again add the line
    Code:
    UT_DATA_PATH="/usr/games/ut/System"
    under the 'UT_PREFS=...' line.

    Step 3. Make a new document in your home directory containing the following:
    Code:
    #!/bin/sh
    # Change this to YOUR install-dir of UT
    #
    INSTALLDIR=/usr/games/ut
    
    cd $INSTALLDIR/System
    
    for i in `ls ../Maps/*.unr.uz`
    	do
    	ucc decompress ../Maps/$i -nohomedir
    	done
    
    rm ../Maps/*unr.uz
    mv *.unr ../Maps
    
    echo "..:: Done! ::.."
    make it executable and then 'sudo' run it from a terminal. If your maps get deleted copy them back to the maps directory (/usr/games/ut/maps) from the install CD's and read Step 2 above

    Step 4. Now try typing,
    Code:
    ut
    into the terminal again - all being well you should be up and running! But don't stop reading just yet!!!

    Step 5. So then, hows your sound? Can you hear the in game sounds? Yes? Good, now try running the game by going to Applications>Games>Unreal Tournament

    *note* if the icon isn't there you may need to refresh the gnome panel

    Sound still working? If yes then good for you, if no read on...

    First I recommend you follow the directions given here: http://ubuntuguide.org/#configuresoundproperly

    The reason it doesn't work is because the Enlightened Sound Daemon is running, stopping the UT sound (I think that right, if not please feel free to correct ).

    There are 2 ways to get around this; one you can do what the guide says and disable the system sounds or if you like the 'clunks' when you start apps (as I do! ) you can do the following;

    Open a terminal and type
    Code:
    sudo gedit /usr/bin/ut
    and add the line
    Code:
    sleep 5
    above the line which says '# The user preferences directory'

    This will cause UT to wait 5 seconds before starting which should allow enough time for the Daemon to shut down.

    *note* if you followed the guide then you can probably reduce this value from 5 to 2 seconds - play around and see what works!

    Right well that's about it! Any problems, errors etc. feel free to post, sorry if its a bit long and disorganised but its been a long day - happy gaming!
    The linux (lama) song
    Here's a linux, there's a linux and another little linux, fuzzy linux, funny linux, linux linux, Duck!
    Linux linux, Ubuntu linux, Warthog, Hedgehog, Badger linux
    Linux linux, Dapper linux, dapper, dapper, duck!

  2. #2
    Join Date
    Dec 2004
    Location
    Vanderbijlpark, South Afr
    Beans
    30
    Distro
    Ubuntu Development Release

    Re: Unreal Tournament Tips!

    Also see http://www.utpg.org/ for some unofficial updates
    http://icculus.org/lgfaq/ was also handy - just search for unreal
    fixed my openGL problem which now works better than the SDLGL renderer

  3. #3
    Join Date
    Feb 2005
    Location
    Copenhagen, Denmark
    Beans
    82
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Unreal Tournament Tips!

    I have followed all your steps till this one. In step one, when I tryed to install the umodpack, it wasn't there, but in another thread, I read, that I just had to convert the maps with the script in step 3.

    Quote Originally Posted by NiceGuy

    Step 3. Make a new document in your home directory containing the following:
    Code:
    #!/bin/sh
    # Change this to YOUR install-dir of UT
    #
    INSTALLDIR=/usr/games/ut
    
    cd $INSTALLDIR/System
    
    for i in `ls ../Maps/*.unr.uz`
    	do
    	ucc decompress ../Maps/$i -nohomedir
    	done
    
    rm ../Maps/*unr.uz
    mv *.unr ../Maps
    
    echo "..:: Done! ::.."
    make it executable and then 'sudo' run it from a terminal. If your maps get deleted copy them back to the maps directory (/usr/games/ut/maps) from the install CD's and read Step 2 above
    I have copyed the script to a file I called 'utconvert'. I didn't know how to run it, so I copyed it to/usr/bin. Then it was possible for me to run it, but I get this errormessages (I have only copyed the ending, caus it repeats the start a lot of times).
    WARNING: Not using preference directory
    MisingIni

    History:

    Exiting due to error
    WARNING: Not using preference directory
    MisingIni

    History:

    Exiting due to error
    WARNING: Not using preference directory
    MisingIni

    History:

    Exiting due to error
    mv: kan ikke udføre stat() '*.unr': Ingen sådan fil eller filkatalog
    ..:: Done! ::..
    niels@nielslaptop:~$
    (some of the last part is danish, it says something like; mv: can't run stat() '*.unr': No such file or directory)

    I have done step 2.

    What's wrong???

    Please anser me, I'm dying to play UT!

  4. #4
    Join Date
    Apr 2005
    Location
    Harrogate, UK
    Beans
    152

    Re: Unreal Tournament Tips!

    Hurm... well, ok lets look at this bit by bit

    the last bit (in danish?!?! - don't know why that is!?) is saying that there are no .unr files in the ut maps directory (normally /usr/games/ut/system). So the first thing I'd do is see what is in maps directory.

    If there is nothing in there then your going to have to copy the maps back again from the maps folder on your ut cd.

    As we seem to be having problems it might be worth deleting the line

    "rm ../Maps/*unr.uz"

    from the utconvert script so you don't have to copy them back again.

    On a side note in order to run the script utconvert, right click on it and go to properties>permissions and check the tick box which says "excute" on the owner line. Then open a console window and type: sudo and then litteraly drag the file from your desktop to the console window, then press enter to run it.

    Now as for the "WARNING: Not using preference directory" bit - I wouldn't worry about that as I get that message too, the confusing bit is

    "MisingIni

    History:

    Exiting due to error"

    I guess its asking for a .ini file which is... well... missing - shame it doesn't say which one

    try just typing ucc in to a console and seeing if it will run on its own and post back what it says.


    oh and while your at it could you check that the files /.loki/ut/System/UnrealTournament.ini
    /.loki/ut/System/User.ini
    /.loki/ut/System/ChaosUT.ini

    are in your home directory (you'll have to go to View>show hidden files to look at them)
    and the files
    /usr/games/ut/System/UnrealTournament.ini
    /usr/games/ut/System/UnrealTournament.ini.PATCH
    /usr/games/ut/System/User.ini

    are also present.
    The linux (lama) song
    Here's a linux, there's a linux and another little linux, fuzzy linux, funny linux, linux linux, Duck!
    Linux linux, Ubuntu linux, Warthog, Hedgehog, Badger linux
    Linux linux, Dapper linux, dapper, dapper, duck!

  5. #5
    Join Date
    Feb 2005
    Location
    Copenhagen, Denmark
    Beans
    82
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Unreal Tournament Tips!

    Thanks.

    I have copyed the maps from the cd's, deleted "rm ../Maps/*unr.uz" from the 'utconvert' script and ran it as you explained, but I still gets the same error (now it just don't delete the maps)?

    Quote Originally Posted by NiceGuy
    I guess its asking for a .ini file which is... well... missing - shame it doesn't say which one
    Please read on...

    Quote Originally Posted by NiceGuy
    try just typing ucc in to a console and seeing if it will run on its own and post back what it says.
    Done:
    niels@nielslaptop:~$ ucc
    MisingIni

    History:

    Exiting due to error
    niels@nielslaptop:~$
    But when I try to run 'ut' nothing happens!?

    Quote Originally Posted by NiceGuy
    oh and while your at it could you check that the files /.loki/ut/System/UnrealTournament.ini
    /.loki/ut/System/User.ini
    /.loki/ut/System/ChaosUT.ini
    None of these files are there, only one called UnrealTurnament.log

    Quote Originally Posted by NiceGuy
    and the files
    /usr/games/ut/System/UnrealTournament.ini
    /usr/games/ut/System/UnrealTournament.ini.PATCH
    /usr/games/ut/System/User.ini
    These files are present.

    PS.
    Quote Originally Posted by NiceGuy
    (in danish?!?! - don't know why that is!?)
    I am danish!

  6. #6
    Join Date
    Apr 2005
    Location
    Harrogate, UK
    Beans
    152

    Re: Unreal Tournament Tips!

    I am danish!
    Ah I see, that would explain it! LOL

    But about the missing ini file...

    Could you post the log file, you never know it might shead some light as to which ini file you are missing...

    Oh and could you post the ucc.log file if you can find one - look in your home directory /.loki/ut/System/ucc.log and in the UT directory /usr/games/ut/system/ucc.log

    PS. you said that you couldn't do "apt-get install umodpack". So I assume that you didn't try to install any mod packs form the UT website (I never did this either so it should work anyway). The reason I ask is that I have read that installing a dodgy mod pack can cause this error.

    PPS. Have you tried reinstalling it? I can't imagine why, but maybe something went wrong the first time.
    Last edited by NiceGuy; November 24th, 2005 at 11:45 PM.
    The linux (lama) song
    Here's a linux, there's a linux and another little linux, fuzzy linux, funny linux, linux linux, Duck!
    Linux linux, Ubuntu linux, Warthog, Hedgehog, Badger linux
    Linux linux, Dapper linux, dapper, dapper, duck!

  7. #7
    Join Date
    Feb 2005
    Location
    Copenhagen, Denmark
    Beans
    82
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Unreal Tournament Tips!

    Quote Originally Posted by NiceGuy
    Could you post the log file, you never know it might shead some light as to which ini file you are missing...
    What log-file are you thinking of (the once below?)

    Quote Originally Posted by NiceGuy
    Oh and could you post the ucc.log file if you can find one - look in your home directory /.loki/ut/System/ucc.log and in the UT directory /usr/games/ut/system/ucc.log
    The /.loki/ut/System/UnrealTournament.log file is empty, but /.loki/ut/System/ucc.log says this:
    Log: Log file open, Thu Nov 24 22:47:39 2005
    Init: Name subsystem initialized
    Init: Version: 436
    Init: Compiled: Oct 30 2000 11:53:24
    Init: Command line:
    Init: Base directory:
    Init: Character set: ANSI
    Critical: appError called:
    Critical: MisingIni
    Exit: Exiting.
    Uninitialized: Name subsystem shut down
    Uninitialized: Log file closed, Thu Nov 24 22:47:39 2005
    /usr/games/ut/System/ucc.log says:
    Log: Log file open, Thu Nov 24 22:55:13 2005
    Init: Name subsystem initialized
    Init: Version: 436
    Init: Compiled: Oct 30 2000 11:53:24
    Init: Command line: ../Maps/../Maps/UTCredits.unr.uz -nohomedir
    Init: Base directory:
    Init: Character set: ANSI
    Critical: appError called:
    Critical: MisingIni
    Exit: Exiting.
    Uninitialized: Name subsystem shut down
    Uninitialized: Log file closed, Thu Nov 24 22:55:13 2005
    Quote Originally Posted by NiceGuy
    PS. you said that you couldn't do "apt-get install umodpack". So I assume that you didn't try to install any mod packs form the UT website (I never did this either so it should work anyway). The reason I ask is that I have read that installing a dodgy mod pack can cause this error.
    No, I havn't tryed to install any packeges from the website.
    (I can't download Bonus Packs, it asks for my email and birthdate and then sends me to another page, where I can's find the Bonus Packs!?)

    Quote Originally Posted by NiceGuy
    PPS. Have you tried reinstalling it? I can't imagine why, but maybe something went wrong the first time.
    Ok, i tryed this. First I cheked if I had chmod'ed the install script, and it seemed that I had forgotten this part. After chmod'ing, I ran the script again, and this time a graphical installer showed up!?!
    I noticed, that I might have said no to both OpenGL and Glide for rendering (what's the difference?).
    But I couldn't complet the installation. The 'Begin Install' is inactive with a 'No write permissions on the install directory' message!?

    Thanks again for your fast help - this community rules!
    Last edited by niels; November 25th, 2005 at 08:59 AM.

  8. #8
    Join Date
    Apr 2005
    Location
    Harrogate, UK
    Beans
    152

    Re: Unreal Tournament Tips!

    Sorry for the lateness of this reply (I've been busy this weekend).

    So am I right in thinking that the first time you ran the script there was no graphical installer?!? If so that might explain where you went wrong...

    I recommend you try installing it again (third time lucky). I've just installed it myself on a new machine and this is exactly what I did so 'hopefully' it should work for you!

    1. Download the installer http://www.princessleia.com/tools//u...l-436-GOTY.run and place it in your 'home' directory.

    2. Open a console window and type
    Code:
    xhost +
    you'll get a message which says:
    Code:
    access control disabled, clients can connect from any host
    3. Next type
    Code:
    sudo su
    and enter your password. This will make you 'root'

    4. Then type
    Code:
    export DISPLAY=:0.0
    5. Then type
    Code:
    chmod 755 ut-install-436-GOTY.run
    6. Finally type
    Code:
    bash ut-install-436-GOTY.run
    which should launch the graphical installer.

    7.
    The install path should be /usr/games/ut
    The link path should be /usr/bin
    The option 'Binary Files' should be selected and the default renderer should be OpenGL
    The option 'Data Files' should be selected
    The option 'Desktop menu items' should be selected

    Click 'Begin Install'

    8. Half way through the installation it will as you for the second disk and if you only have one cdrom (like I do) then you will have to eject the first cd. To do this you may need to right click on the cd icon on your desktop and click 'eject'

    9. When the installation is finished, just click exit. Then in the console type
    Code:
    exit
    and then follow the instructions from my first post (step 2 onwards).

    Hope this works for you - let me know how you get on!
    The linux (lama) song
    Here's a linux, there's a linux and another little linux, fuzzy linux, funny linux, linux linux, Duck!
    Linux linux, Ubuntu linux, Warthog, Hedgehog, Badger linux
    Linux linux, Dapper linux, dapper, dapper, duck!

  9. #9
    Join Date
    Feb 2005
    Location
    Copenhagen, Denmark
    Beans
    82
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Unreal Tournament Tips!

    Quote Originally Posted by NiceGuy
    Sorry for the lateness of this reply (I've been busy this weekend).
    Me too, so there is no problem

    Quote Originally Posted by NiceGuy
    6. Finally type
    Code:
    bash ut-install-436-GOTY.run
    which should launch the graphical installer.
    This time it launches the graphical installer, but it says that i have 'No write permission on the install directory', and the 'Begin Install' is inactive!?!
    Do I have to delete what it installed the first time? If so, what exactly should I delete (/usr/games/ut/*, /usr/bin/ut, /usr/bin/ccu, /home/niels/.loki/ut/*?)

    Thanks for your help again!

  10. #10
    Join Date
    Apr 2005
    Location
    Harrogate, UK
    Beans
    152

    Re: Unreal Tournament Tips!

    Well to be on the safe side I'd delete the /usr/games/ut directory.

    As for the 'No write permission on the install directory' bit... hurm...

    are you sure your running the install script as root, ie. by typing
    Code:
    sudo su
    and then typing
    Code:
    bash ut-install-436-GOTY.run
    The linux (lama) song
    Here's a linux, there's a linux and another little linux, fuzzy linux, funny linux, linux linux, Duck!
    Linux linux, Ubuntu linux, Warthog, Hedgehog, Badger linux
    Linux linux, Dapper linux, dapper, dapper, duck!

Page 1 of 4 123 ... 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
  •