Escape From Monkey Island

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 17258
Wine: 3.0.3

Feedbacks

Screenshots

MiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
 
# CHANGELOG
# [Quentin PÂRIS] (2012-05-17 17:22)
#   Updated to PlayOnLinux v4
# [Dadu042] (2020-01-29 21:00)
#   Wine Linux 1.2.3 -> 3.0.3
#   Improve POL_Shortcut
# [XHK6ceq] (2020-06-18 11:00)
#   Add install from local file.

# CHANGELOG
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Escape From Monkey Island"
PREFIX="Monkey4"
 
if [ "$POL_OS" = "Linux" ]; then
        WINEVERSION="3.0.3"
else
        WINEVERSION="1.2.3-16bits"
fi
 
POL_GetSetupImages
POL_SetupWindow_Init
POL_Debug_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
 
POL_SetupWindow_presentation "$TITLE" "LucasArts" "http://www.lucasarts.com" "Quentin PÂRIS" "$PREFIX"
 
POL_SetupWindow_InstallMethod "CD"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_System_TmpCreate "Monkey4"
 
if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
         
        POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.tab"
 
        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
         
        POL_Wine_WaitBefore "$TITLE" --allow-kill
 
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_Wine_InstallCDROMCustom "$POL_System_TmpDir"
 
        POL_Wine_WaitBefore "$TITLE" --allow-kill
        POL_Wine "$POL_System_TmpDir/Install/Setup.exe"
 
        POL_Wine_reboot
fi
 
POL_System_TmpDelete
POL_Shortcut "Monkey4.exe" "$TITLE" "" "" "Game;AdventureGame;"
POL_Call POL_Function_NoCDWarning
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 18 June 2020 at 12:49
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,71 +1,73 @@
 #!/bin/bash
-
+ 
 # CHANGELOG
 # [Quentin PÂRIS] (2012-05-17 17:22)
 #   Updated to PlayOnLinux v4
 # [Dadu042] (2020-01-29 21:00)
 #   Wine Linux 1.2.3 -> 3.0.3
 #   Improve POL_Shortcut
+# [XHK6ceq] (2020-06-18 11:00)
+#   Add install from local file.
 
 # CHANGELOG
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Escape From Monkey Island"
 PREFIX="Monkey4"
-
+ 
 if [ "$POL_OS" = "Linux" ]; then
-	WINEVERSION="3.0.3"
+        WINEVERSION="3.0.3"
 else
-	WINEVERSION="1.2.3-16bits"
+        WINEVERSION="1.2.3-16bits"
 fi
-
+ 
 POL_GetSetupImages
 POL_SetupWindow_Init
 POL_Debug_Init
 POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
-
+ 
 POL_SetupWindow_presentation "$TITLE" "LucasArts" "http://www.lucasarts.com" "Quentin PÂRIS" "$PREFIX"
-
+ 
 POL_SetupWindow_InstallMethod "CD"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-
+ 
 POL_System_TmpCreate "Monkey4"
-
+ 
 if [ "$INSTALL_METHOD" = "CD" ]; then
-	POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
-	POL_SetupWindow_cdrom 
-	POL_SetupWindow_check_cdrom "Install/Setup.exe"
-	POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
-	chmod -R 777 "$POL_System_TmpDir"
-	POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
-	
-	POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
-	POL_SetupWindow_cdrom
-	POL_SetupWindow_check_cdrom "Install/Setup.tab"
-
-	POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
-	chmod -R 777 "$POL_System_TmpDir"
-	POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
-	
-	POL_Wine_WaitBefore "$TITLE" --allow-kill
-
-	POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
-	POL_SetupWindow_cdrom 
-	POL_SetupWindow_check_cdrom "Install/Setup.exe"
-	POL_Wine_InstallCDROMCustom "$POL_System_TmpDir"
-
-	POL_Wine_WaitBefore "$TITLE" --allow-kill
-	POL_Wine "$POL_System_TmpDir/Install/Setup.exe"
-
-	POL_Wine_reboot
+        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Install/Setup.exe"
+        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
+        chmod -R 777 "$POL_System_TmpDir"
+        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
+         
+        POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Install/Setup.tab"
+ 
+        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
+        chmod -R 777 "$POL_System_TmpDir"
+        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
+         
+        POL_Wine_WaitBefore "$TITLE" --allow-kill
+ 
+        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Install/Setup.exe"
+        POL_Wine_InstallCDROMCustom "$POL_System_TmpDir"
+ 
+        POL_Wine_WaitBefore "$TITLE" --allow-kill
+        POL_Wine "$POL_System_TmpDir/Install/Setup.exe"
+ 
+        POL_Wine_reboot
 fi
-
+ 
 POL_System_TmpDelete
-POL_Shortcut "Monkey4.exe" "$TITLE" "" "" "Game;"
+POL_Shortcut "Monkey4.exe" "$TITLE" "" "" "Game;AdventureGame;"
 POL_Call POL_Function_NoCDWarning
-
+ 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
 
# CHANGELOG
# [Quentin PÂRIS] (2012-05-17 17:22)
#   Updated to PlayOnLinux v4
# [Dadu042] (2020-01-29 21:00)
#   Wine Linux 1.2.3 -> 3.0.3
#   Improve POL_Shortcut
# [XHK6ceq] (2020-06-18 11:00)
#   Add install from local file.

# CHANGELOG
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Escape From Monkey Island"
PREFIX="Monkey4"
 
if [ "$POL_OS" = "Linux" ]; then
        WINEVERSION="3.0.3"
else
        WINEVERSION="1.2.3-16bits"
fi
 
POL_GetSetupImages
POL_SetupWindow_Init
POL_Debug_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
 
POL_SetupWindow_presentation "$TITLE" "LucasArts" "http://www.lucasarts.com" "Quentin PÂRIS" "$PREFIX"
 
POL_SetupWindow_InstallMethod "CD"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_System_TmpCreate "Monkey4"
 
if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
         
        POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.tab"
 
        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
         
        POL_Wine_WaitBefore "$TITLE" --allow-kill
 
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_Wine_InstallCDROMCustom "$POL_System_TmpDir"
 
        POL_Wine_WaitBefore "$TITLE" --allow-kill
        POL_Wine "$POL_System_TmpDir/Install/Setup.exe"
 
        POL_Wine_reboot
fi
 
POL_System_TmpDelete
POL_Shortcut "Monkey4.exe" "$TITLE" "" "" "Game;AdventureGame;"
POL_Call POL_Function_NoCDWarning
 
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Wednesday 29 January 2020 at 23:11
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,7 +1,11 @@
 #!/bin/bash
 
+# CHANGELOG
 # [Quentin PÂRIS] (2012-05-17 17:22)
 #   Updated to PlayOnLinux v4
+# [Dadu042] (2020-01-29 21:00)
+#   Wine Linux 1.2.3 -> 3.0.3
+#   Improve POL_Shortcut
 
 # CHANGELOG
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -11,7 +15,7 @@
 PREFIX="Monkey4"
 
 if [ "$POL_OS" = "Linux" ]; then
-	WINEVERSION="1.2.3"
+	WINEVERSION="3.0.3"
 else
 	WINEVERSION="1.2.3-16bits"
 fi
@@ -60,8 +64,8 @@
 fi
 
 POL_System_TmpDelete
-POL_Shortcut "Monkey4.exe" "$TITLE"
-POL_SetupWindow_message "$(eval_gettext 'You must disable anti-piracy protections of this game\nif you want to play it with wine')" "$TITLE"
+POL_Shortcut "Monkey4.exe" "$TITLE" "" "" "Game;"
+POL_Call POL_Function_NoCDWarning
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash

# CHANGELOG
# [Quentin PÂRIS] (2012-05-17 17:22)
#   Updated to PlayOnLinux v4
# [Dadu042] (2020-01-29 21:00)
#   Wine Linux 1.2.3 -> 3.0.3
#   Improve POL_Shortcut

# CHANGELOG
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Escape From Monkey Island"
PREFIX="Monkey4"

if [ "$POL_OS" = "Linux" ]; then
        WINEVERSION="3.0.3"
else
        WINEVERSION="1.2.3-16bits"
fi

POL_GetSetupImages
POL_SetupWindow_Init
POL_Debug_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"

POL_SetupWindow_presentation "$TITLE" "LucasArts" "http://www.lucasarts.com" "Quentin PÂRIS" "$PREFIX"

POL_SetupWindow_InstallMethod "CD"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_System_TmpCreate "Monkey4"

if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom 
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
        
        POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.tab"

        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
        
        POL_Wine_WaitBefore "$TITLE" --allow-kill

        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom 
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_Wine_InstallCDROMCustom "$POL_System_TmpDir"

        POL_Wine_WaitBefore "$TITLE" --allow-kill
        POL_Wine "$POL_System_TmpDir/Install/Setup.exe"

        POL_Wine_reboot
fi

POL_System_TmpDelete
POL_Shortcut "Monkey4.exe" "$TITLE" "" "" "Game;"
POL_Call POL_Function_NoCDWarning

POL_SetupWindow_Close
exit 0

Replies

Anonymous
Thursday 18 June 2020 at 11:41
I'm not sure of the etiquette here, am I suppose to plagiarize your work or send an update in a reply. Anyway, by adding an else branch (and filling it with code from the Curse of Monkey Island script) I could install the GOG version of this game:

#!/bin/bash
# CHANGELOG
# [Quentin PÂRIS] (2012-05-17 17:22)
#   Updated to PlayOnLinux v4
# [Dadu042] (2020-01-29 21:00)
#   Wine Linux 1.2.3 -> 3.0.3
#   Improve POL_Shortcut
# CHANGELOG
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Escape From Monkey Island"
PREFIX="Monkey4"
if [ "$POL_OS" = "Linux" ]; then
        WINEVERSION="3.0.3"
else
        WINEVERSION="1.2.3-16bits"
fi
POL_GetSetupImages
POL_SetupWindow_Init
POL_Debug_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_presentation "$TITLE" "LucasArts" "http://www.lucasarts.com" "Quentin PÂRIS" "$PREFIX"
POL_SetupWindow_InstallMethod "CD,LOCAL"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "Monkey4"
if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
        
        POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.tab"
        POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2518368"
        chmod -R 777 "$POL_System_TmpDir"
        POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
        
        POL_Wine_WaitBefore "$TITLE" --allow-kill
        POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Install/Setup.exe"
        POL_Wine_InstallCDROMCustom "$POL_System_TmpDir"
        POL_Wine_WaitBefore "$TITLE" --allow-kill
        POL_Wine "$POL_System_TmpDir/Install/Setup.exe"
        POL_Wine_reboot
else
        # Asking then installing from local setup file (e.g. from GOG)
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        POL_Wine_reboot
fi
POL_System_TmpDelete
POL_Shortcut "Monkey4.exe" "$TITLE" "" "" "Game;"
if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_Call POL_Function_NoCDWarning
fi
POL_SetupWindow_Close
exit 0