ru pl es en fr

Applications

Choose a category

Dark Messiah Of Might And Magic

Informations

This script is signed by PlayOnLinux.
	Français :

Le grand sorcier Sar-Elam a exclu les démons du royaume d'Ashan. Pourtant, il y a une façon pour qu'ils puissent échapper à leur prison de feu éternel : le crâne de Sar-Elam lui-même, connu comme le Crâne de Ombres. Une prophétie prédit que le Méssie des Ténèbres, un enfant demi-humain et demi-démon est destiné à brandir le Crâne de Ombres et relâcher les démons. Vous jouez le rôle de Sareth, un apprenti entraîné dès sa naissance pour se préparer à cette lutte épique. Utilisant des technique magiques et guerrières dévastatrices, c'est à vous d'empêcher le Méssie des Ténèbre de réaliser cette prophétie apocalyptique. Pouvez-vous récupérer le crâne perdu depuis si longtemps avant qu'il ne tombe entre de mauvaises mains ?

English:
The great wizard Sar-Elam banished the demons from the realm of Ashan. However, there is one way they can escape their prison of eternal fire: the skull of Sar-Elam himself, known as the Skull of Shadows. A prophecy foretells of the Dark Messiah, a half-human, half-demon child destined to wield to Skull of Shadows and unleash the demons. You must assume the role of Sareth, an apprentice trained from birth to prepare for this epic struggle. Using deadly skills in magic and war, it's up to you to prevent the Dark Messiah from carrying out this fateful prophecy. Can you retrieve the long-lost skull before it falls into the wrong hands?

Source code

#!/bin/bash
# Date : (2010-31-08 13-00)
# Last revision : (2011-08-18 21:03)
# Wine version used : 1.2, 1.2.1, 1.2.3
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

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

TITLE="Dark Messiah of Might and Magic"
PREFIX="DarkMessiah"
WORKING_WINE_VERSION="1.2.3"
GAME_VMS="128"

# Starting the script
rm "$POL_USER_ROOT/tmp/*.jpg"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/top.jpg" "http://files.playonlinux.com/resources/setups/darkmessiah/left.jpg" "$TITLE"
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Arkane Studios" "http://www.mightandmagic.com/fr" "GNU_Raziel" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
fi
POL_Call POL_Install_d3dx9

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "2100"

# Begin game installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.exe"
        POL_Wine start /unix "$CDROM/Disk1/setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/2100
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        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"
fi

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Fix for this game
if [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Wine_OverrideDLL "" "gameoverlayrenderer"
fi

# Sound problem fix - pulseaudio related
POL_Wine_OverrideDLL "" "mmdevapi" # Only if wine < 1.2.4
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix

## PlayOnMac Section
[ "$POL_OS" = "Linux" ] && Set_Managed "On"
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section

# Cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$POL_USER_ROOT/tmp/"
        rm -rf "$POL_USER_ROOT/tmp/*"
fi

# Making shortcut
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "DarkMessiahOfMightAndMagic.xpm" "steam://rungameid/2100"
else
        POL_Shortcut "mm.exe" "$TITLE" "DarkMessiahOfMightAndMagic.xpm" ""
fi

POL_SetupWindow_Close
exit 0

Signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAk5ebysACgkQ5TH6yaoTykfOUwCdFMKcIJP0Pj6rWFVf4CVsN17/
SroAn0qxj/8XGOjk61crRrSDaXmpCxsP
=8Vsc
-----END PGP SIGNATURE-----
	Date : 31 August 2011 19:28:11
Signed by : PlayOnLinux
E-Mail : gpg@playonlinux.com
Comment : PlayOnLinux and PlayOnMac scripting keys
Fingerprint : 45B56114D9EA1640D68135CCE531FAC9AA13CA47

Known install files

Il n'y a rien à voir ici