Escape From Monkey Island

Informations

Creator Nachricht
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 16636
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

# 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

Contributions

Filters:

Contribute
Member Nachricht
Dadu042 Wednesday 29 January 2020 at 23:11
Dadu042
Moderator

Information

This update has been approved by the team.

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

Antworten