Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ut2004-data and DVD release of UT2004
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
cereal-chiller
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2003
Posts: 78
Location: Lisbon, Portugal

PostPosted: Fri Dec 22, 2006 8:22 pm    Post subject: ut2004-data and DVD release of UT2004 Reply with quote

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
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Fri Dec 22, 2006 11:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Inssomniak
n00b
n00b


Joined: 03 Aug 2004
Posts: 12

PostPosted: Tue Dec 26, 2006 10:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Tue Dec 26, 2006 11:01 pm    Post subject: Reply with quote

Filing a bug (bugs.gentoo.org) is your best bet.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Dec 27, 2006 12:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Dec 27, 2006 12:13 am    Post subject: Reply with quote

Would it not be practical to add a new package, like 'ut2004-newdvd' or something?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Dec 27, 2006 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
cereal-chiller
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2003
Posts: 78
Location: Lisbon, Portugal

PostPosted: Wed Dec 27, 2006 12:53 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Thu Dec 28, 2006 1:17 am    Post subject: Reply with quote

Here's the relevant bug on bugzilla.

Here's another writeup on using Windows to install it.
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 247

PostPosted: Fri Dec 29, 2006 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Dec 29, 2006 5:04 am    Post subject: Reply with quote

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? :wink:

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
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 247

PostPosted: Fri Dec 29, 2006 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 247

PostPosted: Fri Dec 29, 2006 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Dec 29, 2006 9:08 pm    Post subject: Reply with quote

The executable should not be in the System directory.

Code:
$ cat /usr/games/bin/ut2004
...
cd "/opt/ut2004"
...
exec ./ut2004 "$@"
Back to top
View user's profile Send private message
cereal-chiller
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2003
Posts: 78
Location: Lisbon, Portugal

PostPosted: Sat Dec 30, 2006 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 247

PostPosted: Thu Jan 04, 2007 5:37 am    Post subject: Reply with quote

"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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Feb 23, 2007 2:00 am    Post subject: Reply with quote

Assuming that people want support for this DVD version, can they provide some useful information about its CAB files? My questions.
Back to top
View user's profile Send private message
Nebetsu
Apprentice
Apprentice


Joined: 20 Feb 2006
Posts: 229
Location: Canada

PostPosted: Fri Feb 23, 2007 2:26 am    Post subject: Reply with quote

I installed it in Windows and then copied the files over and put the Linux binaries in and such
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Feb 24, 2007 1:33 pm    Post subject: Reply with quote

Please test the new ut2004 ebuilds and eclass, which hopefully supports both Midway/Anthology DVDs.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Feb 24, 2007 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nebetsu
Apprentice
Apprentice


Joined: 20 Feb 2006
Posts: 229
Location: Canada

PostPosted: Sun Feb 25, 2007 6:15 pm    Post subject: Reply with quote

I don't see it... >>
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Feb 25, 2007 6:23 pm    Post subject: Reply with quote

Good, I was right to ignore it :wink:

I assume it's used during the installation only.
Back to top
View user's profile Send private message
Nebetsu
Apprentice
Apprentice


Joined: 20 Feb 2006
Posts: 229
Location: Canada

PostPosted: Mon Feb 26, 2007 2:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Feb 26, 2007 3:03 pm    Post subject: Reply with quote

Yep - me :D

It hasn't actually been tested with the Anthology version yet, but should work. I'm awaiting feedback.
Back to top
View user's profile Send private message
Nebetsu
Apprentice
Apprentice


Joined: 20 Feb 2006
Posts: 229
Location: Canada

PostPosted: Tue Feb 27, 2007 12:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum