Applications

Choose a category

accessories
Accessories
development
Development
education
Education
functions
Functions
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other
patches
Patches
testing
Testing

Tomb Raider 1

Magic number : 155

#!/bin/bash
# Date : (2009-05-29 10-00)
# Last revision : (2009-05-29 10-00)
# Wine version used : N/A
# Distribution used to test : N/A
# Author : NSLW
# Licence : Retail
 
#Translated from V2 to V3
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Tomb Raider"
PREFIX="TombRaider"
 
wget http://upload.wikimedia.org/wikipedia/en/thumb/9/95/Tomb_Raider_1_Box.jpg/256px-Tomb_Raider_1_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 "$TITLE" "Eidos Interactive" "http://www.eidos-france.fr" "WarsTime and NSLW" "$PREFIX"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "install.exe"
cd "$WINEPREFIX/dosdevices"
ln -s $CDROM d:
 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > cdrom.reg
echo "\"d:\"=\"cdrom\"" >> cdrom.reg
regedit cdrom.reg
POL_SetupWindow_message "Wait 5 seconds then click next" "$TITLE"
 
POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
cd $CDROM
wine "install.exe"
POL_SetupWindow_detect_exit
 
POL_SetupWindow_make_shortcut "$PREFIX" "TOMBRAID" "TOMB.EXE" "" "$TITLE" "" ""
POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE"
POL_SetupWindow_Close
exit
Il n'y a rien à voir ici