You are here

The forum

Myst III : Exile

Author Replies
massimiliano0790 Tuesday 29 March 2011 at 14:03
massimiliano0790Anonymous

Hello... Here is a script of Myst III: Exile tested on my pc running. No problem with the mouse.
#!/bin/bash
# Wine version used : 1.2.2
# Distribution used to test : Kubuntu 10.10
# Arch used to test : 64-Bit
# Author : Maximo90
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Myst III : Exile"
PREFIX="M3E"
WORKINGWINEVERSION="1.2.2"
 
POL_SetupWindow_make_icon_for_shortcut()
{
convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
}
 
#starting the script
wget http://www.walldesk.net/pdp/1024/11/01/Myst 3 Exile/myst-3-exile-02.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
 
POL_SetupWindow_presentation "$TITLE" "UbiSoft" "http://www.myst3.com/it/" "Maximo90" "$PREFIX"
 
#asking for CDROM and checking if it's correct one
POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
POL_SetupWindow_cdrom
cd "$CDROM"
CHECK=$(find . -iwholename ./Setup.exe | cut -d'/' -f2)
POL_SetupWindow_check_cdrom "$CHECK"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
 
#downloading specific Wine
POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
Use_WineVersion "$WORKINGWINEVERSION"
 
#creating application's own prefix
POL_SetupWindow_prefixcreate 
 
#fetching PROGRAMFILES environmental variable
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES

#Installing mandatory dependencies
POL_Call POL_Install_gecko
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_devenum
POL_Call POL_Install_dinput8
POL_Call POL_Install_directplay

#adding CD-ROM as drive D: to winecfg
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
 
#starting installation
POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
wine "$CDROM/$CHECK"
POL_SetupWindow_detect_exit
 
#making shortcut
POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Myst III Exile/bin" "M3.exe" "" "$TITLE"
 
Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE"
POL_SetupWindow_make_icon_for_shortcut "$TITLE"
 
POL_SetupWindow_message "$TITLE has been installed successfully." "$TITLE"
 
POL_SetupWindow_message_image "Please note that this game has a copy protection system\\nand sadly, it prevents Wine from running the game.\\n\\nPlayOnLinux will not provide any help concerning any illegal\\nstuff." "Note about copy protection" "$PLAYONLINUX/themes/tango/warning.png"
 
POL_SetupWindow_Close
exit
GNU_Raziel Tuesday 29 March 2011 at 20:22
GNU_Raziel

This script is not standard, most recent standard is not yet english translated, use google translator to read it (it's in french) Here. It cannot be validated in it's current state, sorry.
massimiliano0790 Friday 10 June 2011 at 21:24
massimiliano0790Anonymous

#!/bin/bash
# Wine version used : 1.2.3
# Distribution used to test : Ubuntu 11.04
# Arch used to test : 64-Bit
# Author : Maximo90
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Myst III : Exile"
PREFIX="M3E"
WORKING_WINE_VERSION="1.2.3"
 
#starting the script
rm "$REPERTOIRE/tmp/*.jpg"
POL_SetupWindow_Init
 
POL_SetupWindow_presentation "$TITLE" "UbiSoft" "http://www.myst3.com/" "Maximo90" "$PREFIX"
 
#asking for CDROM and checking if it's correct one
POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
POL_SetupWindow_cdrom
cd "$CDROM"
CHECK=$(find . -iwholename ./Setup.exe | cut -d'/' -f2)
POL_SetupWindow_check_cdrom "$CHECK"
 
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
 
#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"
 
#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES
 
#Installing mandatory dependencies 
POL_Call POL_Install_gecko
POL_Call POL_Install_tahoma
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx10
POL_Call POL_Install_devenum
POL_Call POL_Install_dinput8
POL_Call POL_Install_directplay
 
#starting installation
POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
wine "$CDROM/$CHECK"
POL_SetupWindow_detect_exit
 
## PlayOnMac Section
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section
 
#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
chmod -R 777 "$REPERTOIRE/tmp/"
rm -rf "$REPERTOIRE/tmp/*"
fi
 
#making shortcut
POL_SetupWindow_auto_shortcut "$PREFIX" "M3.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$TITLE has been installed successfully." "$TITLE"
 
POL_SetupWindow_Close
exit
You are here: Index > > Myst III : Exile

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