there should be an ebuild for the "Return to Na pali" expansion for Unreal 1, or the unreal ebuild itself should copy the Na Pali data from the Unreal Gold CD if it is the source CD. Reproducible: Always Steps to Reproduce: there are many editions for Unreal 1. Unreal contains just unreal Unreal Gold contains Unreal and Return to Na Pali Unreal Anthology Includes Unreal, Unreal Tournament, and may contain Return to Na Pali and some other content. Return to Na Pali Contains Return to Na Pali, and may contain some other content.
I'm thinking of doing this but I have the Midway Anthology DVD, which has Unreal Gold, rather the the separate expansion. I'm wondering if the files can be separated, that way we might only need 2 ebuilds. Could someone work out which files are added modified when you install the expansion pack?
This is the best I can do. the unreal-gold package is bug 130051). diff /opt/unreal /opt/unreal-gold Common subdirectories: /opt/unreal/Help and /opt/unreal-gold/Help Common subdirectories: /opt/unreal/Maps and /opt/unreal-gold/Maps Common subdirectories: /opt/unreal/Music and /opt/unreal-gold/Music Only in /opt/unreal-gold: README Only in /opt/unreal: README.Acid Only in /opt/unreal: README.Chunky Common subdirectories: /opt/unreal/Sounds and /opt/unreal-gold/Sounds Common subdirectories: /opt/unreal/System and /opt/unreal-gold/System Common subdirectories: /opt/unreal/Textures and /opt/unreal-gold/Textures Only in /opt/unreal: icon.bmp Only in /opt/unreal: icon.xpm Common subdirectories: /opt/unreal/maps and /opt/unreal-gold/maps Only in /opt/unreal-gold: ucc Only in /opt/unreal: unreal Only in /opt/unreal-gold: unrealgold Only in /opt/unreal-gold: unrealgold.xpm ~
forget that. I remember now that I installed the unreal package with the unreal-gold CD. strangely, thats the only way I could get the game to work. installing unreal with the regular unreal cd made the game segfault when it ran. I know the binaries are downloaded from loki, so its something to do with the files. I'm going to go install unreal and gold in windows and then diff them, without all the unreal-tournament nonsense. I'll post here when I'm done.
Created attachment 133466 [details] diff of Vanilla (no UT) Unreal and Unreal Gold on Windows This might help with creating the na pali ebuild.
Thanks for your swift work, that should help a lot.
note also that the unreal gold package as previously stated also installs the expansion data, so it may also be helpful. we won't really know for sure how effective installing from a real na pali cd will be until someone with the cd tests it.
I managed to get Unreal Anthology to install without the bonus pack files and moved the handling of all the bonus packs into a separate ebuild so I'm starting to think it should be possible to do the same thing here. Your last diff was helpful but what would help even more is a listing of the CDs themselves. I can't find any elsewhere. The Unreal Gold CD should be much the same as the layout on the Unreal Anthology DVD but I want to be sure. It's the Unreal CD I really need to see though, and Return To Na Pali if anybody has it.
Created attachment 134080 [details] directory tree of Unreal cd
Created attachment 134081 [details] directory tree of Unreal Gold cd
Thanks man, that helps a lot. I'll keep going on this.
Created attachment 136888 [details] unreal-returntonapali-451.ebuild Done it at last! This works with Unreal Gold, Unreal Anthology and the standalone game. In all cases, only UT is required. Unreal is never required. All the alternative languages are supported. The ebuild is very similar to the Unreal 1 ebuild I just uploaded to bug #130051 so see that for more details. Please mark this bug as depending on bug #134156. I doubt it would work with the old UT ebuild.
Oh and http://www.aura-online.co.uk/~chewi/u1-on-ut-451.tar.bz2 is required. It's mentioned in the other bug but just to be clear. Please DO NOT use that as the SRC_URI though.
(In reply to comment #12) > Oh and http://www.aura-online.co.uk/~chewi/u1-on-ut-451.tar.bz2 is required. > It's mentioned in the other bug but just to be clear. Please DO NOT use that as > the SRC_URI though. > some of the files in that package just patch UT up to 451. that would likely collide with games-fps/unreal-tournament-goty-451
No the version numbers on the patches indicate which version is required for the input file, not which version is produced by the output file. The GOTY ebuild will also be removed because the new UT ebuild caters for all versions, with the new bonus pack ebuild providing all 4 of the bonus packs. I've been busy. :D
Created attachment 152471 [details] unreal-returntonapali-451.ebuild A fix for the differing versions of UMenu.u available in 436 and Anthology. The u1-on-ut-451.tar.bz2 file has changed so please download it again.
Created attachment 152473 [details] unreal-returntonapali-451.ebuild Crap! I didn't properly handly the "unsupported" case.
Created attachment 164743 [details] unreal-returntonapali-451.ebuild Updated to work with "Best of Infogrames" version of UT. u1-ot-ut tarball now kept at my space on dev.gentooexperimental.org.
It works great with infogrames ut. Thanks for your work.
(This comment includes a "patch" for the issue it describes. It's kind of hidden in the middle so do not miss it.) ;-) Oddly, I can not install UT Return To Na Pali from Anthology DVD with this ebuild (attached to this bug as attachment id 164743). Part of the error output is: >>> Install unreal-returntonapali-451 into /var/tmp/portage/games-fps/unreal-returntonapali-451/image/ category games-fps ACCESS DENIED fchmodat: /var/tmp/portage/games-fps/unreal-returntonapali-451/work/System/ALAudio.so chmod: changing permissions of `System/ALAudio.so': Permission denied [...] --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-2147.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: fchmodat S: deny P: System/ALAudio.so A: /var/tmp/portage/games-fps/unreal-returntonapali-451/work/System/ALAudio.so R: /opt/unreal-tournament/System/ALAudio.so C: chmod 750 System/napali-bin System/ALAudio.so System/Audio.so System/Core.so System/Editor.so System/Engine.so System/Fire.so System/GlideDrv.so System/IpDrv.so System/libopenal-0.0.so System/NullDrv.so System/NullNetDriver.so System/NullRender.so System/OpenGLDrv.so System/Render.so System/SDLDrv.so System/SDLGLDrv.so System/SDLSoftDrv.so System/UWeb.so System/libmikmod.so.2 [...] Error output continues similarly for several other .so files. The problem is that /var/tmp/portage/games-fps/unreal-returntonapali-451/work/System/ALAudio.so is symlink to /opt/unreal-tournament/System/ALAudio.so and sandbox does not allows changes there. I've changed line 338 in the ebuild like this: -chmod 750 System/napali-bin System/*.so System/*.so.* || die +find System -type f -a \( -name napali-bin -o -name '*.so' -o -name '*.so.*' \) -exec chmod 750 {} \; || die and now it installs fine. I'm running stable amd64 and have installed also unreal-tournament-451, unreal-451 from bugs #134156 and #130051 (they emerged fine without any modifications): # emerge -pv unreal-tournament unreal unreal-returntonapali These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] games-fps/unreal-tournament-451 USE="openal (-3dfx) -S3TC -dedicated -doc" LINGUAS="-es -fr -it" 0 kB [?=>1] [ebuild R ] games-fps/unreal-451 USE="-doc" LINGUAS="-de -es -fr -it" 0 kB [?=>1] [ebuild R ] games-fps/unreal-returntonapali-451 USE="-doc" LINGUAS="-de -es -fr -it" 0 kB [?=>1]
I'm attaching an updated ebuild that fixes a few problems: 1. Security/sandbox issue as described in bug 130051 comment 48 2. Inability to use a CD_ROOT with parentheses in the path 3. Icon extension warning in desktop file Thanks for all the work on this.
Created attachment 274993 [details] unreal-returntonapali-451.ebuild - update
Created attachment 323852 [details] unreal-returntonapali-451.ebuild minor update: cdrom eclass now explicitly included, as required
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b093e47371dceaf8e3daaa099a8c20cba1a6d0c commit 8b093e47371dceaf8e3daaa099a8c20cba1a6d0c Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2019-12-08 21:08:20 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-12-08 21:08:20 +0000 games-fps/*: drop last-rited pkgs Bug: https://bugs.gentoo.org/44351 Signed-off-by: Aaron Bauman <bman@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ccd8cf8f654fefc66ef924b5558873e1e44dcf commit 25ccd8cf8f654fefc66ef924b5558873e1e44dcf Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2019-12-08 21:28:28 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-12-08 21:28:28 +0000 games-fps/unreal-tournament: drop vulnerable Closes: https://bugs.gentoo.org/386383 Signed-off-by: Aaron Bauman <bman@gentoo.org>