Install script errors when installing UT2004 [SOLVED]
[SOLVED SEE MY LAST POST ON THIS THREAD BELOW]
Hi, I'm trying to get UT2004 installed on my Mandriva LE 2005. I can get it installed on Win XP (Dual Boot) no problem however, trying to install it on Linux I keep getting errors. Each time I try to install an error pops up, and each time it's a different file that the installer can't seem to install/read. However the error seems to always occur at line 148 in the setup script: Below is the console output during install with an error occuring: # /mnt/cdrom/linux-installer.sh Copying to a temporary location... Verifying archive integrity... All good. Uncompressing Unreal Tournament 2004 for GNU/Linux 3186...................................................................... UZ2: Failed to fully write [/usr/local/games/ut2004/Textures/BarrensArchitecture-Scion.utx]! ./setup.sh: line 148: 20438 Aborted "$setup" "$@" This is not a mount issue as I have auto mounting disabled and "export SETUP_CDROM=/mnt/cdrom" I'm guessing that's it's somehow the way that Linux is set up to read from the DVD ROM drive. Below is my hdparm output for the device (if that is of any use). # hdparm /dev/hdc /dev/hdc: IO_support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) HDIO_GETGEO failed: Invalid argument Below is a cutout of the install script with line 148 in it (if that helps) while true do case "$1" in -h | --help) MS_Help exit 0 ;; --info) echo Identification: "$label" echo Target directory: "$targetdir" echo Uncompressed size: 63024 KB echo Compression: gzip echo Date of packaging: Thu Mar 4 04:41:06 EST 2004 echo Built with Makeself version 2.1.3 on linux-gnu if test x$script != x; then echo Script run after extraction: echo " " $script $scriptargs fi if test x"" = xcopy; then // THIS IS LINE 148 echo "Archive will copy itself to a temporary location" fi if test x"n" = xy; then echo "directory $targetdir is permanent" else echo "$targetdir will be removed after extraction" fi exit 0 ;; --dumpconf) echo LABEL=\"$label\" echo SCRIPT=\"$script\" echo SCRIPTARGS=\"$scriptargs\" echo archdirname=\"ut2004-lnx-installer-dvd\" echo KEEP=n echo COMPRESS=gzip echo filesizes=\"$filesizes\" echo CRCsum=\"$CRCsum\" echo MD5sum=\"$MD5\" echo OLDUSIZE=63024 echo OLDSKIP=361 exit 0 ;; --lsm) cat << EOLSM No LSM. EOLSM exit 0 ;; --list) |
there one someone before that had this same problem... its one of three things.... your hard drive cant hold the 4 gigs of game files, your dvd is to scratched to read that part, or someone else found that using a spare dvd drive fixed it.
|
I don't really know what is going on but if it were my machine, I'd copy the contents of the DVD onto the harddrive and run it from there to side step any DVD driver issues.
It looks like there is some issue with the installation of that one particular file. You do have enough harddrive space to install I'm assuming? I've never found a game more harddisk hungry than UT2004 with a few mods :) I've setup the 6 CD version on Linux heaps of times on several distros without issue. |
Yep I've got plenty of hard drive space and I already tried installing it off a hard drive copy but got the same error. Another guy on this board had the same errors, I got in touch with him an he told me he tried another DVD drive and it worked.
I've actually managed to install it once without any errors but couldn't get the game to get past the splash screen. Is there some setting I can change so that my DVD drive reads at a slower speed so to avoid any errors? It's strange that watching DVD's on Linux and installing the game using the same drive on Windows doesn't seem to have any problems. Of course the Linux installation uses some different files and these could be corrupt on the DVD, however there isn't a scratch on it and considering another guy had exactly the same error on exactly the same line on the installation script does appear to indicate the problem is not the DVD disk. |
OK as usual with Linux after asking several questions I come back and answer them myself. I set my DVD drive speed to "1" and also turned off DMA (I don't know if the DMA made a difference) and it finally installed I've loaded up a quick Deathmatch and all seems to be working correctly.
To change the drive speed to "1" I did (As root) hdparm -E 1 /dev/hdc to disable dma do hdparm -d0 /dev/hdc (replace hdc with whatever device your DVD drive is) The settings should go back to their defaults after a reboot so don't worry about making any changes however do check the Man files. |
All times are GMT -5. The time now is 04:17 AM. |