DescriptionMyst III: Exile is the third title in the Myst series. As in previous games, the player assumes the role of the Stranger, a friend of Atrus. A member of the D'ni race, Atrus can create links to other worlds called Ages by writing descriptive books. In Exile, Atrus has written an Age for the D'ni to live on while rebuilding their civilization; it is stolen, however, by a mysterious figure. The Stranger pursues the thief in an attempt to reclaim Atrus' book.
ImagesScript[code language=playonlinux]
#!/bin/bash
##Informations
# Date : (2012-08-23 09-12)
# Last revision : (2012-08-23 09-12)
# Wine version used : 1.5.11
# Distribution used to test : Ubuntu 12.04 LTS
# Author : tharvik
## Configuration
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Exile"
PREFIX="Exile"
## Script
# Init
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Presto Studios" "http://presto.yune.me/" "tharvik" "$PREFIX"
# Creating Prefix
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.5.11"
Set_OS "win95"
# Add DirectX 9
POL_Call POL_Install_directx9
# Asking the mountpoint and checking the CD
POL_SetupWindow_message "$(eval_gettext "Please insert the game media into your disk drive.")" "$TITLE"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "M3.exe"
POL_SetupWindow_check_cdrom "Data/MACAnodes.m3a"
POL_SetupWindow_check_cdrom "M3Data/COMM/COMM_Transport"
POL_SetupWindow_check_cdrom "M3Data/LEMT/LEMTsfx_KegRoll"
POL_SetupWindow_check_cdrom "M3Data/LI_M/LI_M2_stinger2"
# Copying files (allow to umount disk)
POL_SetupWindow_wait "$(eval_gettext "Coping install files, please wait...")" "$TITLE"
POL_System_TmpCreate "$PREFIX"
cp -r "$CDROM/"* "$POL_System_TmpDir"/
sync
# Installing
POL_SetupWindow_wait "$(eval_gettext "Please wait while $TITLE is installed.")" "$TITLE"
cd "$POL_System_TmpDir"
POL_Wine start /unix "$POL_System_TmpDir/Setup.exe"
POL_Wine_WaitExit
# Add Shortcut
POL_Shortcut "M3.exe" "$TITLE"
# Cleaning
POL_System_TmpDelete
POL_SetupWindow_message "$(eval_gettext "$TITLE has been successfully installed.")" "$TITLE"
POL_SetupWindow_Close
exit
[/code]
Edité par tharvik
tharvik