Scripts

Script for The Elder Scrolls 4 : Shivering Isle

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check


presentation "The Elder Scrolls 4 - Shivering Isle" "Bethesda Softworks" "http://www.elderscrolls.com/games/oblivion_overview.htm" "GNU_Raziel" "TheElderScrolls4-ShiveringIsle" 1 4

if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du jeu sera terminée sous peine de devoir recommencer l'installation."
LNG_WARNING_UPDATE="Cet addon patch automatiquement le jeu à la version 1.2.0416."
else
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished or you will have to redo the installation."
LNG_WARNING_UPDATE="This addon automatically patch the game to 1.2.0416."
fi

verifier_installation_e "TheElderScrolls4_Oblivion"

Ask_For_cdrom
Check_cdrom "English/setup.exe" 2 4

cd $REPERTOIRE/wineprefix/TheElderScrolls4_Oblivion
select_prefixe "$(pwd)"

if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
wine d:\\French\\setup.exe
elif [ "$POL_LANG" == "es_ES.UTF-8" ]; then
wine d:\\Spanish\\setup.exe
else
wine d:\\English\\setup.exe
fi
fi

message "$LNG_WAIT_END" "" 3 4
message "$LNG_WARNING_UPDATE" "" 4 4

end_install
exit