The forum

Script pour 18 Wheels Of Steel : Haulin

Author Replies
thib25 Thursday 14 January 2010 at 12:02
thib25Anonymous

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 :cry:.

#!/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

Edited by Berillions

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com