The forum

[Script] Myst III: Exile

Author Replies
tharvik Thursday 23 August 2012 at 10:06
tharvikAnonymous
Developer

Description
Myst 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.

Images
Install iconGame IconMiniature

Script
[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]

Edited by tharvik


tharvik
kemuel Thursday 22 November 2012 at 7:29
kemuelAnonymous

This script is not working for my multilingual Myst III DVD.

The file M3.exe is not located in the root folder on the dvd but rather in Language/M3.exe e.g PathToDVD/English/M3.exe

So this script fails wit a CD Rom not found..
reytylert Monday 14 October 2013 at 15:12
reytylertAnonymous

The path as listed in the script doesn't work for the M3.exe on the multilingual DVD. As such, the script is broken.

However, there is also a Setup.exe file that might be of use in the primary folder.