JoRbg |
Donderdag 12 Augustus 2010 om 15:18
|
JoRbg
|
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 Aangepast door JoRbg
|
Pacjonek |
Zondag 15 Augustus 2010 om 13:41
|
Pacjonek
|
I tested it. All ok. Well done!
|
ecowan |
Zaterdag 24 November 2012 om 22:31
|
ecowan
|
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 |
Zaterdag 24 November 2012 om 23:39
|
petch
|
It's definitely not a GOG script
|
LuxrayPlays |
Maandag 15 Juli 2013 om 13:35
|
LuxrayPlays
|
Does it work with the steam version of Myst: Masterpiece Edition? Please.
|
Ronin DUSETTE |
Maandag 15 Juli 2013 om 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.
|