Page 1 of 9 123 ... LastLast
Results 1 to 10 of 84

Thread: How to Install UT2004 from Midway Anthology

  1. #1
    Join Date
    Oct 2005
    Location
    UK
    Beans
    322
    Distro
    Ubuntu Karmic Koala (testing)

    How to Install UT2004 from Midway Anthology

    Installing UT2004 from the Unreal Anthology by Midway
    (thanks to type98 and coffeeadikt for their posts)

    NOTE: This How to takes notes from this guide.
    NOTE: This installation was undertaken on a 32 bit machine running Ubuntu Edgy Eft, but might be applicable for other versions.
    NOTE: Unshield might not work properly on your installation, especially if running the 64bit version. This might help. (See caveat)
    NOTE: This worked for me but might not for you, if you have helpful additions then I would be grateful.


    Preparation for Installation

    The Midway Anthology DVD does not have an installer script. The files on the DVD are in an Installshield CAB format files that needs to be extracted. This cannot be done using cabextract as that is for Microsoft CAB files, instead we need a copy of "unshield".

    1) Obtain a copy of "unshield" using your package manager or from SynCE - Unshield
    2) Next, obtain the latest linux ut2004 patch (v3369 as of this writing) http://treefort.icculus.org/ut2004/u...ch3369.tar.bz2
    3) Free up roughly 16GB of space for the install process, about 5.3GB for CAB files and 11GB for extracted files.


    Installation

    4) Mount the DVD if not already loaded/mounted (For example, if the DVD drive is /dev/hdb and the mount point is /mnt): # mount -r -t iso9660 /dev/hdb /mnt
    5) Copy CAB files to a temporary location, this can be done by going into the 10 directories named Disk 1 to 10 and copying the CAB files using your favourite file manager or by;

    # mkdir junk; cd junk
    /junk# cp /mnt/Disk?/data?.* .
    /junk# cp /mnt/Disk10/data??.* .

    [OPTIONAL METHOD IF UNSHIELD FAILS
    5a - 6a) If unsheild is not working for you at all. svtfmook suggests extracting the CAB files using Wine and the windows version of Unshield, or just installing using the windows installer and copying the directories over afterward.]

    6) Decompress the copied CAB files to the installation directory of choice (here using the following command in the temporary directory; unshield -d /install/directory -D3 x data1.cab

    (Note: -D 3 turns debugging on)
    (Note: make sure you have all 11 CAB files otherwise extraction will not work properly)

    You should have now all four games in the one installation directory.
    Note: It is probably possible to play the other games from this DVD but this guide is currently for UT2004

    The other games are not needed, nor is windows executable, the directory called OCXFiles and any files starting with _ and Launcher

    7) Delete all directories beginning with _, 1_, 2_ and 3_ and the executable

    # rm -rf _* 1_* 2_* 3_* Launcher* All_UT2004.EXE OCXFiles

    You should now have a directory looking like this

    4_UT2004_Animations
    4_UT2004_Benchmark
    4_UT2004_EXE
    4_UT2004_ForceFeedback
    4_UT2004_Help
    4_UT2004_Help_English
    4_UT2004_Help_French
    4_UT2004_Help_GermanAll
    4_UT2004_Help_Italian
    4_UT2004_Help_Spanish
    4_UT2004_KarmaData
    4_UT2004_Manual_English
    4_UT2004_Manual_French
    4_UT2004_Manual_German
    4_UT2004_Manual_Italian
    4_UT2004_Manual_Spanish
    4_UT2004_Maps
    4_UT2004_Music
    4_UT2004_Sounds_All
    4_UT2004_Sounds_English
    4_UT2004_Sounds_French
    4_UT2004_Sounds_GermanAll
    4_UT2004_Sounds_Italian
    4_UT2004_Sounds_Spanish
    4_UT2004_Speech_English
    4_UT2004_Speech_French
    4_UT2004_Speech_German
    4_UT2004_Speech_Italian
    4_UT2004_Speech_Spanish
    4_UT2004_StaticMeshes
    4_UT2004_System_All
    4_UT2004_System_English
    4_UT2004_System_French
    4_UT2004_System_GermanAll
    4_UT2004_System_Italian
    4_UT2004_System_Spanish
    4_UT2004_Textures
    4_UT2004_Web

    Note if you are not planning on playing in German, Spanish or French then remove any directories relating to those languages, this will save disk space

    8) Remove other language options

    # rm -rf *French *German* *Spanish *Italian

    9) Remove UT2004 executable, again.

    # rm -rf 4_UT2004_EXE

    10) Move any files in the English appended directory to corresponding directory, e.g. 4_UT2004_Help_English to 4_UT2004_Help. And rename any directories ending with _All to its root e.g. Sounds_All to Sounds

    11) Rename all directories so that the 4_UT2004_ is removed

    This can be done in your favourite file browser by using the following bash script

    for file in 4_UT2004_*
    do
    newname=`echo $file | sed -e 's/4_UT2004_//'`
    mv $file $newname
    done

    Directory should now look like this

    Animations
    Benchmark
    ForceFeedback
    Help
    KarmaData
    Manual
    Maps
    Music
    Sounds
    Speech
    StaticMeshes
    System
    Textures
    Web

    12) Now to get the Linux executables and other required files that are provided by the patch. Move the patch to the isntall directory and extract it.

    Unpack the ut2004 linux patch

    /install/directory# tar -jxf ut2004-lnxpatch3369.tar.bz2

    Copy the all files+dir under UT2004-Patch into the top level
    directories

    # cd UT2004-Patch
    UT2004-Patch# tar cf - . |( cd .. ; tar xvf -)

    13) Copy System files to the games system folder, the game requires, OpenAL and SDL

    Make sure that the /install/directory/System has a local copy
    of libSDL-1.2.so.0 and openal.so.

    /install/directory/System# cp /usr/lib/libSDL-1.2.so.0 ./libSDL-1.2.so.0
    /install/directory/System# cp /usr/lib/libopenal.so.0.0.0 openal.so

    14) Create text file called CDkey and insert your CD key into the first line

    15 Run and enjoy


    MODS

    16) If you want MODs then follow

    a) If you are wanting any mods, the easiest way to install them is to use the Loki installers. However the Loki installer will error on, "Game not installed" if you follow the above instructions. This is due to the installer looking for a file in a hidden directory. To solve this, copy the following text into a text document, rename file to ut2004.xml and place in "~/.loki/installed"



    Code:

    <?xml version="1.0"?>
    <product name="ut2004" desc="Unreal Tournament 2004" xmlversion="1.6"
    root="INSTALL_DIR"
    update_url="http://unreal.epicgames.com/updates/ut2004/updates.txt">
    <component name="__CDKEY__" version="3369" default="yes">
    <option name="English"></option>
    <option name="__CDKEY__" tag="__CDKEY__"></option>
    </component>
    </product>

    Replace INSTALL_DIR with the installation directory used above.

    b) The Loki installed mods have their own play scripts. They will look for an executable file called "ut2004" in the root of the install directory. Simply copy the following code into a file called ut2004, place it in the installation directory chmod +x it and presto!

    Code:

    #!/bin/sh

    SUBDIR="."

    #----------------------------------------
    script=$0
    count=0

    while [ -L "$script" ]
    do
    script=`perl -e "print readlink(\"$script\"), \"\n\""`
    count=`expr $count + 1`

    if [ $count -gt 100 ]
    then
    echo "Too many symbolic links"
    exit 1
    fi
    done

    GAME_DIR=`dirname $script`

    cd $GAME_DIR
    cd System
    ./ut2004-bin "$@"
    Last edited by adam_kimber; March 25th, 2008 at 10:34 AM. Reason: Addition of unshield alternative method

  2. #2
    Join Date
    Mar 2006
    Location
    Grunnen, Nederland
    Beans
    463
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to Install UT2004 from Midway Anthology

    tnx for your howto. But i get some error when running: "Missingini"

    Would you be so kind to post all, your *.ini from the system dir?

    tnx, NESFreak

  3. #3
    Join Date
    Oct 2005
    Location
    UK
    Beans
    322
    Distro
    Ubuntu Karmic Koala (testing)

    Re: How to Install UT2004 from Midway Anthology

    Quote Originally Posted by NESFreak View Post
    *.ini from the system dir?

    tnx, NESFreak
    Code:
    ~/bin/games/UT2004/System$ ls *.ini
    AoClient.ini  Default.ini      Manifest.ini       UnrealEdTips.ini
    AoServer.ini  DefUnrealEd.ini  ServerFilters.ini  User.ini
    Build.ini     DefUser.ini      UDNHelpTopics.ini
    I hope this helps!

  4. #4
    Join Date
    Mar 2006
    Location
    Grunnen, Nederland
    Beans
    463
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to Install UT2004 from Midway Anthology

    Quote Originally Posted by adam_kimber View Post
    Code:
    ~/bin/games/UT2004/System$ ls *.ini
    AoClient.ini  Default.ini      Manifest.ini       UnrealEdTips.ini
    AoServer.ini  DefUnrealEd.ini  ServerFilters.ini  User.ini
    Build.ini     DefUser.ini      UDNHelpTopics.ini
    I hope this helps!
    I only have Build.ini and Manifest.ini

    How do i get the other files?

    just got what i did wrong.
    I moved System_English tot system instead of moving System_English/* to system.
    tnx anyway
    Last edited by NESFreak; April 25th, 2007 at 03:15 PM. Reason: just got what i did wrong.

  5. #5
    Join Date
    Mar 2006
    Location
    Grunnen, Nederland
    Beans
    463
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to Install UT2004 from Midway Anthology

    I took the liberty to make this howto into a small script, with some minor changes. Instead of copying all the cab files, it creates symlinks and instead of unpacking it all it only extract whats needed.

    it still has the following dependencies: libopenal, libsdl, and unshield:
    for feisty:
    Code:
     sudo aptitude install libopenal0a unshield libsdl1.2debian
    make an empty directory and place the script in it. Run it from the commandline
    Code:
    sh ./utinst.sh
    it'll run step one to fifteen for u. And only consumes the space the full install itself will use ~6GB.

    Hope someone finds this useful.

    NESFreak.

    btw the in linux-x86.tar.bz2 included libsdl and libopenal give better sound performance. (these are the ones from the UT2k4 demo. On my system the system default tend to sound a bit cracky)
    Attached Files Attached Files
    Last edited by NESFreak; April 26th, 2007 at 03:57 PM.

  6. #6
    Join Date
    Oct 2006
    Beans
    619
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How to Install UT2004 from Midway Anthology

    I'm still not understanding how to patch UT2004? I got it installed just fine but don't understand the patchign process.

  7. #7
    Join Date
    Oct 2005
    Location
    UK
    Beans
    322
    Distro
    Ubuntu Karmic Koala (testing)

    Re: How to Install UT2004 from Midway Anthology

    What are you trying to patch? The UT2004 game? Or are you trying to install a MOD? The reason for this question is whilst both are similar methods to install there are differences.

    Hey thanks NESFreak for the installer script. I hope people find that useful.
    Last edited by adam_kimber; May 7th, 2007 at 10:48 PM. Reason: reason

  8. #8
    Join Date
    Jun 2007
    Beans
    2

    Re: How to Install UT2004 from Midway Anthology

    Sorry for any problems. I just got Unreal Anthology today, and was extreamly pissed to find that i couldnt install/run it under linx. I am really new to linux to be honest.

    I ran the script that was provided. and for some reason every time i try to run the UT2004.exe it will pop up with a window stateing that my CD key is wrong. where am I suppose to play the text file, how is it suppose to be named (the file itself) and last, how do I properly run the game under linux, it seems to me that if I am useing the exe file, I am useing wine, but I could be wrong. thank you.

  9. #9
    Join Date
    Oct 2005
    Location
    UK
    Beans
    322
    Distro
    Ubuntu Karmic Koala (testing)

    Re: How to Install UT2004 from Midway Anthology

    Quote Originally Posted by TsukasaT.tiger View Post
    it seems to me that if I am useing the exe file, I am useing wine, but I could be wrong. thank you.
    Hey not at all! The problem with moving from Windows to Linux in general is that the file structure is different and can be confusing. In windows programs that run are generally .exe however this is not the case in Linux.

    You are indeed using the wrong file. ut2004.exe should have been deleted by the script and if it still exists delete it as it is no use to Linux. The Linux executable binary should have been installed when the script applied the patch.

    You should be using the ut2004-bin file to start the game in Linux. Double click should work. I have set up a launcher (shortcut) as this makes life easier.

  10. #10
    Join Date
    Jun 2007
    Beans
    2

    Re: How to Install UT2004 from Midway Anthology

    hmmm, I found the bin file. clicked it and nothing happened. I ran terminal and used the command ./ut2004-bin and it came up with this

    /UT99/System$ ./ut2004-bin
    ./ut2004-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    tsukasa@Gertrude:~/UT99/System$ sudo ./ut2004-bin

    I take it i didnt run the scrpt correctly, I am useing Kubuntu feisty on an HP laptop, dunno if that has anything to do with it. nVIDIA GeForce go 7600 as well.

Page 1 of 9 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
  •