diff options
Diffstat (limited to 'games-fps/ut2003-bonuspack-epic/files')
-rw-r--r-- | games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-1 | 1 | ||||
-rw-r--r-- | games-fps/ut2003-bonuspack-epic/files/epic-install | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-1 b/games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-1 new file mode 100644 index 000000000000..f2e33391a479 --- /dev/null +++ b/games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-1 @@ -0,0 +1 @@ +MD5 9713e295644e6bb4b14cf2cab026ae4e UT2003-epicbonuspackone.exe 156913152 diff --git a/games-fps/ut2003-bonuspack-epic/files/epic-install b/games-fps/ut2003-bonuspack-epic/files/epic-install new file mode 100644 index 000000000000..5c498b1bc567 --- /dev/null +++ b/games-fps/ut2003-bonuspack-epic/files/epic-install @@ -0,0 +1,48 @@ +#!/bin/bash + +if [ -d $HOME/.ut2003/System ]; then + cd "$HOME/.ut2003/System" + echo "Editing UT2003.ini in $PWD" + cat >> UT2003.ini <<EOT + +[Xinterface.Tab_AudioSettings] +BonusPackInfo[1]=(PackageName="AnnouncerEvil.uax",Description="Evil") +BonusPackInfo[2]=(PackageName="AnnouncerFemale.uax",Description="Female") +BonusPackInfo[3]=(PackageName="AnnouncerSexy.uax",Description="Aroused") + +EOT + + ed UT2003.ini >/dev/null 2>&1 <<EOT +/\[xInterface.ExtendedConsole\] +a +MusicManagerClassName=OGGPlayer.UT2OGGMenu +. +wq +EOT + + ed UT2003.ini >/dev/null 2>&1 <<EOT +$ +?EditPackages? +a +EditPackages=BonusPack +EditPackages=SkaarjPack +EditPackages=SkaarjPack_rc +. +wq +EOT + + ed UT2003.ini >/dev/null 2>&1 <<EOT +$ +?ServerPackages? +a +ServerPackages=BonusPack +ServerPackages=SkaarjPack +ServerPackages=SkaarjPack_rc +. +wq +EOT + + echo "Editing User.ini in $PWD" + sed 's/^F11=.*$/F11=MusicMenu/g' < User.ini > User.ini~~ + mv User.ini~~ User.ini +fi |