Chessmaster: Grandmaster Edition - Patch 1.02

Informations

Creator Message
Justinian Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 9864
Wine: System

Feedbacks

Description

Notes

Chessmaster: Grandmaster Edition is the final installment of the Chessmaster series, which is the best-selling chess software in history.

 

Further information about the game and the script can be found in the associated forum post:

https://www.playonlinux.com/en/topic-13262-Script_Chessmaster_Grandmaster_Edition.html

 

I have only tested this script on Linux, not on OS X. Therefore, I can neither confirm nor disconfirm that the script works on OS X. As such, I have unticked the "PlayOnMac compatible" box, and ticked the "PlayOnMac testing" box. Please correct me if this is not the right way to do things.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-06-15 10-21)
# Last revision : (2016-01-09 08-55)
# Wine version used : 1.6.2 (amd64)
# Distribution used to test : Linux Mint 17.2 KDE 64-bit
# Author : Justinian
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE_REQUIRED="Chessmaster: Grandmaster Edition"
TITLE="Chessmaster: Grandmaster Edition - Patch 1.02"
PREFIX="ChessmasterGrandmasterEdition"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft" "http://www.ubi.com/" "Justinian" "$PREFIX"

if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "True" ]
then
        POL_System_TmpCreate "$PREFIX"
        
        POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
        
        if [ "$INSTALL_METHOD" = "LOCAL" ]
        then
                POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
                INSTALLER="$APP_ANSWER"
        elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
        then
                cd "$POL_System_TmpDir"
                POL_Download "http://patches.ubi.com/chessmaster_xi/chessmaster_xi_1.02.exe" "1e66273ad3b5f4eabb90055b8e7a3cd4"
                INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.02.exe"
        fi
        
        POL_Wine_SelectPrefix "$PREFIX"
        
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$INSTALLER"
        
        POL_System_TmpDelete
else
        POL_Debug_Fatal "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
fi

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
petch Monday 18 January 2016 at 21:09
petch

Warning

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

Message

Fetch graphic resources

Differences

@@ -11,7 +11,9 @@
 TITLE="Chessmaster: Grandmaster Edition - Patch 1.02"
 PREFIX="ChessmasterGrandmasterEdition"
 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 2714
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Ubisoft" "http://www.ubi.com/" "Justinian" "$PREFIX"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-06-15 10-21)
# Last revision : (2016-01-09 08-55)
# Wine version used : 1.6.2 (amd64)
# Distribution used to test : Linux Mint 17.2 KDE 64-bit
# Author : Justinian
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE_REQUIRED="Chessmaster: Grandmaster Edition"
TITLE="Chessmaster: Grandmaster Edition - Patch 1.02"
PREFIX="ChessmasterGrandmasterEdition"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2714
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft" "http://www.ubi.com/" "Justinian" "$PREFIX"

if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "True" ]
then
        POL_System_TmpCreate "$PREFIX"
        
        POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
        
        if [ "$INSTALL_METHOD" = "LOCAL" ]
        then
                POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
                INSTALLER="$APP_ANSWER"
        elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
        then
                cd "$POL_System_TmpDir"
                POL_Download "http://patches.ubi.com/chessmaster_xi/chessmaster_xi_1.02.exe" "1e66273ad3b5f4eabb90055b8e7a3cd4"
                INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.02.exe"
        fi
        
        POL_Wine_SelectPrefix "$PREFIX"
        
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$INSTALLER"
        
        POL_System_TmpDelete
else
        POL_Debug_Fatal "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
fi

POL_SetupWindow_Close
exit

Replies

Justinian Monday 18 January 2016 at 6:13
Justinian Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,47 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-06-15 10-21)
+# Last revision : (2016-01-09 08-55)
+# Wine version used : 1.6.2 (amd64)
+# Distribution used to test : Linux Mint 17.2 KDE 64-bit
+# Author : Justinian
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE_REQUIRED="Chessmaster: Grandmaster Edition"
+TITLE="Chessmaster: Grandmaster Edition - Patch 1.02"
+PREFIX="ChessmasterGrandmasterEdition"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Ubisoft" "http://www.ubi.com/" "Justinian" "$PREFIX"
+
+if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "True" ]
+then
+	POL_System_TmpCreate "$PREFIX"
+	
+	POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+	
+	if [ "$INSTALL_METHOD" = "LOCAL" ]
+	then
+		POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+		INSTALLER="$APP_ANSWER"
+	elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+	then
+		cd "$POL_System_TmpDir"
+		POL_Download "http://patches.ubi.com/chessmaster_xi/chessmaster_xi_1.02.exe" "1e66273ad3b5f4eabb90055b8e7a3cd4"
+		INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.02.exe"
+	fi
+	
+	POL_Wine_SelectPrefix "$PREFIX"
+	
+	POL_Wine_WaitBefore "$TITLE"
+	POL_Wine "$INSTALLER"
+	
+	POL_System_TmpDelete
+else
+	POL_Debug_Fatal "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
+fi
+
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2015-06-15 10-21)
# Last revision : (2016-01-09 08-55)
# Wine version used : 1.6.2 (amd64)
# Distribution used to test : Linux Mint 17.2 KDE 64-bit
# Author : Justinian
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE_REQUIRED="Chessmaster: Grandmaster Edition"
TITLE="Chessmaster: Grandmaster Edition - Patch 1.02"
PREFIX="ChessmasterGrandmasterEdition"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft" "http://www.ubi.com/" "Justinian" "$PREFIX"

if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "True" ]
then
        POL_System_TmpCreate "$PREFIX"
        
        POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
        
        if [ "$INSTALL_METHOD" = "LOCAL" ]
        then
                POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
                INSTALLER="$APP_ANSWER"
        elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
        then
                cd "$POL_System_TmpDir"
                POL_Download "http://patches.ubi.com/chessmaster_xi/chessmaster_xi_1.02.exe" "1e66273ad3b5f4eabb90055b8e7a3cd4"
                INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.02.exe"
        fi
        
        POL_Wine_SelectPrefix "$PREFIX"
        
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "$INSTALLER"
        
        POL_System_TmpDelete
else
        POL_Debug_Fatal "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
fi

POL_SetupWindow_Close
exit

Replies

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