Escape From Monkey Island

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 21431
Wine: 3.0.3

Retours d'expérience

Captures d'écran

MiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Jeudi 18 Juin 2020 à 12:49
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

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

Nouveau code source

#!/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

Réponses

Dadu042 Mercredi 29 Janvier 2020 à 23:11
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Anonymous
Jeudi 18 Juin 2020 à 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
 

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 dmca-notice@playonlinux.com