Het forum

Settler 2

premier script... soyez indulgent

Auteur Antwoorden
outremer Vrijdag 8 Augustus 2008 om 20:20
outremerAnonymous

Hello, je passe souvent dans le coin pour voir si il y a un script qui correspond au jeux que j'ai au fond de mes tiroirs et comme je trouvais pas j'ai testé le script créator.

Je m'y connais pas trop en programmation alors j'ai pompé un script existant et je l'ai modifié jusqu'à que ça marche, alors c'est surement pas fait dans les règles, je compte sur vous pour me corriger.

Enfin voilà le résultat:

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

cfg_check

#Presentation
presentation "Settler 2" "BlueByte" "" "Outremer" "Settler2" 1

Ask_For_cdrom 2
Check_cdrom "autorun.exe"

select_prefixe "$REPERTOIRE/wineprefix/Settler2"
creer_prefixe

cd $WINEPREFIX/drive_c/
start_dos D:\install.bat

creer_lanceur_dos "Settler2" "BLUEBYTE/SETTLER2" "S2.EXE"


Chez moi tout fonctionne, si quelqu'un a encore le cd et veut bien le tester ce serai sympa
Je bent hier: Index > Vos créations > Settler 2