GOG.com - Might and Magic 7

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 11338
Wine: 1.7.11

Feedbacks

Description

English: 7th installment of this classical cRPG.
(updated for GOG installer v2)

Français : 7ème épisode de ce fameux cRPG.
(mis à jour pour l'installeur GOG v2)

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-10-23 19-42)
# Last revision : (2014-07-20 21-39)
# Wine version used : 1.5.8, 1.7.11
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

# Before 1.5.8: unimplemented function msvcp90.dll.??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z 
# 1.5.14-1.7.10: weird resize in windowed mode

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="might_and_magic_7_for_blood_and_honor"
PREFIX="MightAndMagic7_gog"
WORKING_WINE_VERSION="1.7.11"

TITLE="GOG.com - Might and Magic 7"
SHORTCUT_NAME="Might and Magic 7 - For Blood and Honor"

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 1448
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "New World Computing / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "a5372e66e7ee6f5e8c93adadaae373eb"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "2"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "MM7.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Might and Magic VII - For Blood and Honor/MANUAL.PDF"
# C:\GOG Games\Might and Magic VII - For Blood and Honor\Readme.txt
# C:\GOG Games\Might and Magic VII - For Blood and Honor\MAP.PDF
# C:\GOG Games\Might and Magic VII - For Blood and Honor\Reference_card.PDF

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Might and Magic VII - For Blood and Honor/" || exit 1
TITLE="$TITLE"
POL_Wine MM7Setup.exe

exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Message
petch Sunday 20 July 2014 at 21:52
petch

Information

This update has been approved by the team.

Message

Download hash update

Upgrade Wine to version 1.7.11 (#3735)

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2012-10-23 19-42)
-# Last revision : (2013-07-10 13-35)
-# Wine version used : 1.5.8
+# Last revision : (2014-07-20 21-39)
+# Wine version used : 1.5.8, 1.7.11
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
@@ -9,13 +9,14 @@
 # Depend :
 
 # Before 1.5.8: unimplemented function msvcp90.dll.??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z 
+# 1.5.14-1.7.10: weird resize in windowed mode
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="might_and_magic_7_for_blood_and_honor"
 PREFIX="MightAndMagic7_gog"
-WORKING_WINE_VERSION="1.5.8"
+WORKING_WINE_VERSION="1.7.11"
 
 TITLE="GOG.com - Might and Magic 7"
 SHORTCUT_NAME="Might and Magic 7 - For Blood and Honor"
@@ -28,7 +29,7 @@
 
 POL_SetupWindow_presentation "$TITLE" "New World Computing / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
-POL_Call POL_GoG_setup "$GOGID" "4501cf746518a87f3a6268c18964d908"
+POL_Call POL_GoG_setup "$GOGID" "a5372e66e7ee6f5e8c93adadaae373eb"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

New source code

#!/bin/bash
# Date : (2012-10-23 19-42)
# Last revision : (2014-07-20 21-39)
# Wine version used : 1.5.8, 1.7.11
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

# Before 1.5.8: unimplemented function msvcp90.dll.??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z 
# 1.5.14-1.7.10: weird resize in windowed mode

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="might_and_magic_7_for_blood_and_honor"
PREFIX="MightAndMagic7_gog"
WORKING_WINE_VERSION="1.7.11"

TITLE="GOG.com - Might and Magic 7"
SHORTCUT_NAME="Might and Magic 7 - For Blood and Honor"

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 1448
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "New World Computing / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "a5372e66e7ee6f5e8c93adadaae373eb"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "2"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "MM7.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Might and Magic VII - For Blood and Honor/MANUAL.PDF"
# C:\GOG Games\Might and Magic VII - For Blood and Honor\Readme.txt
# C:\GOG Games\Might and Magic VII - For Blood and Honor\MAP.PDF
# C:\GOG Games\Might and Magic VII - For Blood and Honor\Reference_card.PDF

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Might and Magic VII - For Blood and Honor/" || exit 1
TITLE="$TITLE"
POL_Wine MM7Setup.exe

exit 0
_EOF_

exit 0

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