mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
games-fps/unreal-gold-data: New data package for games-fps/unreal
The game is now essentially free to download from OldUnreal. You can still install from CD, DVD, or GOG if you want to, but the OldUnreal ISO is used by default. See this package's long description for details. I wouldn't normally lump a GOG installer together with other sources because a bump would disrupt non-GOG users, but the game is no longer by sold by GOG, so it shouldn't ever change, at least not in any way that would change the resulting install. Closes: https://bugs.gentoo.org/130051 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DIST UNREAL_GOLD.iso 676734976 BLAKE2B f800424ac940b3b16ca1a20b7e806dd7cab07e5f243a22d22e400879dd5345a16ce64aec440c276b047a9be6886a34cb5d295001760d64e1f5ce456d94f0321b SHA512 556b365c2245c675116c2e04c3eec1892d287cd1176c6e1ff69f5f7b14493824416b76d42ee4b67f078c5464dd176c3b48a742f4c1660e3c9057c10b56bf38f1
|
||||
DIST setup_unreal_gold_2.0.0.6.exe 233997336 BLAKE2B 599ab342d503c7c7cf4ce04cb9665f3c5817fb3aedd9072ca9c0fde9eea9ff64012a19e17fc38cecabd2f956a0e7aa283d13fb32d08770c44bd81238c9d1fc5c SHA512 f901e56ead2e6a5cc605bd44d506d360b4ee413aa351f2d690219c184c102ed70f317a5d6788935180eb2f178f5595bba771ab179ba211f78b2e5724304e8aab
|
||||
@@ -0,0 +1,14 @@
|
||||
ca.gif
|
||||
de.gif
|
||||
es.gif
|
||||
fr.gif
|
||||
gb.gif
|
||||
it.gif
|
||||
ReadMe220.htm
|
||||
ReadMe222.htm
|
||||
ReadMe223.htm
|
||||
ReadMe224.htm
|
||||
ReadMe.htm
|
||||
ReadMe.txt
|
||||
Unreal.ico
|
||||
us.gif
|
||||
@@ -0,0 +1,98 @@
|
||||
Bluff.unr
|
||||
Ceremony.unr
|
||||
Chizra.unr
|
||||
Dark.unr
|
||||
DasaCellars.unr
|
||||
DasaPass.unr
|
||||
DCrater.unr
|
||||
Dig.unr
|
||||
DKNightOp.unr
|
||||
DmAriza.unr
|
||||
DmCurse.unr
|
||||
DmDeathFan.unr
|
||||
DmDeck16.unr
|
||||
DmElsinore.unr
|
||||
DmFith.unr
|
||||
DmHealPod.unr
|
||||
DmMorbias.unr
|
||||
DmRadikus.unr
|
||||
DmTundra.unr
|
||||
Dug.unr
|
||||
Endgame.unr
|
||||
Entry_MP.unr
|
||||
Entry.unr
|
||||
ExtremeBeg.unr
|
||||
ExtremeCore.unr
|
||||
ExtremeDark.unr
|
||||
ExtremeDGen.unr
|
||||
ExtremeEnd.unr
|
||||
ExtremeGen.unr
|
||||
ExtremeLab.unr
|
||||
Gateway.unr
|
||||
Harobed.unr
|
||||
IsvDeck1.unr
|
||||
IsvKran32.unr
|
||||
IsvKran4.unr
|
||||
NaliBoat.unr
|
||||
NaliC.unr
|
||||
NaliLord.unr
|
||||
Noork.unr
|
||||
NyLeve.unr
|
||||
Passage.unr
|
||||
QueenEnd.unr
|
||||
Ruins.unr
|
||||
SkyBase.unr
|
||||
SkyCaves.unr
|
||||
SkyTown.unr
|
||||
SpireVillage.unr
|
||||
TerraLift.unr
|
||||
Terraniux.unr
|
||||
TheSunspire.unr
|
||||
Trench.unr
|
||||
UGCredits.unr
|
||||
Unreal.unr
|
||||
UPak/Abyss.unr
|
||||
UPak/Crashsite1.unr
|
||||
UPak/Crashsite2.unr
|
||||
UPak/Crashsite.unr
|
||||
UPak/DmAthena.unr
|
||||
UPak/DmDaybreak.unr
|
||||
UPak/DmHazard.unr
|
||||
UPak/DmStomp.unr
|
||||
UPak/DmSunSpeak.unr
|
||||
UPak/DmTerra.unr
|
||||
UPak/DuskFalls.unr
|
||||
UPak/Eldora.unr
|
||||
UPak/End.unr
|
||||
UPak/Foundry.unr
|
||||
UPak/Glacena.unr
|
||||
UPak/Glathriel1.unr
|
||||
UPak/Glathriel2.unr
|
||||
UPak/Inter10.unr
|
||||
UPak/Inter11.unr
|
||||
UPak/Inter12.unr
|
||||
UPak/Inter13.unr
|
||||
UPak/Inter14.unr
|
||||
UPak/Inter1.unr
|
||||
UPak/Inter2.unr
|
||||
UPak/Inter3.unr
|
||||
UPak/Inter4.unr
|
||||
UPak/Inter5.unr
|
||||
UPak/Inter6.unr
|
||||
UPak/Inter7.unr
|
||||
UPak/Inter8.unr
|
||||
UPak/Inter9.unr
|
||||
UPak/InterCrashsite.unr
|
||||
UPak/InterIntro.unr
|
||||
UPak/Intro1.unr
|
||||
UPak/Intro2.unr
|
||||
UPak/NagomiSun.unr
|
||||
UPak/Nagomi.unr
|
||||
UPak/Nalic2.unr
|
||||
UPak/Nevec.unr
|
||||
UPak/SpireLand.unr
|
||||
UPak/Toxic.unr
|
||||
UPak/Upack.unr
|
||||
UPak/Velora.unr
|
||||
VeloraEnd.unr
|
||||
Vortex2.unr
|
||||
@@ -0,0 +1,48 @@
|
||||
Boundary.umx
|
||||
Chizra1.umx
|
||||
Crater.umx
|
||||
DigSh.umx
|
||||
Dusk.umx
|
||||
EndEx.umx
|
||||
Ending.umx
|
||||
EverSmoke.umx
|
||||
Fifth.umx
|
||||
Flyby.umx
|
||||
Found99.umx
|
||||
Fourth.umx
|
||||
Gala.umx
|
||||
Guardian.umx
|
||||
Hub2.umx
|
||||
Inter.umx
|
||||
Isotoxin.umx
|
||||
Journey.umx
|
||||
Kran2.umx
|
||||
Kran32.umx
|
||||
K_vision.umx
|
||||
Moroset.umx
|
||||
Mountain.umx
|
||||
Nali.umx
|
||||
Neve.umx
|
||||
Newmca13.umx
|
||||
Newmca16.umx
|
||||
Newmca7.umx
|
||||
Newmca9.umx
|
||||
Opal.umx
|
||||
QueenSong.umx
|
||||
Return.umx
|
||||
Sacred.umx
|
||||
Seti.umx
|
||||
SkyTwn.umx
|
||||
SpaceMarines.umx
|
||||
Spire.umx
|
||||
Starseek.umx
|
||||
Surface.umx
|
||||
Title.umx
|
||||
Twilight.umx
|
||||
Unreal4.umx
|
||||
UTemple.umx
|
||||
utend.umx
|
||||
Vortex.umx
|
||||
WarGate.umx
|
||||
Warlord.umx
|
||||
Watcher.umx
|
||||
@@ -0,0 +1,27 @@
|
||||
Activates.uax
|
||||
AmbAncient.uax
|
||||
AmbModern.uax
|
||||
AmbOutside.uax
|
||||
DMatch.uax
|
||||
DoorsAnc.uax
|
||||
DoorsMod.uax
|
||||
Extro.uax
|
||||
int/EndSnd.uax
|
||||
int/Interm10.uax
|
||||
int/Interm11.uax
|
||||
int/Interm12.uax
|
||||
int/Interm13.uax
|
||||
int/Interm14.uax
|
||||
int/Interm1.uax
|
||||
int/Interm2.uax
|
||||
int/Interm3.uax
|
||||
int/Interm4.uax
|
||||
int/Interm5.uax
|
||||
int/Interm6.uax
|
||||
int/Interm7.uax
|
||||
int/Interm8.uax
|
||||
int/Interm9.uax
|
||||
int/IntroSnd2.uax
|
||||
Marine.uax
|
||||
Scout.uax
|
||||
VRikers.uax
|
||||
@@ -0,0 +1,3 @@
|
||||
ConfigLogo.bmp
|
||||
Manifest.ini
|
||||
OpenGlDrv.ini
|
||||
@@ -0,0 +1,49 @@
|
||||
AlfaFX.utx
|
||||
Ancient.utx
|
||||
BluffFX.utx
|
||||
Castle1.utx
|
||||
ChizraEFX.utx
|
||||
Credits.utx
|
||||
Crypt.utx
|
||||
DecayedS.utx
|
||||
Detail.utx
|
||||
DMeffects.utx
|
||||
Female1Skins.utx
|
||||
Female2Skins.utx
|
||||
FireEng.utx
|
||||
GenEarth.utx
|
||||
GenFluid.utx
|
||||
GenFX.utx
|
||||
GenIn.utx
|
||||
GenTerra.utx
|
||||
GenWarp.utx
|
||||
GreatFire2.utx
|
||||
GreatFire.utx
|
||||
HubEffects.utx
|
||||
ISVFX.utx
|
||||
JWSky.utx
|
||||
Langs.utx
|
||||
LavaFX.utx
|
||||
Liquids.utx
|
||||
Male1Skins.utx
|
||||
Male2Skins.utx
|
||||
Male3Skins.utx
|
||||
MenuGr.utx
|
||||
Mine.utx
|
||||
NaliCast.utx
|
||||
NaliFX.utx
|
||||
Palettes.utx
|
||||
PlayrShp.utx
|
||||
Queen.utx
|
||||
Render.utx
|
||||
ShaneDay.utx
|
||||
ShaneSky.utx
|
||||
Skaarj.utx
|
||||
SkTrooperSkins.utx
|
||||
SkyCity.utx
|
||||
SpaceFX.utx
|
||||
Starship.utx
|
||||
TCrystal.utx
|
||||
Terranius.utx
|
||||
UGoldCredits.utx
|
||||
XFX.utx
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gog">Install from the GOG.com release. Note that the game is no longer sold here.</flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
This package installs just the data files, not the engine, for Epic's
|
||||
popular first-person shooter game, Unreal, as well as its expansion pack
|
||||
Return to Na Pali, released together as Unreal Gold.
|
||||
|
||||
Epic privately shared the engine sources with the community OldUnreal
|
||||
team, who now maintain it and publish modern builds. Epic also, somewhat
|
||||
informally, gave permission for OldUnreal to host a CD ISO of the game
|
||||
for the community to download and play for free.
|
||||
|
||||
GamingOnLinux shared this news and confirmed it with Epic here:
|
||||
https://www.gamingonlinux.com/2024/11/classic-unreal-tournament-and-unreal-now-easier-to-download-free-thanks-to-oldunreal/
|
||||
|
||||
"We can confirm that Unreal 1 and Unreal Tournament are available on
|
||||
archive.org and people are free to independently link to and play
|
||||
these versions."
|
||||
|
||||
Epic's web page for Unreal Tournament links to OldUnreal for downloads:
|
||||
https://www.epicgames.com/unrealtournament
|
||||
|
||||
By default, this package will fetch that ISO from OldUnreal. If you do
|
||||
not want to use OldUnreal's ISO, you also have the option to install
|
||||
from CD, DVD, or GOG instead. Note that the game can no longer be
|
||||
purchased from GOG or anywhere else. Epic even removed it from their own
|
||||
store. Also note that the GOG edition lacks the French, German, Italian,
|
||||
and Spanish sound files.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,169 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CDROM_OPTIONAL="yes"
|
||||
inherit cdrom check-reqs
|
||||
|
||||
DESCRIPTION="Data files for Unreal and Return to Na Pali"
|
||||
HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Gold"
|
||||
GOG="setup_unreal_gold_2.0.0.6.exe"
|
||||
SRC_URI="
|
||||
!cdinstall? ( !gog? ( fetch+https://files.oldunreal.net/UNREAL_GOLD.ISO -> UNREAL_GOLD.iso ) )
|
||||
gog? ( ${GOG} )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="Epic-TOS" # See metadata.xml for the legal background.
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="doc gog l10n_de l10n_es l10n_fr l10n_it"
|
||||
RESTRICT="bindist gog? ( fetch ) mirror"
|
||||
REQUIRED_USE="?? ( cdinstall gog )"
|
||||
|
||||
UT_DEPEND=">=games-fps/unreal-227k_p14"
|
||||
|
||||
BDEPEND="
|
||||
${UT_DEPEND}
|
||||
cdinstall? ( app-arch/unshield )
|
||||
gog? ( app-arch/innoextract )
|
||||
!gog? ( app-arch/libarchive )
|
||||
"
|
||||
RDEPEND="
|
||||
${UT_DEPEND}
|
||||
"
|
||||
|
||||
# Assuming the OldUnreal ISO.
|
||||
CHECKREQS_DISK_BUILD="2G"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${GOG} from GOG and move it"
|
||||
einfo "to your distfiles directory. Note that you can no longer buy this"
|
||||
einfo "game from GOG, so disable USE=\"gog\" to use OldUnreal's free ISO if"
|
||||
einfo "you don't already own the game."
|
||||
}
|
||||
|
||||
locale_mismatch() {
|
||||
case "${1}" in
|
||||
*.det|*/det/*|1_UnrealGold_*_German) ! use l10n_de ;;
|
||||
*.est|*/est/*|1_UnrealGold_*_Spanish) ! use l10n_es ;;
|
||||
*.frt|*/frt/*|1_UnrealGold_*_French) ! use l10n_fr ;;
|
||||
*.itt|*/itt/*|1_UnrealGold_*_Italian) ! use l10n_it ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use gog; then
|
||||
if use l10n_de || use l10n_es || use l10n_fr || use l10n_it; then
|
||||
ewarn "The GOG edition lacks localised audio. Please disable USE=\"gog\" if you"
|
||||
ewarn "would prefer to use a free game download that does include this content."
|
||||
echo
|
||||
fi
|
||||
|
||||
ln -s . app || die
|
||||
innoextract --extract --include app "${DISTDIR}/${GOG}" || die
|
||||
else
|
||||
if use cdinstall; then
|
||||
ewarn "It is no longer necessary to install this from CD or DVD. Please"
|
||||
ewarn "disable USE=\"cdinstall\" if you would prefer to download the game for"
|
||||
ewarn "free."
|
||||
echo
|
||||
else
|
||||
# We might as well handle a downloaded ISO and a user-provided ISO
|
||||
# the same way through cdrom.eclass.
|
||||
CD_ROOT="${DISTDIR}/UNREAL_GOLD.iso"
|
||||
fi
|
||||
|
||||
# The German Midway DVD doesn't include UT99.
|
||||
cdrom_get_cds Manuals/UnrealTournament_English.pdf:autorund/unreal.ico:MAPS/Vortex2.unr
|
||||
|
||||
case ${CDROM_SET} in
|
||||
0) einfo "Found Midway Unreal Anthology DVD" ;;
|
||||
1) einfo "Found German Midway Unreal Anthology DVD" ;;
|
||||
2) einfo "Found Unreal Gold CD" ;;
|
||||
esac
|
||||
|
||||
local group dir cdnum
|
||||
case ${CDROM_SET} in
|
||||
0|1)
|
||||
# Symlinks for unshield. These files need to be in the same
|
||||
# directory but on the disk, they are not for some reason.
|
||||
ln -snf "${CDROM_ROOT}"/{Disk1/data1.hdr,Disk*/data*.cab} "${T}"/ || die
|
||||
|
||||
for group in $(unshield g "${T}"/data1.cab || die); do
|
||||
case ${group} in
|
||||
1_UnrealGold_System_All) : ;;
|
||||
1_UnrealGold_EXE|1_UnrealGold_Manual_*|1_UnrealGold_System_*) continue ;;
|
||||
1_UnrealGold_*) : ;;
|
||||
*) continue ;;
|
||||
esac
|
||||
locale_mismatch "${group}" && continue
|
||||
unshield -g "${group}" x "${T}"/data1.cab || die
|
||||
done
|
||||
|
||||
for dir in 1_UnrealGold_*; do
|
||||
mv -v "${dir}" "${dir#1_UnrealGold_}" || die
|
||||
done
|
||||
|
||||
mkdir -p Sounds/{de,es,fr,in,it}t || die
|
||||
mv -v Sounds_English/*.uax Sounds/int/ || die
|
||||
use l10n_de && { mv -v Sounds_German/*.uax Sounds/det/ || die; }
|
||||
use l10n_es && { mv -v Sounds_Spanish/*.uax Sounds/est/ || die; }
|
||||
use l10n_fr && { mv -v Sounds_French/*.uax Sounds/frt/ || die; }
|
||||
use l10n_it && { mv -v Sounds_Italian/*.uax Sounds/itt/ || die; }
|
||||
|
||||
for dir in *_*/; do
|
||||
mkdir -p "${dir%_*}" || die
|
||||
tar -C "${dir}" --remove-files -cf - . | tar -C "${dir%_*}" -xvf - || die
|
||||
done
|
||||
;;
|
||||
|
||||
2)
|
||||
# Convert uppercased directories to mixed case while copying.
|
||||
tar -C "${CDROM_ROOT}" --mode=u+w --xform='s:\./(.)([^/]*):\u\1\L\2:x' -cf - . | tar -xvf - || die
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir file
|
||||
|
||||
if use doc; then
|
||||
case ${CDROM_SET} in
|
||||
0|1)
|
||||
newdoc "${CDROM_ROOT}"/Manuals/Unreal_English.pdf Manual.pdf
|
||||
use l10n_fr && newdoc "${CDROM_ROOT}"/Manuals/Français/Unreal.pdf Manual_fr.pdf ;;
|
||||
2)
|
||||
newdoc "Manuals/Unreal manual.pdf" Manual.pdf
|
||||
newdoc "Manuals/Unreal NaPali Manual.pdf" "Return to Na Pali Manual.pdf" ;;
|
||||
*)
|
||||
dodoc Manual/Manual.pdf ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Drop unwanted localisation files.
|
||||
while read -r file; do
|
||||
if locale_mismatch "${file}"; then
|
||||
rm -v "${file}" || die
|
||||
fi
|
||||
done < <(find -type f)
|
||||
|
||||
insinto /opt/unreal
|
||||
|
||||
# Drop any other non-localisation files not included in our listings for
|
||||
# cleanliness and consistency between installation sources. These listings
|
||||
# are (mostly) based on OldUnreal's installation.
|
||||
for file in "${FILESDIR}"/listings/*; do
|
||||
dir=${file##*/}
|
||||
find "${dir}" -type f | grep -Fxvf <(sed -r -e "s:^:${dir}/:" -e 's:(.*)/int/(.*\.uax)$:\0\n\1/det/\2\n\1/est/\2\n\1/frt/\2\n\1/itt/\2:' "${file}") | xargs -r rm -v -- || die
|
||||
doins -r "${dir}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Much better textures are available from the Unreal HD Textures project."
|
||||
einfo "You can simply extract their .utx files into ~/.Unreal/Textures."
|
||||
}
|
||||
Reference in New Issue
Block a user