When emerging ut2004 (3339) the ebuild uses a couple tricks to find out whether we're using a UT DVD or CD set. The problem (for DVD users) is that unless the DVD is inserted and mounted when starting the emerge, cdrom_get_cds receives bad info from the ebuild - DISKN is empty, so it searches for the files where they would be on the CD set. The install then loops telling you to insert CD1, which can't work even if you insert and mount the DVD. Unfortunately I'm not sure how this could be resolved without changing eutils.eclass, as cdrom_get_cds is just doing its job with the passed information in a while loop. One possibility (since the emerge is interactive anyway) is if no CD/DVD is detected at the beginning of pkg_setup and CD_ROOT is unset to prompt the user to insert/mount the disc before continuing. This would short-circuit cdrom_get_cds and work for DVDs, though it is a bit cheap. emerge info at http://www.halffull.org/gentoo/emerge.info
I'll look into it, but don't expect it to be a high priority... *grin*
DOH...well the installer gets done CD3 and then can't find CD4......... dunno how to fix that..
btw this is on the DVD edition I can't seem to get it installed...perhaps an upgrade to critical....or maybe shoudl be a diff buig report
More info: ------------ >>> Source unpacked. >>> Test phase [not enabled]: games-fps/ut2004-3339 >>> Install ut2004-3339 into /usr/var/tmp//portage/ut2004-3339/image/ category games-fps * Do you accept the terms of this license (ut2003)? [yes/no] yes * The installed game takes about 6.8GB of space! * This package will need access to 6 cds. * If you do not have the CDs, but have the data files * mounted somewhere on your filesystem, just export * the following variables so they point to the right place: * CD_ROOT_1 CD_ROOT_2 CD_ROOT_3 CD_ROOT_4 CD_ROOT_5 CD_ROOT_6 * Or, if you have all the files in the same place, or * you only have one cdrom, you can export CD_ROOT * and that place will be used as the same data source * for all the CDs. * For example: * export CD_ROOT_1=/mnt/cdrom * Copying files from Disk 1... * Found CD #2 root at /mnt/cdrom * Copying files from Disk 2... * Found CD #3 root at /mnt/cdrom * Copying files from Disk 3... * Please insert cd #4 for ut2004 now ! * Press return to scan for the cd again * or hit CTRL+C to abort the emerge.
# ls /mnt/cdrom 0x0409.ini CD3 CD7 UT2004 Editor's Choice Edition Mod Installer.msi linux-installer.sh AutoRun.inf CD4 Data1.cab ecesetup.exe CD1 CD5 Setup.exe instmsia.exe CD2 CD6 Setup.ini instmsiw.exe
Currently, the ebuild does not work with the ECE DVD. Epic was nice enough to rearrange all of the files on the different CD directories for the ECE DVD. Could you post the output of "ls -lR /mnt/cdrom" with the DVD mounted as an attachment? Anyway, my suggestion to you (until I manage to fix it all) is to use the installer on the CD, as it will be a while before I get a working ebuild that detects the actual DVD version being used, which will be a bit hard only because I cannot test it very well (I only have the non-ECE DVD). Are you willing to help me test the ebuild when I get it in what I think is a working state?
Created attachment 47724 [details] Just a FULL dir list of the DVD Here it is as per your request, and I'm willing to test.
I do have a ebuild that works relatively...at least. I removed the attempt at adding CD7, and left the original as is with the exception of correcting a syntax error on the CD6 entry and moving speeches to CD5. I now have a successful install of ut2004 that works, but I assume it's missing files from the Extras dir on CD7. Plus there is a 2nd DVD which is a Bonus disk which contains hours of Unreal scripting, mutators, weapon design, maya fundamentals, static meshes, character development, and vehicle design tutorials.
Created attachment 47725 [details] Contains Video files and such. This probably is irrellevant put I'll create an attachment anyway just inc ase you want it to.
Peter "Salutes Epic for there blessings of rearranging files" :P
There's a new ut2004-3355.ebuild in portage... it doesn't fix the original problem with the CD/DVD not being mounted, but it is now all broken up, so you only need to break out your DVD once... Let me know how well it works.
There's still a problem with the ECE CD-ROM edition. The ebuild contains instructions for what to copy depending on whether you have the ECE DVD or the plain CD-ROM set. I have an ECE CD-ROM set, and CD4 at least is different. (I haven't checked the other CDs yet). The ebuild expects a Music dir on CD4, which doesn't exist on the ECE edition. I think it would be rather simple to add a question in that asks if your CD set is ECE or not, and copy files accordingly.
The stuff in stable now does something like this and has for a while. Besides, that has nothing to do with the topic of *this* bug, and would instead need to be filed as a bug of its own.
(In reply to comment #0) > When emerging ut2004 (3339) the ebuild uses a couple tricks to find out whether we're using a UT DVD or CD set. The tricks have been extended in recent versions of ut2004-data. So this bug should be marked "fixed" :)
Taking Paul's word for it... ;]