Emperor: Rise of the Middle Kingdom

Informations

Creator Meddelanden
Toumeno

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 10370
Wine: System

Feedbacks

Description

City Building game, 2002. Website.

Source code

#!/bin/bash
#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Charger les librairies
source "$PLAYONLINUX/lib/sources"

#Verifier les dépendences
cfg_check


if [ "$POL_LANG" == "fr" ]
then

LNG_NAME="Empereur : L'Empire du Milieu"
LNG_FOLDER="Sierra/Empereur/"
LNG_WAIT="Installation en cours..."
LNG_SETTINGS="Au cours d'une partie, n'oubliez pas de cliquer sur Options=>Affichage,\net de régler la résolution à 1024x768 (maximum)."
else
LNG_NAME="Emperor : Rise of the Middle Kingdom"
LNG_FOLDER="Sierra/Emperor/"
LNG_WAIT="Installing..."
LNG_SETTINGS="During a game, don't forget to click on Options=>Display,\nand set the resolution on 1024x768 (maximum)."

fi

wget http://upload.wikimedia.org/wikipedia/en/thumb/3/32/EmperorBoxshot.jpg/250px-EmperorBoxshot.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"

POL_SetupWindow_presentation "$LNG_NAME" "Sierra" "http://emperor.sierra.com/" "Toumeno" "Emperor"

#Préparation de Wine

mkdir -p $REPERTOIRE/wineprefix/Emperor
select_prefixe "$REPERTOIRE/wineprefix/Emperor"
POL_SetupWindow_prefixcreate
Set_OS winxp

#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"
Set_WineVersion_Session 1.1.0

#Lancement de l'installeur

cd "$CDROM"
POL_SetupWindow_wait_next_signal "$LNG_WAIT" ""
wine Setup.exe
POL_SetupWindow_detect_exit

POL_SetupWindow_make_shortcut "Emperor" "$LNG_FOLDER" "Emperor.exe" "emperor.xpm" "$LNG_NAME"
Set_WineVersion_Assign "1.1.0" "$LNG_NAME" 

#Fin du code du jeu

POL_SetupWindow_reboot

POL_SetupWindow_message "$LNG_SETTINGS"

POL_SetupWindow_Close

exit 

Contributions

Filters:

Contribute
Member Meddelanden
xlours Tuesday 2 January 2018 at 14:24
xlours Anonymous

Meddelanden

Bonjour,

une simple installation (Installer un programme non listé) en choisissant le wine 2.20 (sur mon UBUNTU 16.04, 32bit), windows XP et POL_Install_d3dx9 m'a permis de jouer sans problème.

cordialement

Svar