Het forum

Meting 2

Script Test

Auteur Antwoorden
ludoz18 Vrijdag 9 October 2009 om 18:21
ludoz18


Bonjour je me presente, je me prénomme ludoz18 et je vous presente mon 1er script qui vise la communauté des joueurs de Meting 2.Se script est opérationnel il n'y a rien à télécharger le sciript s'en occupe. Merci de le tester et de me rapporter les bugs du script ou même les améliorations merci d'avance de votre participation pour ce script.

#!/bin/bash
# Date :09/10/2009
# Author :Ludoz18
#Version de wine : 1.1.5 (normalement)
#Distribution : Ubuntu
#Version de la distribution : 9.04
#Carte graphique : ATI Mobility radeon X1400
#Drivers de la carte graphique :???
#Commentaire : Tout marche parfaitement 

if [ "$PLAYONLINUX" = "" ]then
   exit 0
fi
 
#Charger les librairies
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init

#presentation
POL_SetupWindow_presentation "Metin 2" "Gameforge 4D" "http://www.metin2.fr" "Ludoz18" "Metin2"

#Préparation de Wine
select_prefix "$HOME/.PlayOnLinux/wineprefix/Metin2"

POL_SetupWindow_prefixcreate

#Téléchargement de Metin 2
POL_SetupWindow_download "Downloading metin 2" "Metin 2" "http://dlcl.gfsrv.net/metin2/clients/fr/Downloader_Metin2_fr.exe"

# installation Metin2
POL_SetupWindow_wait_next_signal "Installation de Metin 2" "Metin 2"
wine "Downloader_Metin2_fr.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "Metin 2 installé"

#CREATION LANCEUR
POL_SetupWindow_make_shortcut "Metin2" "Program Files/Metin2_France" "metin2.exe" "" "Metin2"

POL_SetupWindow_Close
exit

Aangepast door ludoz18

Je bent hier: Index > Vos créations > Meting 2