View previous topic :: View next topic |
Author |
Message |
cereal-chiller Tux's lil' helper
Joined: 19 Jul 2003 Posts: 78 Location: Lisbon, Portugal
|
Posted: Fri Dec 22, 2006 8:22 pm Post subject: ut2004-data and DVD release of UT2004 |
|
|
Hi,
I'm trying to install ut2004 on Gentoo. But my DVD version doesn't have the linux-installer.sh file and ut2004-data needs it.
I've managed to get that file, copied the hole DVD to disc,put that file in the folder and tried again. However, now when emerging ut2004-data it doesn't complain about linux-installer.sh but complains about a bunch of directories that it can't find (and aren's on the DVD).
The DVD is this one: http://www.cduniverse.com/productinfo.asp?pid=7279592&style=games&BAB=Z
And it has the following structure:
-\Disk1
---\data1.cab
---\data1.hbr
---\data2.cab
....
-\Disk2
---\data3.cab
-\Disk3
---\data4.cab
-\Disk4
---\data5.cab
-\Disk5
---\data6.cab
I've seen in the forums that the ebuild should support the Editor's Choice Edition (which I think mine is)... But I can't make it work. _________________ The problem with computers is that they do what you tell them, not what you want!! |
|
Back to top |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Fri Dec 22, 2006 11:09 pm Post subject: |
|
|
I have Editor's Choice Edition, the 10-disc edition. They're probably referring to that.
You'll have to take a peak inside of the ebuild, find out what it's looking for, then copy the DVD to your harddrive and edit the layout.
Then, when you get the layout right, do a CD_ROOT_1=/path/to/your/game emerge ut2004-data
or something like that.. you can also file a bug for DVD support. |
|
Back to top |
|
|
Inssomniak n00b
Joined: 03 Aug 2004 Posts: 12
|
Posted: Tue Dec 26, 2006 10:49 pm Post subject: |
|
|
Anyone ever find a solution to this one? I have the same DVD the wife got me for xmas, (brand new), and I cant use the ebuild to install it either, same errors and reasons, building and looking at ebuilds is not my strong suit |
|
Back to top |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Tue Dec 26, 2006 11:01 pm Post subject: |
|
|
Filing a bug (bugs.gentoo.org) is your best bet. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Dec 27, 2006 12:08 am Post subject: |
|
|
Adding support for this new DVD layout (it apparently includes the megapack) will not be easy, and will certainly be time-consuming (having to test a 4gb installer). There's the issues of whether the missing linux-installer.sh is a showstopper, removing file collisions with the games-fps/ut2004-bonuspack-mega ebuild, and ensuring that these changes don't mess up the existing ebuild's compatibility with several CD & DVD formats.
Realistically, it will probably only be done by someone who actually has one of these new DVDs. If you want the game installed anytime soon, give this DVD away and buy an old DVD version from e.g. Ebay. It doesn't matter whether the old version contains the Megapack or even Editor's Choice, because those are downloaded by the ebuilds anyway. |
|
Back to top |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Wed Dec 27, 2006 12:13 am Post subject: |
|
|
Would it not be practical to add a new package, like 'ut2004-newdvd' or something? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Dec 27, 2006 12:33 am Post subject: |
|
|
I don't see much point in going to the effort of creating an ebuild, but not integrating it into the existing ebuild structure for ut2004. Integration with games-fps/ut2004 is required, for the up-to-date executables. And then there's other map packs. |
|
Back to top |
|
|
cereal-chiller Tux's lil' helper
Joined: 19 Jul 2003 Posts: 78 Location: Lisbon, Portugal
|
Posted: Wed Dec 27, 2006 12:53 am Post subject: |
|
|
Here's what I did:
1- Get a windows machine, and install it on that.
2- Copy the files from the installation to /opt/ut2004/
3- Insert the following lines to /etc/portage/profile/package.provided
Code: |
games-fps/ut2004-data-3186-r3
games-fps/ut2004-bonuspack-ece-1-r2
games-fps/ut2004-bonuspack-mega-1-r1
|
4- emerge ut2004
Run it
EDIT:
5- Do a "cp /opt/ut2004/ut2004.xpm /usr/share/pixmaps/" to install the icon
Let me know if this works out for you guys! I did a couple more steps that I think were redundant., but i'm not sure about that. _________________ The problem with computers is that they do what you tell them, not what you want!! |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu Dec 28, 2006 1:17 am Post subject: |
|
|
Here's the relevant bug on bugzilla.
Here's another writeup on using Windows to install it. |
|
Back to top |
|
|
rufnut Apprentice
Joined: 16 May 2005 Posts: 247
|
Posted: Fri Dec 29, 2006 4:54 am Post subject: |
|
|
Just to confuse things even more I have this version of dvd :
http://www.midway.com/rxpage/Game_UnrealAnthology.html
I followed the above install via windows and copying across but get this message upon emerge ut2004:
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.' in /var/tmp/portage/ut2004-3369-r4/image/opt/ut2004/System/ut2004-bin
Unfortunately the package has a picture of Tux on the back too and the dvd has no linux installer ???
/opt/ut2004/System/ut2004-bin
/opt/ut2004/System/ut2004-bin: error while loading shared libraries: ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Dec 29, 2006 5:04 am Post subject: |
|
|
rufnut wrote: | Unfortunately the package has a picture of Tux on the back too and the dvd has no linux installer ??? |
Sue them for trade description?
Quote: | ./libSDL-1.2.so.0: cannot open shared object file: No such file or directory |
amd64? Or just symlink to your system library. |
|
Back to top |
|
|
rufnut Apprentice
Joined: 16 May 2005 Posts: 247
|
Posted: Fri Dec 29, 2006 6:34 am Post subject: |
|
|
Quote: | amd64? Or just symlink to your system library. |
I guess it must be a symlink as I am on an athlon xp 32bit.
I will look into that as everything seems in the wrong location.
|
|
Back to top |
|
|
rufnut Apprentice
Joined: 16 May 2005 Posts: 247
|
Posted: Fri Dec 29, 2006 7:14 am Post subject: |
|
|
Ok, so I made :
Code: | ln -s /usr/lib/libSDL-1.2.so.0 /opt/ut2004/System/libSDL-1.2.so.0 |
Now, when I do : Code: |
/opt/ut2004/System $ ./ut2004-bin
Failed loading package: Can't find file 'Packages.md5'
History:
Exiting due to error |
It almost starts
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Dec 29, 2006 9:08 pm Post subject: |
|
|
The executable should not be in the System directory.
Code: | $ cat /usr/games/bin/ut2004
...
cd "/opt/ut2004"
...
exec ./ut2004 "$@" |
|
|
Back to top |
|
|
cereal-chiller Tux's lil' helper
Joined: 19 Jul 2003 Posts: 78 Location: Lisbon, Portugal
|
Posted: Sat Dec 30, 2006 4:19 pm Post subject: |
|
|
rufnut wrote: |
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.' in /var/tmp/portage/ut2004-3369-r4/image/opt/ut2004/System/ut2004-bin
|
I think I got that warning too..
Quote: |
Now, when I do :
Code: |
/opt/ut2004/System $ ./ut2004-bin
Failed loading package: Can't find file 'Packages.md5'
History:
Exiting due to error
|
It almost starts
|
OK, so maybe the steps I thought were redundant were not.
So:
1 - Get "linux-installer.sh" (google for it, it took me a while but it's there... somewhere).
2 - Run it. Select ~/ut2004 (for example) as the installation directory.
3 - When the installer fails, because it can't find the necessary files, and before you exit it copy the files from ~/ut2004 to /opt/ut2004
4 - emerge ut2004 again.
Hope this works for you. _________________ The problem with computers is that they do what you tell them, not what you want!! |
|
Back to top |
|
|
rufnut Apprentice
Joined: 16 May 2005 Posts: 247
|
Posted: Thu Jan 04, 2007 5:37 am Post subject: |
|
|
"linux-installer.sh" didn't seem to help me much.
I eventually got it to run by copying a quite a few files from the demo version which luckily I had cached in distfiles.
|
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 23, 2007 2:00 am Post subject: |
|
|
Assuming that people want support for this DVD version, can they provide some useful information about its CAB files? My questions. |
|
Back to top |
|
|
Nebetsu Apprentice
Joined: 20 Feb 2006 Posts: 229 Location: Canada
|
Posted: Fri Feb 23, 2007 2:26 am Post subject: |
|
|
I installed it in Windows and then copied the files over and put the Linux binaries in and such |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Feb 24, 2007 1:33 pm Post subject: |
|
|
Please test the new ut2004 ebuilds and eclass, which hopefully supports both Midway/Anthology DVDs. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Feb 24, 2007 10:50 pm Post subject: |
|
|
Nebetsu wrote: | I installed it in Windows |
Did US_License.int get installed (probably in the System subdirectory for ut2004)? I'm unsure whether to ignore it. |
|
Back to top |
|
|
Nebetsu Apprentice
Joined: 20 Feb 2006 Posts: 229 Location: Canada
|
Posted: Sun Feb 25, 2007 6:15 pm Post subject: |
|
|
I don't see it... >> |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Feb 25, 2007 6:23 pm Post subject: |
|
|
Good, I was right to ignore it
I assume it's used during the installation only. |
|
Back to top |
|
|
Nebetsu Apprentice
Joined: 20 Feb 2006 Posts: 229 Location: Canada
|
Posted: Mon Feb 26, 2007 2:40 pm Post subject: |
|
|
So let me get this straight. I go through the trouble to install UT2004 on my computer by installing it in Windows and then copying the files over and then someone makes the Linux installer work with Anthology? |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Feb 26, 2007 3:03 pm Post subject: |
|
|
Yep - me
It hasn't actually been tested with the Anthology version yet, but should work. I'm awaiting feedback. |
|
Back to top |
|
|
Nebetsu Apprentice
Joined: 20 Feb 2006 Posts: 229 Location: Canada
|
Posted: Tue Feb 27, 2007 12:57 am Post subject: |
|
|
At least it will be easy in the future... >>
Next time I install Gentoo (which will be in a while when I get another computer), I'll install UT2004 from Anthology that way and get back to you. I really don't have the time to uninstall and install it right now... |
|
Back to top |
|
|
|