The forum

Return To Castle Wolfenstein

Script

Author Replies
eguibs Wednesday 18 June 2008 at 14:51
eguibsAnonymous

voila un script de return to castle wolfenstein


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

#Langues
if [ "$POL_LANG" == "fr" ]; then
LNG_WAITINSTALL="Veuillez patienter pendant l'instalation"
LNG_INSTALLEND="Return To Castle Wolfenstein installé"
LNG_WINE="Instalation de Wine 1.0 patientez quelques secondes !
si rien n'apparais c'est que vous l'avez deja installé dans Play On Linux"
LNG_END="L'instalation du jeu est terminée"
else
LNG_WAITINSTALL="Please wait during instalation of the game"
LNG_INSTALLEND="Return To Castle Wolfenstein installed "
LNG_WINE="Clic to next to install Wine 1.0 if nothing appears

it means that you have already installed it on Play On Linux"
LNG_END="The instalation of this game is finished"
fi

#presentation
POL_SetupWindow_presentation "Return To Castle Worlfenstein" "Id Software" "" "Eguibs" "R_T_C_WOLFENSTEIN" 1

#creation du préfixe
mkdir -p $REPERTOIRE/wineprefix/R_T_C_WOLFENSTEIN/
select_prefixe "$REPERTOIRE/wineprefix/R_T_C_WOLFENSTEIN/"
POL_SetupWindow_prefixcreate

#instalation
POL_SetupWindow_cdrom
Check_cdrom "Setup.exe"
cd $CDROM
POL_SetupWindow_wait_next_signal "$LNG_WAITINSTALL" "R_T_C_WOLFENSTEIN"
wine "Setup.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$LNG_INSTALLEND"

#lanceur
POL_SetupWindow_make_shortcut "R_T_C_WOLFENSTEIN" "Program Files/Return to Castle Wolfenstein" "WolfSP.exe" "" "Return To Castle Wolfenstein - SinglePlayer"
POL_SetupWindow_make_shortcut "R_T_C_WOLFENSTEIN" "Program Files/Return to Castle Wolfenstein" "WolfMP.exe" "" "Return To Castle Wolfenstein - MultiPlayer"

#Wine
POL_SetupWindow_message "$LNG_WINE"
Set_WineVersion_Assign "1.0" "Return To Castle Wolfenstein"


#fin
POL_SetupWindow_message "$LNG_END"
POL_SetupWindow_Close

exit


Quentin PÂRIS Wednesday 18 June 2008 at 14:52
Quentin PÂRISAnonymous

Ce jeu existe en version native il me semble
eguibs Wednesday 18 June 2008 at 15:15
eguibsAnonymous

ouai je vien de voir ça tout a coup il me parais beaucoup moins utile ce script XD ben dans tous les cas je le laisse la au moin si y'en a qui veulent l'instaler en version window (on sait jamais XD) ben ils pourront
Panzer Wednesday 18 June 2008 at 18:33
Panzer

Ben ça m'étonnerait mais bon je ferme juste le sujet.


Bientot surpuissant ;) http://abe7.labrute.fr
Mon blog (déjà surpuissant) : Le BaB

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com