The forum

[Script] Myst IV: Revelation

Author Replies
tharvik Saturday 25 August 2012 at 12:49

Myst IV: Revelation is the fourth title in the Myst series. As in previous games, the player assumes the role of the Stranger, a friend of Atrus. The plot of Revelation ties up loose ends from the original Myst. The player is summoned by Atrus, a man who creates links to other worlds known as Ages by writing special linking books. Almost twenty years earlier, Atrus' two sons nearly destroyed all of his linking books and were imprisoned; Atrus now wishes to see if his sons' imprisonment has reformed them. The player ends up traveling to each brother's prison, in an effort to recover Atrus' daughter Yeesha from the brothers' plot.

Install iconGame IconMiniature

- No icon to game (do not know how to add one in script); there is one on the CD
- Have to launch the game three times to finally work

[code language=playonlinux]

# Date : (2012-08-25 12-14)
# Last revision : (2012-08-25 12-14)
# 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="Myst 4: Revelation"

## Script

# Init
POL_SetupWindow_presentation "$TITLE" "Ubisoft Montreal" "" "tharvik" "$PREFIX"

# Creating Prefix
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.5.11"
Set_OS "winxp"

# Asking the mountpoint and checking the CD
POL_SetupWindow_message "$(eval_gettext "Please insert the game media into your disk drive.")" "$TITLE"
POL_SetupWindow_check_cdrom "win32/autorun/MystIV.exe"
POL_SetupWindow_check_cdrom "win32/bin/m4_base_rd.dll"
POL_SetupWindow_check_cdrom "win32/bin/Myst4_Game_2.ico"
POL_SetupWindow_check_cdrom "win32/bin/configurator/myst_detection.exe"
POL_SetupWindow_check_cdrom "win32/bin/updatelauncher/mystupdate.exe"

# Installing
POL_SetupWindow_wait "$(eval_gettext "Please wait while $TITLE is installed.")" "$TITLE"
POL_Wine start /unix "$CDROM/setup.exe"

# Add DirectX 9
POL_Call POL_Install_d3dx11

# Add Shortcut
POL_Shortcut "Myst4.exe" "$TITLE"

# Cleaning
POL_SetupWindow_message "$(eval_gettext "$TITLE has been successfully installed.\\n\\nYou may have to start the game three times in order to work (only the first launch).")" "$TITLE"

Edited by tharvik