Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97726 - ut2004-data does not work with ECE CD-ROM version due to different directory structure
Summary: ut2004-data does not work with ECE CD-ROM version due to different directory ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-02 08:30 UTC by Gordon Pettey
Modified: 2006-04-13 10:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
UT2004 ECE CD-ROM Disc 1 ls -lR (UT2004-CD1.lst,106.63 KB, text/plain)
2005-07-19 09:25 UTC, Gordon Pettey
Details
UT2004 ECE CD-ROM Disc 2 ls -lR (UT2004-CD2.lst,8.27 KB, text/plain)
2005-07-19 09:25 UTC, Gordon Pettey
Details
UT2004 ECE CD-ROM Disc 3 ls -lR (UT2004-CD3.lst,11.91 KB, text/plain)
2005-07-19 09:26 UTC, Gordon Pettey
Details
UT2004 ECE CD-ROM Disc 4 ls -lR (UT2004-CD4.lst,20.98 KB, text/plain)
2005-07-19 09:26 UTC, Gordon Pettey
Details
UT2004 ECE CD-ROM Disc 5 ls -lR (UT2004-CD5.lst,6.50 KB, text/plain)
2005-07-19 09:26 UTC, Gordon Pettey
Details
UT2004 ECE CD-ROM Disc 6 ls -lR (UT2004-CD6.lst,3.24 KB, text/plain)
2005-07-19 09:27 UTC, Gordon Pettey
Details
UT2004 ECE CD-ROM Disc 7 ls -lR (CD7.lst,18.60 KB, text/plain)
2005-07-19 11:46 UTC, Gordon Pettey
Details
ut2004-data-3186-r2.diff (diff.txt,3.17 KB, patch)
2006-04-02 13:42 UTC, Paul Bredbury
Details | Diff
ut2004-data-3186-r2.diff (diff.txt,4.09 KB, patch)
2006-04-02 14:07 UTC, Paul Bredbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Pettey 2005-07-02 08:30:56 UTC
+ means that the CD has that directory on it, but currently ut2004-data ebuild 
does not, - means CD does not have that directory, but ut2004-data ebuild does

CD1: +Textures
CD2: ok
CD3: ok
CD4: -Music
CD5: +StaticMeshes
CD6: +Speech


Reproducible: Always
Steps to Reproduce:
1. Get Unreal Tournament 2004 ECE CD-ROM version
2. Emerge ut2004-data

Actual Results:  
Ebuild fails on Disc 4, as it can't find the non-existant Music directory.

Expected Results:  
Ebuild should have additional else structure if using ECE CD-ROMs (they have 
ECE in the label, if that helps).
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-07-02 08:57:58 UTC
Looks like a duplicate of bug 78444.
Comment 2 Gordon Pettey 2005-07-02 09:01:44 UTC
70444 refers to DVD version, this is for CD version.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-07-02 13:50:54 UTC
(In reply to comment #2)
> 70444 refers to DVD version, this is for CD version.

It's for CD version too, see bug 63703.
Comment 4 Gordon Pettey 2005-07-02 14:16:09 UTC
I don't see how 63703 relates to this.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-05 06:49:57 UTC
OK... I couldn't understand your little + - thing... but it really does not
matter, at all.

Please post the output of ls -lR for each disk (separately, please) to this bug
report.  I was unaware that there *was* a non-DVD ECE version, or at least there
wasn't back when I made ut2004-data.

None of the other bugs relate to this, as they were for either the non-ECE CD
version or the ECE DVD.  There has been no mention of the ECE CD set before. 
I'll have to get to this when I have a chance.  For now, you could "emulate" the
DVD by copying your CD media to your hard drive somewhere.  When copying them,
place each CD in a CD1, CD2, etc directory structure, with the
linux-installer.sh from CD1 in the root (not in a CDx directory) and runt eh
ebuild with CD_ROOT=/path/to/root/of/files.  This will cause the ebuild to think
you have a local copy of the DVD when installing.  It'll also keep you from
having to switch CDs during the install.
Comment 6 Gordon Pettey 2005-07-05 07:19:23 UTC
I'm on vacation until Sunday and only have access to a WebTV, so can't give the 
ls output until then.
Comment 7 Gordon Pettey 2005-07-19 09:25:22 UTC
Created attachment 63792 [details]
UT2004 ECE CD-ROM Disc 1 ls -lR
Comment 8 Gordon Pettey 2005-07-19 09:25:47 UTC
Created attachment 63793 [details]
UT2004 ECE CD-ROM Disc 2 ls -lR
Comment 9 Gordon Pettey 2005-07-19 09:26:18 UTC
Created attachment 63794 [details]
UT2004 ECE CD-ROM Disc 3 ls -lR
Comment 10 Gordon Pettey 2005-07-19 09:26:32 UTC
Created attachment 63795 [details]
UT2004 ECE CD-ROM Disc 4 ls -lR
Comment 11 Gordon Pettey 2005-07-19 09:26:49 UTC
Created attachment 63796 [details]
UT2004 ECE CD-ROM Disc 5 ls -lR
Comment 12 Gordon Pettey 2005-07-19 09:27:28 UTC
Created attachment 63797 [details]
UT2004 ECE CD-ROM Disc 6 ls -lR
Comment 13 Gordon Pettey 2005-07-19 09:28:00 UTC
ls -lR output for each disc attached.
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-19 10:27:55 UTC
Thanks... this might take me a little while... can you verify that the
workaround from comment #5 works for you?
Comment 15 Gordon Pettey 2005-07-19 11:46:47 UTC
Created attachment 63802 [details]
UT2004 ECE CD-ROM Disc 7 ls -lR

Doesn't seem to contain any necessary files, but may as well list it.
Comment 16 Gordon Pettey 2005-07-19 13:16:41 UTC
Putting the CDs into /iso/CD# with CD_ROOT=/iso works.
Comment 17 Paul Bredbury 2006-04-02 13:42:14 UTC
Created attachment 83757 [details, diff]
ut2004-data-3186-r2.diff

Here is a patch to make the directory handling more flexible, which should solve the problem. I have tested it with the non-ECE DVD, so it needs testing by people with the 6 CDs.
Comment 18 Paul Bredbury 2006-04-02 14:07:11 UTC
Created attachment 83759 [details, diff]
ut2004-data-3186-r2.diff

Added a section to remove the files which are installed from ut2004-bonuspack-ece.
Comment 19 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-12 14:27:57 UTC
OK... about the collisions with ut2004-bonuspack-ece, why are you removing them?

If you remove the files from ut2004-data, then when ut2004-bonuspack-ece detects the CD/DVD (which it would on a first-time install) it won't install anything.  The user then won't have ECE content.

Now, if you think we should simply *always* install the ECE content from the ut2004-bonuspack-ece ebuild, I've got no problem with that, I was just trying to save users from having to copy all of these files from CD, then removing them, then installing them again from tarball when I originally wrote all of this.  Of course, having everything in the proper ebuild also removes possibility for file collisions, which wasn't something that was even as much of an issue way back when I first wrote these ebuilds, so I wouldn't have a problem with us updating the two ebuilds.
Comment 20 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-12 14:33:02 UTC
Actually, I think I'm just going to make ut2004-data always install the original data only (as is done with your patch) and completely remove the USE_ECE_DVD stuff from ut2004-bonuspack-ece, so it will always install from the megapack, since everybody has to download the thing anyway.
Comment 21 Paul Bredbury 2006-04-12 14:38:46 UTC
Yes, I intended for the USE_ECE_DVD stuff to be removed from ut2004-bonuspack-ece, I forgot they were in there. This way, there can't possibly be any ECE file collisions :)
Comment 22 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-13 10:48:47 UTC
Alright... I've added this to CVS now, so let's see how many people start complaining.  *grin*