Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Как установить UT2004?  (Прочитано 7417 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн mikhalek

  • Автор темы
  • Новичок
  • *
  • Сообщений: 30
  • Don't worry, be happy!
    • Просмотр профиля
Как установить UT2004?
« : 21 Января 2008, 16:51:24 »
Имеется на выносном харде игра UT2004. При установке нажимаю на файл linux-installer.ch начинается установка через консоль и до ходит до момента когда просит mount cd. Как делаю - в консоли пишу sudo sh дальше путь к инсталлеру, начинается установка и получаю это- please mount the unreal tournament 2004 disk 2 cdrom. Что делать дальше, а то я новичек пока в ентих делах. Игра то не на сиди а в папке на выносном. как mount сделать?

Оффлайн Stomp

  • Активист
  • *
  • Сообщений: 343
    • Просмотр профиля

Оффлайн mikhalek

  • Автор темы
  • Новичок
  • *
  • Сообщений: 30
  • Don't worry, be happy!
    • Просмотр профиля
Re: Как установить UT2004?
« Ответ #2 : 21 Января 2008, 18:01:44 »
Та же фигня... Я ж говорю оно маунт сиди хочет... Когда доходит вставте 2-й диск делать то чего? Повторяю - игра у меня на выносном харде в одной папке. Никаких сиди....

Оффлайн mikhalek

  • Автор темы
  • Новичок
  • *
  • Сообщений: 30
  • Don't worry, be happy!
    • Просмотр профиля
Re: Как установить UT2004?
« Ответ #3 : 21 Января 2008, 20:50:06 »
Помочь некому?

Оффлайн mikhalek

  • Автор темы
  • Новичок
  • *
  • Сообщений: 30
  • Don't worry, be happy!
    • Просмотр профиля
Re: Как установить UT2004?
« Ответ #4 : 21 Января 2008, 20:55:49 »
Записал на ДВД, ничего не помогло... что делать... :'(

Оффлайн Stomp

  • Активист
  • *
  • Сообщений: 343
    • Просмотр профиля
Re: Как установить UT2004?
« Ответ #5 : 21 Января 2008, 21:04:08 »
какие там вообще файлы есть? если там есть файлы типа 1.iso 2.iso 3.iso, то их надо будет примонтировать

Оффлайн mikhalek

  • Автор темы
  • Новичок
  • *
  • Сообщений: 30
  • Don't worry, be happy!
    • Просмотр профиля
Re: Как установить UT2004?
« Ответ #6 : 21 Января 2008, 21:19:34 »
Таких файлов нету. Есть - Sounds. Speech. StaticMeshes. System. Textures. Web. linuxInstaller.sh

Оффлайн Stomp

  • Активист
  • *
  • Сообщений: 343
    • Просмотр профиля
Re: Как установить UT2004?
« Ответ #7 : 21 Января 2008, 21:29:55 »
ну значит тогда попробуй сделать как в той теме ссылку на которую я выше приводил, скачиваешь последний патч для линукс и распаковываешь его в папку System  а для запуска нужно будет использовать специальный скрипт, я его приложил в аттаче
« Последнее редактирование: 21 Января 2008, 21:33:06 от Stomp »

Besogon

  • Гость
Re: Как установить UT2004?
« Ответ #8 : 30 Марта 2008, 20:02:57 »
Все зависит от того какой у вас диск. Вот инструкция для диска UTAntologu, который продается счас повсеместно.
Все работает.

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??.* .

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/ut 2004/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 "$@"
__________________

 

Страница сгенерирована за 0.09 секунд. Запросов: 25.