Vous êtes ici > Les forums > Vos créations > Call of Chtulhu: Dark Corner of the Earth
Les forums
Call of Chtulhu: Dark Corner of the Earth
| Auteur |
Posts |
| bacatta |
Le Dimanche 6 Juillet 2008 à 22:46
- [Citer]
|
Membre
 |
Salut, ci-dessous mon 1er script PoL.
C'est un bon "vieux" jeu qui fonctionne bien sous wine.
Je n'ai pas pris la peine de gérer les langues.
Console: #!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
# Interface pol v3
POL_SetupWindow_Init
POL_SetupWindow_presentation "Call of Chtulhu: Dark Corners of the Earth" "Bethesda Softworks" "http://www.callofcthulhu.com/" "Bacatta" "dcote"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
select_prefix "$HOME/.PlayOnLinux/wineprefix/dcote/"
polprefixcreate
POL_SetupWindow_wait_next_signal "Veuillez selectionner les options par defaut svp" "Installation en cours..."
wine "$CDROM/setup.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "Installation terminée"
# Pour booster un peu les FPS
# OffscreenRenderingMode = fbo
echo "[HKEY_CURRENT_USER\Software\Wine\Direct3D]" >$REPERTOIRE/tmp/dcote.reg
echo ""OffScreenRenderingMode"="fbo"" >>$REPERTOIRE/tmp/dcote.reg
regedit "$REPERTOIRE/tmp/dcote.reg"
rm "$REPERTOIRE/tmp/dcote.reg"
POL_SetupWindow_make_shortcut "dcote" "Program Files/Bethesda Softworks/Call Of Cthulhu DCoTE/Engine" "CoCDCoTELauncher.exe" "" "Call of Chtulhu: Dark Corners of the Earth"
POL_SetupWindow_Close Distribution : Fedora x64
Version de la distribution : 15
Carte graphique : Nvidia Geforce GTX460
Pilote de la carte graphique : 280.??
|
| Asimov |
Le Lundi 7 Juillet 2008 à 19:58
- [Citer]
|
Membre

 |
Parfait.
Apparemment, pas d'erreur de rédaction, tout baigne.
Si ça fonctionne bien chez toi, je vote pour l'ajout dans le dépôt.
Nous piétinerons éternellement aux frontières de l'Inconnu, cherchant à comprendre ce qui restera toujours incompréhensible. Et c'est précisément cela qui fait de nous des hommes.

|