Forums

[script] Myst Masterpiece Edition

Auteur Réponses
JoRbg Jeudi 12 Aoüt 2010 à 15:18
JoRbgAnonymous

Hello,
this is my first script, it installs Myst(Masterpiece Edition).

The Gameicon:


#!/bin/bash
# Date : (2010-08-11 19-20)
# Last revision : (2010-08-12 14-36)
# Wine version used : 1.1.19
# Distribution used to test : OpenSuse 11.3 (x86_64)
# Author : Johannes Hackel
# Licence : none
# Depend :

[ "$PLAYONLINUX" = "" ] && exit 0

source "$PLAYONLINUX/lib/sources"

TITLE="Myst: Masterpiece Edition"
AUTHOR="Johannes Hackel"
PREFIX="Myst_ME"
PREFIXDIR="$REPERTOIRE/wineprefix/$PREFIX"
WORKINGWINEVERSION="1.1.19"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Cyan Worlds" "http://mystworlds.ubi.com/us/" "$AUTHOR" "$PREFIX"

select_prefix "$PREFIXDIR"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "MYST.DAT"

POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
Use_WineVersion "$WORKINGWINEVERSION"

POL_SetupWindow_prefixcreate

PROGRAMFILES="Program Files" 
POL_LoadVar_PROGRAMFILES

POL_SetupWindow_message "Click Forward to configure Wine." "$TITLE"

POL_SetupWindow_wait_next_signal "Configure Wine..." "Configuration"
Set_OS "win98"
Set_Desktop On 640 480
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
sleep 5
POL_setupWindow_detect_exit

POL_SetupWindow_message "Attention, don't install DirectX 6.1!\\nClick Forward to Install $TITLE and QuickTime." "$TITLE"

POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
wine start /unix "$CDROM/Setup.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_message "Click Forward when $TITLE is installed." "$TITLE"

POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Red Orb/Myst Masterpiece Edition" "Myst.exe" "" "$TITLE"
Set_WineVersion_Assign "1.1.19" "$TITLE"

POL_SetupWindow_message "Click Forward when finished" "$TITLE"

POL_SetupWindow_Close
exit

Edité par JoRbg

Pacjonek Dimanche 15 Aoüt 2010 à 13:41
PacjonekAnonymous

I tested it. All ok. Well done!
ecowan Samedi 24 Novembre 2012 à 22:31
ecowanAnonymous

Is this meant to work only with the GOG version? I tried it with my DVD version, and although the installation seems to run (with some fiddling to force Win95 etc.) it still falls over at run time with missing .dll etc.
Thanks. - Erny
petch Samedi 24 Novembre 2012 à 23:39
petch

LuxrayPlays Lundi 15 Juillet 2013 à 13:35
LuxrayPlaysAnonymous

Does it work with the steam version of Myst: Masterpiece Edition?
Please.
Ronin DUSETTE Lundi 15 Juillet 2013 à 17:38
Ronin DUSETTE

Steam is not supported on this script, but you can file a feature request to have support for steam added to the script in our bug section.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken 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 dmcayonlinux.com