Vous êtes ici > Les forums > Vos créations > Fifa 99
| Nouveau - Répondre |
| Auteur | Posts |
| abyss | Le Jeudi 3 Juillet 2008 à 4:54 - [Citer] |
Membre![]() |
Salut, tous le monde
Alors moi je suis tout nouveau et j'ai tenté mon premier script (faut bien un début) Console: #!/bin/bash if [ "$PLAYONLINUX" = "" ] then exit 0 fi source "$PLAYONLINUX/lib/sources" POL_SetupWindow_cfg_check POL_SetupWindow_Init #presentation POL_SetupWindow_presentation "Fifa 99" "Electronic Arts" "http://www.ea.com" "Abyss" lang=$(menu "Select your country" "French English German Spanish Svenska Nederlands Portuges") POL_SetupWindow_message "Errors can found at the end of installation,you must close lots of errors-box to finish" select_prefixe "$HOME/.PlayOnLinux/wineprefix/Fifa99" POL_SetupWindow_prefixcreate POL_SetupWindow_cdrom if [ $lang == "French" ]; then POL_SetupWindow_check_cdrom "/SETUP/FRENCH/SETUP.EXE" wine d:/SETUP/FRENCH/SETUP.EXE fi if [ $lang == "English" ]; then POL_SetupWindow_check_cdrom "/SETUP/ENGLISH/SETUP.EXE" wine d:/SETUP/ENGLISH/SETUP.EXE fi if [ $lang == "German" ]; then POL_SetupWindow_check_cdrom "/SETUP/GERMAN/SETUP.EXE" wine d:/SETUP/GERMAN/SETUP.EXE fi if [ $lang == "Spanish" ]; then POL_SetupWindow_check_cdrom "/SETUP/SPANISH/SETUP.EXE" wine d:/SETUP/SPANISH/SETUP.EXE fi if [ $lang == "Svenska" ]; then POL_SetupWindow_check_cdrom "/SETUP/SWEDISH/SETUP.EXE" wine d:/SETUP/SWEDISH/SETUP.EXE fi if [ $lang == "Nederlands" ]; then POL_SetupWindow_check_cdrom "/SETUP/DUTCH/SETUP.EXE" wine d:/SETUP/DUTCH/SETUP.EXE fi if [ $lang == "Portuges" ]; then POL_SetupWindow_check_cdrom "/SETUP/PORTBRZL/SETUP.EXE" wine d:/SETUP/PORTBRZL/SETUP.EXE fi POL_SetupWindow_reboot POL_SetupWindow_make_shortcut "Fifa99" "Program Files/EA SPORTS/FIFA 99" "fifa99.exe" "" "Fifa99" POL_SetupWindow_message "Installation finish : Good Game" # Code à la fin du script POL_SetupWindow_Close exit alors bien sûr j'ai piqué des lignes de codes à mes camarades... (pas tapé:-)) le script a l'air de marcher malgré les messages d'erreur de wine à la fin de l'install (une trentaine disant 'hardware no detect') le reste fonctionne chez moi (wine 1.1.0) je ne sais pas faire revenir les messages à la ligne je ne sais pas introduire une image dans un panneau comme dans la documentation (avec steam) pour changer l'image par défaut (les yeux) n'hésitez surtout pas à corriger mes fautes : je code comme un pied -> ça fait une heure que j'apprend |
216 personnes en ligne

