You are here
The forum
[scripts] Tomb Raider II-VI
Author | Replies |
NSLW | Friday 25 December 2009 at 13:51 |
NSLW
|
Hello all,
I wrote several scripts for following Tomb Raider games: - Tomb Raider II - Tomb Raider II Golden Mask - Tomb Raider III Adventures of Lara Croft - Tomb Raider III The Lost Artefact - Tomb Raider Chronicles - Tomb Raider The Angel Of Darkness There won't be script for Tomb Raider The Last Revelation because it doesn't work good on Wine. I also removed Tomb Raider I script from database as it never worked. I advise DOSBox to run this game. Wine version : 1.1.35 Distribution : Fedora Distribution Version : 12 (32 bit) Graphics card : Nvidia, GeForce 9xxx Drivers of the graphics card : 195.30 Tomb Raider II Icon for the game: #!/bin/bash # Date : (2009-12-22 21-00) # Last revision : (2009-12-22 21-00) # Wine version used : Fedora 12 # Distribution used to test : 1.1.35 # Author : NSLW # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Tomb Raider II" PREFIX="TRII" WORKINGWINEVERSION="1.1.35" POL_SetupWindow_make_icon_for_shortcut() { convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1" } #procedure for patching TombRaider II patch_trII() { POL_SetupWindow_browse "Select patch file" "$TITLE" "" POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" wine "$APP_ANSWER" POL_SetupWindow_detect_exit POL_SetupWindow_message "Patch for $TITLE has been installed successfully" "$TITLE" } wget http://upload.wikimedia.org/wikipedia/en/thumb/2/2f/TombRaiderII.jpg/240px-TombRaiderII.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" "www.eidos.com" "NSLW" "$PREFIX" POL_SetupWindow_install_wine "$WORKINGWINEVERSION" Use_WineVersion "$WORKINGWINEVERSION" select_prefix "$REPERTOIRE/wineprefix/$PREFIX" #asking about patching or updating Wine version if [ -e "$REPERTOIRE/configurations/installed/$TITLE" ]; then POL_SetupWindow_menu "What do you want to do?" "Actions" "Patch game" "~" if [ "$APP_ANSWER" == "Patch game" ]; then patch_trIII POL_SetupWindow_Close exit fi fi POL_SetupWindow_message "Please insert $TITLE media into your disk drive." POL_SetupWindow_cdrom cd "$CDROM" CHECK=$(find . -iwholename ./setup.exe) if [ "$CHECK" == "" ]; then CHECK="SETUP.EXE" fi POL_SetupWindow_check_cdrom "$CHECK" if [ ! -d "$REPERTOIRE/wineprefix/$PREFIX" ]; then POL_SetupWindow_prefixcreate fi #fetching PROGRAMFILES environmental variable PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` PROGRAMFILES=${PROGRAMFILES:3} #adding CD-ROM as drive e: to winecfg cd "$WINEPREFIX/dosdevices" ln -s "$CDROM" e: cd "$WINEPREFIX/drive_c/windows/temp/" echo "[HKEY_LOCAL_MACHINE\\\\Software\\\\Wine\\\\Drives]" > cdrom.reg echo "\\"e:\\"=\\"cdrom\\"" >> cdrom.reg regedit cdrom.reg sleep 5 POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" cd "$CDROM" wine "$CHECK" POL_SetupWindow_detect_exit POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider II" "Tomb2.exe" "" "$TITLE" "" "" POL_SetupWindow_make_icon_for_shortcut "$TITLE" "*_tomb2.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider II" "Tomb2.exe" "" "Setup $TITLE" "" "setup" POL_SetupWindow_make_icon_for_shortcut "Setup $TITLE" "*_tomb2.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "Setup $TITLE" cd "$REPERTOIRE/ressources" #downloading XP patch if [ ! -e "tr2updateXP.zip" ]; then POL_SetupWindow_download "PlayOnLinux is downloading tr2updateXP.zip" "Downloading patch" "http://www.sigmirror.com/files/48811_ruvmt/tr2updateXP.zip" fi #unpacking XP patch to temp cd "$WINEPREFIX/drive_c/windows/temp/" unzip "$REPERTOIRE/ressources/tr2updateXP.zip" #installing XP patch POL_SetupWindow_wait_next_signal "Installation of XP patch in progress..." "$TITLE" wine "tr2update.exe" POL_SetupWindow_detect_exit POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_SetupWindow_Close exit Tomb Raider II Golden Mask Icon for the game: #!/bin/bash # Date : (2009-12-22 21-00) # Last revision : (2009-12-22 21-00) # Wine version used : Fedora 12 # Distribution used to test : 1.1.35 # Author : NSLW # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Tomb Raider II Golden Mask" PREFIX="TRII" WORKINGWINEVERSION="1.1.35" POL_SetupWindow_make_icon_for_shortcut() { convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1" } wget http://upload.wikimedia.org/wikipedia/en/e/ef/TombRaiderGoldenMask.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" "www.eidos.com" "NSLW" "$PREFIX" POL_SetupWindow_install_wine "$WORKINGWINEVERSION" Use_WineVersion "$WORKINGWINEVERSION" select_prefix "$REPERTOIRE/wineprefix/$PREFIX" POL_SetupWindow_message "Please insert Tomb Raider II media into your disk drive." POL_SetupWindow_cdrom cd "$CDROM" CHECK=$(find . -iwholename ./setup.exe) if [ "$CHECK" == "" ]; then CHECK="setup.exe" fi POL_SetupWindow_check_cdrom "$CHECK" APP_ANSWER="" while [ "$APP_ANSWER" == "" ]; do POL_SetupWindow_browse "Select Golden Mask file" "$TITLE" "" sleep 1 CHECK="$APP_ANSWER" APP_ANSWER=`echo "$CHECK" | grep tr2_gold` done if [ ! -d "$REPERTOIRE/wineprefix/$PREFIX" ]; then POL_SetupWindow_prefixcreate fi #fetching PROGRAMFILES environmental variable PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` PROGRAMFILES=${PROGRAMFILES:3} #adding CD-ROM as drive d: to winecfg cd "$WINEPREFIX/dosdevices" ln -s "$CDROM" e: cd "$WINEPREFIX/drive_c/windows/temp/" echo "[HKEY_LOCAL_MACHINE\\\\Software\\\\Wine\\\\Drives]" > cdrom.reg echo "\\"e:\\"=\\"cdrom\\"" >> cdrom.reg regedit cdrom.reg sleep 5 POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" cd "$CDROM" wine "$CHECK" POL_SetupWindow_detect_exit POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider II Gold (Full Net)" "t2gold.exe" "" "$TITLE" "" "" POL_SetupWindow_make_icon_for_shortcut "$TITLE" "*_t2gold.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider II Gold (Full Net)" "t2gold.exe" "" "Setup $TITLE" "" "setup" POL_SetupWindow_make_icon_for_shortcut "Setup $TITLE" "*_t2gold.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "Setup $TITLE" POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_SetupWindow_Close exit Tomb Raider III Adventures of Lara Croft Icon for the game: #!/bin/bash # Date : (2009-12-22 21-00) # Last revision : (2009-12-22 21-00) # Wine version used : Fedora 12 # Distribution used to test : 1.1.35 # Author : NSLW # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Tomb Raider III Adventures of Lara Croft" PREFIX="TRIII" WORKINGWINEVERSION="1.1.35" POL_SetupWindow_make_icon_for_shortcut() { convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1" } #procedure for patching TombRaider III patch_trIII() { POL_SetupWindow_browse "Select patch file" "$TITLE" "" POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" wine "$APP_ANSWER" POL_SetupWindow_detect_exit POL_SetupWindow_message "Patch for $TITLE has been installed successfully" "$TITLE" } wget http://upload.wikimedia.org/wikipedia/en/7/77/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 "$TITLE" "Eidos Interactive" "www.eidos.com" "NSLW" "$PREFIX" POL_SetupWindow_install_wine "$WORKINGWINEVERSION" Use_WineVersion "$WORKINGWINEVERSION" select_prefix "$REPERTOIRE/wineprefix/$PREFIX" #asking about patching or updating Wine version if [ -e "$REPERTOIRE/configurations/installed/$TITLE" ]; then POL_SetupWindow_menu "What do you want to do?" "Actions" "Patch game" "~" if [ "$APP_ANSWER" == "Patch game" ]; then patch_trIII POL_SetupWindow_Close exit fi fi POL_SetupWindow_message "Please insert $TITLE media into your disk drive." POL_SetupWindow_cdrom cd "$CDROM" CHECK=$(find . -iwholename ./tomb3.exe) if [ "$CHECK" == "" ]; then CHECK="tomb3.exe" fi POL_SetupWindow_check_cdrom "$CHECK" if [ ! -d "$REPERTOIRE/wineprefix/$PREFIX" ]; then POL_SetupWindow_prefixcreate fi #fetching PROGRAMFILES environmental variable PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` PROGRAMFILES=${PROGRAMFILES:3} #adding CD-ROM as drive e: to winecfg cd "$WINEPREFIX/dosdevices" ln -s "$CDROM" e: cd "$WINEPREFIX/drive_c/windows/temp/" echo "[HKEY_LOCAL_MACHINE\\\\Software\\\\Wine\\\\Drives]" > cdrom.reg echo "\\"e:\\"=\\"cdrom\\"" >> cdrom.reg regedit cdrom.reg sleep 5 POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" cd "$CDROM" wine "Setup.exe" POL_SetupWindow_detect_exit POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider III" "Tomb3.exe" "" "$TITLE" "" "" POL_SetupWindow_make_icon_for_shortcut "$TITLE" "*_tomb3.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider III" "Tomb3.exe" "" "Setup $TITLE" "" "setup" POL_SetupWindow_make_icon_for_shortcut "Setup $TITLE" "*_tomb3.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "Setup $TITLE" cd "$REPERTOIRE/ressources" #downloading XP patch if [ ! -e "tr3updateXP.zip" ]; then POL_SetupWindow_download "PlayOnLinux is downloading tr3updateXP.zip" "Downloading patch" "http://www.sigmirror.com/files/48812_3gmm0/tr3updateXP.zip" fi #unpacking XP patch to temp cd "$WINEPREFIX/drive_c/windows/temp/" unzip "$REPERTOIRE/ressources/tr3updateXP.zip" #installing XP patch POL_SetupWindow_wait_next_signal "Installation of XP patch in progress..." "$TITLE" wine "tr3update.exe" POL_SetupWindow_detect_exit POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_SetupWindow_Close exit Tomb Raider III The Lost Artefact Icon for the game: #!/bin/bash # Date : (2009-12-22 21-00) # Last revision : (2009-12-22 21-00) # Wine version used : Fedora 12 # Distribution used to test : 1.1.35 # Author : NSLW # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Tomb Raider III The Lost Artefact" PREFIX="TRIII" WORKINGWINEVERSION="1.1.35" POL_SetupWindow_make_icon_for_shortcut() { convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1" } #procedure for patching TombRaider III patch_trIII() { POL_SetupWindow_browse "Select patch file" "$TITLE" "" POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" wine "$APP_ANSWER" POL_SetupWindow_detect_exit POL_SetupWindow_message "Patch for $TITLE has been installed successfully" "$TITLE" } wget http://upload.wikimedia.org/wikipedia/en/a/a7/TombRaiderLostArtifact.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" "www.eidos.com" "NSLW" "$PREFIX" POL_SetupWindow_install_wine "$WORKINGWINEVERSION" Use_WineVersion "$WORKINGWINEVERSION" select_prefix "$REPERTOIRE/wineprefix/$PREFIX" #asking about patching or updating Wine version if [ -e "$REPERTOIRE/configurations/installed/$TITLE" ]; then POL_SetupWindow_menu "What do you want to do?" "Actions" "Patch game" "~" if [ "$APP_ANSWER" == "Patch game" ]; then patch_trIII POL_SetupWindow_Close exit fi fi POL_SetupWindow_message "Please insert $TITLE media into your disk drive." POL_SetupWindow_cdrom cd "$CDROM" CHECK=$(find . -iwholename ./tr3gold.exe) if [ "$CHECK" == "" ]; then CHECK="tr3gold.exe" fi POL_SetupWindow_check_cdrom "$CHECK" if [ ! -d "$REPERTOIRE/wineprefix/$PREFIX" ]; then POL_SetupWindow_prefixcreate fi #fetching PROGRAMFILES environmental variable PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` PROGRAMFILES=${PROGRAMFILES:3} #adding CD-ROM as drive e: to winecfg cd "$WINEPREFIX/dosdevices" ln -s "$CDROM" e: cd "$WINEPREFIX/drive_c/windows/temp/" echo "[HKEY_LOCAL_MACHINE\\\\Software\\\\Wine\\\\Drives]" > cdrom.reg echo "\\"e:\\"=\\"cdrom\\"" >> cdrom.reg regedit cdrom.reg sleep 5 POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" cd "$CDROM" wine "Setup.exe" POL_SetupWindow_detect_exit POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider - The Lost Artifact" "tr3gold.exe" "" "$TITLE" "" "" POL_SetupWindow_make_icon_for_shortcut "$TITLE" "*_tr3gold.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider - The Lost Artifact" "tr3gold.exe" "" "Setup $TITLE" "" "setup" POL_SetupWindow_make_icon_for_shortcut "Setup $TITLE" "*_tr3gold.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "Setup $TITLE" cd "$REPERTOIRE/ressources" #downloading XP patch if [ ! -e "trlaupdateXP.zip" ]; then POL_SetupWindow_download "PlayOnLinux is downloading trlaupdateXP.zip" "Downloading patch" "http://www.sigmirror.com/files/48813_gyoca/trlaupdateXP.zip" fi #unpacking XP patch to temp cd "$WINEPREFIX/drive_c/windows/temp/" unzip "$REPERTOIRE/ressources/trlaupdateXP.zip" #installing XP patch POL_SetupWindow_wait_next_signal "Installation of XP patch in progress..." "$TITLE" wine "trlaupdate.exe" POL_SetupWindow_detect_exit POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_SetupWindow_Close exit Tomb Raider Chronicles Icon for the game: #!/bin/bash # Date : (2009-12-22 21-00) # Last revision : (2009-12-22 21-00) # Wine version used : Fedora 12 # Distribution used to test : 1.1.35 # Author : NSLW # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Tomb Raider Chronicles" PREFIX="TRV" WORKINGWINEVERSION="1.1.35" POL_SetupWindow_make_icon_for_shortcut() { convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1" } #procedure for patching TombRaider V patch_trV() { POL_SetupWindow_browse "Select patch file" "$TITLE" "" POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" wine "$APP_ANSWER" POL_SetupWindow_detect_exit POL_SetupWindow_message "Patch for $TITLE has been installed successfully" "$TITLE" } wget http://upload.wikimedia.org/wikipedia/en/5/5f/TombRaiderChronicles.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" "www.eidos.com" "NSLW" "$PREFIX" POL_SetupWindow_install_wine "$WORKINGWINEVERSION" Use_WineVersion "$WORKINGWINEVERSION" select_prefix "$REPERTOIRE/wineprefix/$PREFIX" #asking about patching or updating Wine version if [ -e "$REPERTOIRE/configurations/installed/$TITLE" ]; then POL_SetupWindow_menu "What do you want to do?" "Actions" "Patch game" "~" if [ "$APP_ANSWER" == "Patch game" ]; then patch_trV POL_SetupWindow_Close exit fi fi POL_SetupWindow_message "Please insert $TITLE media into your disk drive." POL_SetupWindow_cdrom cd "$CDROM" CHECK=$(find . -iwholename ./PCTomb5.exe) if [ "$CHECK" == "" ]; then CHECK="PCTomb5.exe" fi POL_SetupWindow_prefixcreate #fetching PROGRAMFILES environmental variable PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` PROGRAMFILES=${PROGRAMFILES:3} #adding CD-ROM as drive e: to winecfg cd "$WINEPREFIX/dosdevices" ln -s "$CDROM" e: cd "$WINEPREFIX/drive_c/windows/temp/" echo "[HKEY_LOCAL_MACHINE\\\\Software\\\\Wine\\\\Drives]" > cdrom.reg echo "\\"e:\\"=\\"cdrom\\"" >> cdrom.reg regedit cdrom.reg sleep 5 POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" cd "$CDROM" wine "Setup.exe" POL_SetupWindow_detect_exit POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider Chronicles" "PCTomb5.exe" "" "$TITLE" "" "" POL_SetupWindow_make_icon_for_shortcut "$TITLE" "*_pctomb5.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Core Design/Tomb Raider Chronicles" "PCTomb5.exe" "" "Setup $TITLE" "" "setup" POL_SetupWindow_make_icon_for_shortcut "Setup $TITLE" "*_pctomb5.0.xpm" Set_WineVersion_Assign "$WORKINGWINEVERSION" "Setup $TITLE" cd "$REPERTOIRE/ressources" #downloading XP patch if [ ! -e "tr5updateXP.zip" ]; then POL_SetupWindow_download "PlayOnLinux is downloading tr5updateXP.zip" "Downloading patch" "http://www.sigmirror.com/files/48911_8msrd/tr5updateXP.zip" fi #unpacking XP patch to temp cd "$WINEPREFIX/drive_c/windows/temp/" unzip "$REPERTOIRE/ressources/tr5updateXP.zip" #installing XP patch POL_SetupWindow_wait_next_signal "Installation of XP patch in progress..." "$TITLE" wine "tr5update.exe" POL_SetupWindow_detect_exit POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_SetupWindow_Close exit Tomb Raider The Angel Of Darkness Icon for the game: #!/bin/bash # Date : (2009-12-22 21-00) # Last revision : (2009-12-22 21-00) # Wine version used : Fedora 12 # Distribution used to test : 1.1.35 # Author : NSLW # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Tomb Raider The Angel Of Darkness" PREFIX="TRVI" WORKINGWINEVERSION="1.1.35" POL_SetupWindow_make_icon_for_shortcut() { convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1" } #procedure for patching TombRaider VI patch_trVI() { POL_SetupWindow_browse "Select patch file" "$TITLE" "" POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" wine "$APP_ANSWER" POL_SetupWindow_detect_exit POL_SetupWindow_message "Patch for $TITLE has been installed successfully" "$TITLE" } wget http://upload.wikimedia.org/wikipedia/en/5/5f/TombRaiderChronicles.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" "www.eidos.com" "NSLW" "$PREFIX" POL_SetupWindow_install_wine "$WORKINGWINEVERSION" Use_WineVersion "$WORKINGWINEVERSION" select_prefix "$REPERTOIRE/wineprefix/$PREFIX" #asking about patching or updating Wine version if [ -e "$REPERTOIRE/configurations/installed/$TITLE" ]; then POL_SetupWindow_menu "What do you want to do?" "Actions" "Patch game" "~" if [ "$APP_ANSWER" == "Patch game" ]; then patch_trVI POL_SetupWindow_Close exit fi fi POL_SetupWindow_prefixcreate #fetching PROGRAMFILES environmental variable PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` PROGRAMFILES=${PROGRAMFILES:3} #copying first CD POL_SetupWindow_message "Please insert first CD into your disk drive." POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "Lara Croft Tomb Raider The Angel Of Darkness.msi" cd "$WINEPREFIX/drive_c/windows/temp" mkdir "TRAOD" cd "$WINEPREFIX/drive_c/windows/temp/TRAOD" echo "TRAOD2" >& .windows-label POL_SetupWindow_wait_next_signal "Copying first CD" "$TITLE" cd "$CDROM" cp -fr * "$WINEPREFIX/drive_c/windows/temp/TRAOD" chmod 777 "$WINEPREFIX/drive_c/windows/temp/TRAOD" -R POL_SetupWindow_detect_exit #copying second CD POL_SetupWindow_message "Please insert second CD into your disk drive." POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "Release.cab" POL_SetupWindow_wait_next_signal "Copying second CD" "$TITLE" cd "$CDROM" cp -fr * "$WINEPREFIX/drive_c/windows/temp/TRAOD" chmod 777 "$WINEPREFIX/drive_c/windows/temp/TRAOD" -R POL_SetupWindow_detect_exit #adding CD-ROM as drive e: to winecfg cd "$WINEPREFIX/dosdevices" ln -s "$WINEPREFIX/drive_c/windows/temp/TRAOD" e: cd "$WINEPREFIX/drive_c/windows/temp/" echo "[HKEY_LOCAL_MACHINE\\\\Software\\\\Wine\\\\Drives]" > cdrom.reg echo "\\"e:\\"=\\"cdrom\\"" >> cdrom.reg regedit cdrom.reg sleep 5 POL_SetupWindow_message_image "Installation will start now.\\nPlease choose Full installation\\nand disable both DirectX 9.0a and EAX installation checkbox" "Installation tips" "$PLAYONLINUX/themes/tango/info.png" POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE" cd "$WINEPREFIX/drive_c/windows/temp/TRAOD" wine "setup.exe" POL_SetupWindow_detect_exit POL_SetupWindow_wait_next_signal "Copying Data..." "$TITLE" cd "$WINEPREFIX/drive_c/Data" mv -f * "$WINEPREFIX/drive_c/$PROGRAMFILES/Eidos Interactive/TRAOD/data" cd "$WINEPREFIX/drive_c/Data/FMV" mv -f * "$WINEPREFIX/drive_c/$PROGRAMFILES/Eidos Interactive/TRAOD/data/FMV" POL_SetupWindow_detect_exit POL_SetupWindow_wait_next_signal "Cleaning temp directory..." "$TITLE" cd "$WINEPREFIX/drive_c/windows/temp" rm -fr * POL_SetupWindow_detect_exit POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Eidos Interactive/TRAOD" "Launcher.exe" "" "$TITLE" "" "" POL_SetupWindow_make_icon_for_shortcut "$TITLE" "*_launcher.0.png" Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE" cd "$REPERTOIRE/ressources" #downloading patch v42 if [ ! -e "TRAOD_PC_PATCH_V42.exe" ]; then POL_SetupWindow_download "PlayOnLinux is downloading TRAOD_PC_PATCH_V42.exe" "Downloading patch" "http://ftp.eidos.co.uk/pub/uk//tomb_raider_AOD/patch/TRAOD_PC_PATCH_V42.exe" fi #downloading patch v52 if [ ! -e "TRAOD_V52_Patch.exe" ]; then POL_SetupWindow_download "PlayOnLinux is downloading TRAOD_V52_Patch.exe" "Downloading patch" "http://ftp.eidos.co.uk/pub/uk//tomb_raider_AOD/patch/TRAOD_V52_Patch.exe" fi POL_SetupWindow_wait_next_signal "Installation of v42 patch in progress..." "$TITLE" wine "TRAOD_PC_PATCH_V42.exe" POL_SetupWindow_detect_exit POL_SetupWindow_wait_next_signal "Installation of v52 patch in progress..." "$TITLE" wine "TRAOD_V52_Patch.exe" POL_SetupWindow_detect_exit POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_SetupWindow_message_image "The movies won't be played due to deficiencies in Wine.\\nIt'll also cause black screens in game which can stay for long time.\\nTo skip movies and therefore black screens press any key then.\\nTo watch movies from outside of the game go to\\n$WINEPREFIX/drive_c/$PROGRAMFILES/Eidos Interactive/TRAOD/data/FMV" "Skip movie" "$PLAYONLINUX/themes/tango/info.png" POL_SetupWindow_message_image "Please do not enable:\\n-Depth Of Field PS 2.0\\n-nVidia Shadows" "Note about non-working options" "$PLAYONLINUX/themes/tango/warning.png" POL_SetupWindow_Close exit |
chmollo | Tuesday 15 January 2013 at 13:59 |
chmollo
|
Nice that you've done all this work, but do I really need to duplicate all this to play the game?
|
petch | Tuesday 15 January 2013 at 18:13 |
petch
|
From what I can tell all those scripts have since been submitted into the official repository.
My scripts wiki: https://github.com/petchema/playonlinux/wiki GOGmix: https://www.gog.com/en/mix/playonlinux_install_scripts |
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