sv ru es en fr

Applications

Choose a category

Tomb Raider III Les aventures de Lara Croft

Informations

This script is neither signed, nor validated by PlayOnLinux

Source code

#!/bin/bash
# Date : (2009-05-29 11-30)
# Last revision : (2009-06-21 11-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"

#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}

#Definition des variables
LONG_NAME="Tomb Raider III Les aventures de Lara Croft"
PREFIX="TombRaider3"
EDITOR="Eidos Interactive"
WEBSITE="http://www.eidos-france.fr/"
AUTHOR="malownu and NSLW"
 
#Presentation
#presentation "$LONG_NAME" "$EDITOR" "$WEBSITE" "$AUTHOR" "$NAME" 1 5

wget http://upload.wikimedia.org/wikipedia/en/thumb/7/77/TombRaiderIII.jpg/250px-TombRaiderIII.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 "$LONG_NAME" "$EDITOR" "$WEBSITE" "$AUTHOR" "$NAME" 

#Vérifier la présence du CD
#Ask_For_cdrom 2 5
#Check_cdrom "Setup.exe"
 
#Création du prefixe
#mkdir -p $REPERTOIRE/wineprefix/TombRaider3
#cd $REPERTOIRE/wineprefix/TombRaider3
#select_prefixe "$(pwd)"
#creer_prefixe 3 5
 
#Mise en place des lecteurs notament du lecteur CD
#cd $WINEPREFIX/dosdevices
#rm ./*
#ln -s ../drive_c c:
#ln -s / z:
#ln -s $CDROM d:

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.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" "$LONG_NAME"

#Configuration de wine
Set_OS win98
Set_SoundDriver alsa
#Set_WineVersion_Session "0.9.55"
Use_WineVersion "0.9.55"
 
#Installation du jeu et de DirectX
#wine $CDROM/SETUP.EXE
#message "Cliquer sur OK pour installer DirectX" "Installation DirectX" 4 5
#wine $CDROM/Directx/DXSETUP.EXE

cd $CDROM
wine "SETUP.EXE"
POL_SetupWindow_message "Cliquer sur OK pour installer DirectX" "Installation DirectX"
wine $CDROM/Directx/DXSETUP.EXE

#Création du lanceur
#creer_lanceur "TombRaider3" "Program Files/Core Design/Tomb Raider III" "Tomb3.exe" "" "Tomb Raider 3" 5 5
POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider III" "Tomb3.exe" "" "$LONG_NAME" "" ""

POL_SetupWindow_message "$LONG_NAME has been installed successfully" "$LONG_NAME"

POL_SetupWindow_Close
exit

Known install files

Il n'y a rien à voir ici