Chessmaster: Grandmaster Edition - Patch 1.01

Informations

Creator Message
Justinian Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4306
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.

 

Ubisoft released 2 official patches for the game: Patch 1.01 and Patch 1.02.

 

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-50)
# 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.01"
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 2713
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.01.exe" "dd2346ae560ad2fa3b03704d638f812b"
                INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.01.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:06
petch
Developer

Information

This update has been approved by the team.

Message

Fetch graphic resources

Differences

@@ -11,7 +11,9 @@
 TITLE="Chessmaster: Grandmaster Edition - Patch 1.01"
 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 2713
 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-50)
# 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.01"
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 2713
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.01.exe" "dd2346ae560ad2fa3b03704d638f812b"
                INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.01.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:03
Justinian Anonymous

Warning

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

Differences

@@ -0,0 +1,47 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-06-15 10-21)
+# Last revision : (2016-01-09 08-50)
+# 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.01"
+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.01.exe" "dd2346ae560ad2fa3b03704d638f812b"
+		INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.01.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-50)
# 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.01"
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.01.exe" "dd2346ae560ad2fa3b03704d638f812b"
                INSTALLER="$POL_System_TmpDir/chessmaster_xi_1.01.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