Estas Aqui > Les forums > Vos créations > Script pour 18 Wheels Of Steel : Haulin sv ru pl en fr

Foros

Script pour 18 Wheels Of Steel : Haulin

Nuevo tema  - Responder
Autor Respuestas
thib25 Jueves 14 Enero 2010 a las 12:02 - [Citar]
Membre

Membre
Bonjour, j'ai créé un script pour le jeu 18 Wheels of Steel : Haulin et j'ai un problème non pas avec le jeu qui est platinum mais avec le raccourci qui marche pas, ça marque en gros "fichier introuvable". Pourtant il ne me semble pas avoir fait une erreur dans le script .

#!/bin/bash
# Date : (2010-01-14 08-30)
# Last revision : (2010-01-14 08-30)
# Wine version used : 1.1.26
# Distribution used to test : Ubuntu 9.10
# Author : thib25
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

NAME="18 Wheels of Steel : Haulin"
PREFIX="18WOSH"

if [ "$POL_LANG" == "fr" ]; then
INSTALLATION="Installation en cours.."
else
INSTALLATION="Installation in progress..."
fi

wget http://www.scssoft.com/image/haulin/18-wheels-of-steel-haulin-box.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"

POL_SetupWindow_presentation "$NAME" "SCS Software" "http://www.scssoft.com/18-wheels-of-steel-haulin.php" "thib25" "$PREFIX"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
 
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
 
POL_SetupWindow_wait_next_signal "$INSTALLATION" "$NAME"
wine "$CDROM/setup.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/18 Wheels of Steel Haulin/" "haulin.exe" "" "$NAME"

POL_SetupWindow_install_wine "1.1.26"
Set_WineVersion_Assign "1.1.26" "$NAME"

POL_SetupWindow_Close
exit

Editado por: Berillions

Il n'y a rien à voir ici