GOG.com - Master of Magic

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 9286
Wine: 1.6.2-dos_support_0.6

Retours d'expérience

Description

English: Strategy game of conquest between wizards, that uses the same engine as the famous Civilization.
(updated for GOG installer v2)

Français : Jeu de conquête entre magiciens, qui utilise le même moteur de jeu que le fameux Civilisation.
(mis à jour pour l'installeur GOG v2)

Code source

#!/bin/bash
# Date : (2012-09-04 21-50)
# Last revision : (2014-03-23 17-55)
# Wine version used : 1.4-dos_support_0.6, 1.6.2-dos_support_0.6
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="master_of_magic"
PREFIX="MasterOfMagic_gog"
WORKING_WINE_VERSION="1.6.2-dos_support_0.6"

TITLE="GOG.com - Master of Magic"
SHORTCUT_NAME="Master of Magic"

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

POL_SetupWindow_presentation "$TITLE" "SimTex / Atari" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "9ea9f54550f36028926db5044ecdac61"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GOG's cpu_cycles=auto (aka 3000) is a bit low
cat <<EOF >> "$WINEPREFIX/playonlinux_dos.cfg"
dosbox_memsize=16
cpu_core=auto
cpu_type=auto
cpu_cycles=5000
mixer_rate=44100
mixer_blocksize=2048
mixer_prebuffer=240
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=7
sblaster_dma=1
sblaster_hdma=5
sblaster_mixer=true
sblaster_oplmode=auto
sblaster_oplrate=22050
render_frameskip=1
sdl_autolock=false
EOF
[ "$POL_OS" = "Linux" ] && echo "render_scaler=hq2x" >> "$WINEPREFIX/playonlinux_dos.cfg"

POL_Shortcut "magic.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Master of Magic/manual.pdf"
# C:\GOG Games\Master Of Magic\README.TXT
# C:\GOG Games\Master Of Magic\spellbook.pdf

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
LightAxe Jeudi 27 Décembre 2018 à 21:16
LightAxe Anonymous

Messages

This is failing to install on my rMBP running OS X with XQuartz installed:

[12/27/18 12:06:20] - ----- Starting function POL_Install_gdiplus -----

[12/27/18 12:06:20] - Running wine-1.6.2-dos_support_0.6 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /Users/rob/Library/PlayOnMac/ressources)

Wine cannot find the FreeType font library.  To enable Wine to

use TrueType fonts please install a version of FreeType greater than

or equal to 2.0.5.

http://www.freetype.org

err:x11drv:process_attach failed to load libX11.6.dylib: dlopen(libX11.6.dylib, 266): image not found

Wine cannot find the FreeType font library.  To enable Wine to

use TrueType fonts please install a version of FreeType greater than

or equal to 2.0.5.

http://www.freetype.org

err:x11drv:process_attach failed to load libX11.6.dylib: dlopen(libX11.6.dylib, 266): image not found

Application tried to create a window, but no driver could be loaded.

Make sure that your X server is running and that $DISPLAY is set correctly.

err:systray:initialize_systray Could not create tray window

Application tried to create a window, but no driver could be loaded.

Make sure that your X server is running and that $DISPLAY is set correctly.

Réponses

Anonymous
Jeudi 27 Décembre 2018 à 22:34
Hum we need to create a new version of wine with dosbox support, that does not use X11 driver

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