Applications

Choose a category

accessories
Accessories
development
Development
education
Education
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Tomb Raider 1

#!/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"
 
#Presentation
#presentation "Tomb Raider" "Eidos Interactive" "http://www.eidos-france.fr/" "WarsTime" "TombRaider" 1 5
 
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Eidos Interactive" "http://www.eidos-france.fr" "WarsTime and NSLW" "$PREFIX"
 
#Vérifier la présence du CD
#Ask_For_cdrom 2 5
#Check_cdrom "install.exe"
 
#Création du prefixe
#select_prefixe "$REPERTOIRE/wineprefix/TombRaider"
#creer_prefixe
 
#Installation du jeu
#cd $WINEPREFIX/drive_c/
#start_dos D:\INSTALL.EXE
 
#Création du lanceur
#creer_lanceur_dos "TombRaider" "TOMBRAID" "TOMB.EXE" "" "Tomb Raider"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "install.exe"
cd "$WINEPREFIX/dosdevices"
ln -s $CDROM d:
 
echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > $REPERTOIRE/tmp/cdrom.reg
echo "\"d:\"=\"cdrom\"" >> $REPERTOIRE/tmp/cdrom.reg
regedit $REPERTOIRE/tmp/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