Applications

Choose a category

accessories
Accessories
development
Development
education
Education
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Soldier of Fortune Platinum

#!/bin/sh
 
#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"
cfg_check
 
#Definition des variables
LONG_NAME="Soldier of Fortune Platinum"
NAME="SoldierofFortunePlatinum"
EDITOR="Raven Software"
WEBSITE="http://www.activision.com/games/soldieroffortune"
AUTHOR="malownu"
 
#Presentation
presentation "$LONG_NAME" "$EDITOR" "$WEBSITE" "$AUTHOR" "$NAME"
 
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."
else
LNG_WAIT_END="Click on "Next" ONLY when the game installation is finished or you will have to redo the installation."
fi
 
Ask_For_cdrom 1 3
Check_cdrom "Setup.exe"
 
#Preparation de wine
mkdir -p $REPERTOIRE/wineprefix/$NAME
cd $REPERTOIRE/wineprefix/$NAME
select_prefixe "$(pwd)"
creer_prefixe 2 3
 
cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM d:
 
#Configuration de wine
Set_OS "win2k"
Set_SoundDriver alsa
 
cd $CDROM
 
#Lancement de l'installeur
wine $CDROM/Setup.exe
 
message "$LNG_WAIT_END" "" 3 3
 
simuler_reboot
 
creer_lanceur "$NAME" "Program Files/Raven/SOF PLATINUM" "SoF.exe" "" "$LONG_NAME"
 
exit
Il n'y a rien à voir ici