Age of Empires II : The Conquerors : Forgotten Empires

Informations

Créateur Messages
fekir Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 24322
Wine: System

Retours d'expérience

Description

Expansion pack to "Age Of Empires II". Wikipedia.
Please give a look here: http://www.playonmac.com/en/topic-10888-scripts_Age_of_empires_2.html

Code source

#!/bin/bash
# Date : (2013-08-20 15-22)
# Last revision : (2015-02-23)
# Distribution used to test : Debian Jessie
# Author: Fekir
# Wine version used: 1.6
 
# CHANGELOG
# [SuperPlumus] (2013-09-29 19-22)
#   Update gettext messages
#   Update $TITLE var
# [rogue-spectre] (2015-02-23)
#   Add browse menu to select local zip file
#   Update md5sum
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age of Empires II : The Conquerors : Forgotten Empires"
TITLE_REQUIRED="Age of Empires II : The Conquerors"
PREFIX="AOE2_forg"
WORKING_WINE_VERSION="1.6"
 
POL_SetupWindow_Init
POL_Debug_Init
 
##############################################
# Check if AOE2: The Conquerors is installed #
# and if PlayOnLinux is v 4.1.6+             #
##############################################
POL_RequiredVersion 4.1.6 || POL_Debug_Fatal "This program requires $APPLICATION_TITLE 4.1.6"
if [ "$(POL_Wine_PrefixExists "AOE2_conq")" = "False"  ]; then
    POL_SetupWindow_message "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')" "$TITLE"
    POL_SetupWindow_Close
    exit
fi
 
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/AC2/left.jpg" "$TITLE"
POL_SetupWindow_presentation "$TITLE" "AoFE team" "http://www.forgottenempires.net" "Fekir" "$PREFIX"
 
##################################################
# Prepare prefix for AOE2: Forgotten Empires     #
##################################################
POL_System_TmpCreate "$PREFIX"
# Force Clean of "old" tmp files
POL_System_TmpDelete
POL_System_TmpCreate "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
FULL_INSTALLER="$POL_System_TmpDir/fe_update.zip"

#########################
# Select file           #
#########################
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the archive file to extract.')" "$TITLE" "" "Windows Archive (*.zip)|*.zip;*.ZIP"
    cp "$APP_ANSWER" "$FULL_INSTALLER"
else # DOWNLOAD
    cd "$POL_System_TmpDir"
    DOWNLOAD_URL="http://forgottenempires.net/fe_update.zip"
    DOWNLOAD_MD5="5e0225dbdc0d8d2279a88c24626c3956"
    DOWNLOAD_FILE="$POL_System_TmpDir/fe_update.zip"
    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE archive"
fi

###################
# Install         #
###################
POL_System_CopyDirectory "$POL_USER_ROOT/wineprefix/AOE2_conq" "$WINEPREFIX"
SETUP_OPTIONS=""
# not sure POL_LoadVar_PROGRAMFILES usefull
POL_LoadVar_PROGRAMFILES
cd "$POL_System_TmpDir"
POL_System_unzip "$FULL_INSTALLER"
cp -r "$POL_System_TmpDir/Games" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/"
cp "$POL_System_TmpDir/Age2_x1/age2_x2.exe" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1"
cp "$POL_System_TmpDir/Age2_x1/FixAoFE.exe" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1"
cp "$POL_System_TmpDir/version.txt" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/"
POL_Wine start /unix "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1/FixAoFE.exe" "$SETUP_OPTIONS"
POL_Wine_reboot
 
###################
# Making shortcut #
###################
POL_Shortcut "age2_x2.exe" "$TITLE" "" "-nostartup" "Game;StrategyGame;"
 
################
# Clean & exit #
################
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Deleted account Jeudi 26 Mai 2016 à 15:23
Deleted account Anonymous

Messages

https://www.playonlinux.com/de/app-2167-Age_Of_Empires_II__HD.html is availiable for steam. Maybe someone can include this here to?

Réponses

rogue-spectre Lundi 23 Février 2015 à 22:56
rogue-spectre Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,26 +1,28 @@
 #!/bin/bash
 # Date : (2013-08-20 15-22)
-# Last revision : (2013-09-29 19-22)
+# Last revision : (2015-02-23)
 # Distribution used to test : Debian Jessie
 # Author: Fekir
 # Wine version used: 1.6
-
+ 
 # CHANGELOG
 # [SuperPlumus] (2013-09-29 19-22)
 #   Update gettext messages
 #   Update $TITLE var
-
+# [rogue-spectre] (2015-02-23)
+#   Add browse menu to select local zip file
+#   Update md5sum
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Age of Empires II : The Conquerors : Forgotten Empires"
 TITLE_REQUIRED="Age of Empires II : The Conquerors"
 PREFIX="AOE2_forg"
 WORKING_WINE_VERSION="1.6"
-
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
-
+ 
 ##############################################
 # Check if AOE2: The Conquerors is installed #
 # and if PlayOnLinux is v 4.1.6+             #
@@ -31,40 +33,61 @@
     POL_SetupWindow_Close
     exit
 fi
-
+ 
 #POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/AC2/left.jpg" "$TITLE"
 POL_SetupWindow_presentation "$TITLE" "AoFE team" "http://www.forgottenempires.net" "Fekir" "$PREFIX"
-
+ 
 ##################################################
-# Prepare everything for AOE2: Forgotten Empires #
+# Prepare prefix for AOE2: Forgotten Empires     #
 ##################################################
 POL_System_TmpCreate "$PREFIX"
+# Force Clean of "old" tmp files
+POL_System_TmpDelete
+POL_System_TmpCreate "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_CopyDirectory "$POL_USER_ROOT/wineprefix/AOE2_conq" "$WINEPREFIX"
+FULL_INSTALLER="$POL_System_TmpDir/fe_update.zip"
 
 #########################
-# Select file & install #
+# Select file           #
 #########################
+POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the archive file to extract.')" "$TITLE" "" "Windows Archive (*.zip)|*.zip;*.ZIP"
+    cp "$APP_ANSWER" "$FULL_INSTALLER"
+else # DOWNLOAD
+    cd "$POL_System_TmpDir"
+    DOWNLOAD_URL="http://forgottenempires.net/fe_update.zip"
+    DOWNLOAD_MD5="5e0225dbdc0d8d2279a88c24626c3956"
+    DOWNLOAD_FILE="$POL_System_TmpDir/fe_update.zip"
+    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE archive"
+fi
+
+###################
+# Install         #
+###################
+POL_System_CopyDirectory "$POL_USER_ROOT/wineprefix/AOE2_conq" "$WINEPREFIX"
 SETUP_OPTIONS=""
+# not sure POL_LoadVar_PROGRAMFILES usefull
 POL_LoadVar_PROGRAMFILES
 cd "$POL_System_TmpDir"
-POL_Download "http://forgottenempires.net/fe_update.zip" "a98fc5214b4292bfd588c48ced5b4781"
-POL_System_unzip "fe_update.zip"
+POL_System_unzip "$FULL_INSTALLER"
 cp -r "$POL_System_TmpDir/Games" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/"
 cp "$POL_System_TmpDir/Age2_x1/age2_x2.exe" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1"
 cp "$POL_System_TmpDir/Age2_x1/FixAoFE.exe" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1"
 cp "$POL_System_TmpDir/version.txt" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/"
 POL_Wine start /unix "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1/FixAoFE.exe" "$SETUP_OPTIONS"
 POL_Wine_reboot
-
+ 
 ###################
 # Making shortcut #
 ###################
 POL_Shortcut "age2_x2.exe" "$TITLE" "" "-nostartup" "Game;StrategyGame;"
-
+ 
 ################
 # Clean & exit #
 ################
 POL_System_TmpDelete
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2013-08-20 15-22)
# Last revision : (2015-02-23)
# Distribution used to test : Debian Jessie
# Author: Fekir
# Wine version used: 1.6
 
# CHANGELOG
# [SuperPlumus] (2013-09-29 19-22)
#   Update gettext messages
#   Update $TITLE var
# [rogue-spectre] (2015-02-23)
#   Add browse menu to select local zip file
#   Update md5sum
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age of Empires II : The Conquerors : Forgotten Empires"
TITLE_REQUIRED="Age of Empires II : The Conquerors"
PREFIX="AOE2_forg"
WORKING_WINE_VERSION="1.6"
 
POL_SetupWindow_Init
POL_Debug_Init
 
##############################################
# Check if AOE2: The Conquerors is installed #
# and if PlayOnLinux is v 4.1.6+             #
##############################################
POL_RequiredVersion 4.1.6 || POL_Debug_Fatal "This program requires $APPLICATION_TITLE 4.1.6"
if [ "$(POL_Wine_PrefixExists "AOE2_conq")" = "False"  ]; then
    POL_SetupWindow_message "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')" "$TITLE"
    POL_SetupWindow_Close
    exit
fi
 
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/AC2/left.jpg" "$TITLE"
POL_SetupWindow_presentation "$TITLE" "AoFE team" "http://www.forgottenempires.net" "Fekir" "$PREFIX"
 
##################################################
# Prepare prefix for AOE2: Forgotten Empires     #
##################################################
POL_System_TmpCreate "$PREFIX"
# Force Clean of "old" tmp files
POL_System_TmpDelete
POL_System_TmpCreate "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
FULL_INSTALLER="$POL_System_TmpDir/fe_update.zip"

#########################
# Select file           #
#########################
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the archive file to extract.')" "$TITLE" "" "Windows Archive (*.zip)|*.zip;*.ZIP"
    cp "$APP_ANSWER" "$FULL_INSTALLER"
else # DOWNLOAD
    cd "$POL_System_TmpDir"
    DOWNLOAD_URL="http://forgottenempires.net/fe_update.zip"
    DOWNLOAD_MD5="5e0225dbdc0d8d2279a88c24626c3956"
    DOWNLOAD_FILE="$POL_System_TmpDir/fe_update.zip"
    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE archive"
fi

###################
# Install         #
###################
POL_System_CopyDirectory "$POL_USER_ROOT/wineprefix/AOE2_conq" "$WINEPREFIX"
SETUP_OPTIONS=""
# not sure POL_LoadVar_PROGRAMFILES usefull
POL_LoadVar_PROGRAMFILES
cd "$POL_System_TmpDir"
POL_System_unzip "$FULL_INSTALLER"
cp -r "$POL_System_TmpDir/Games" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/"
cp "$POL_System_TmpDir/Age2_x1/age2_x2.exe" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1"
cp "$POL_System_TmpDir/Age2_x1/FixAoFE.exe" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1"
cp "$POL_System_TmpDir/version.txt" "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/"
POL_Wine start /unix "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Age of Empires II/age2_x1/FixAoFE.exe" "$SETUP_OPTIONS"
POL_Wine_reboot
 
###################
# Making shortcut #
###################
POL_Shortcut "age2_x2.exe" "$TITLE" "" "-nostartup" "Game;StrategyGame;"
 
################
# Clean & exit #
################
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Lundi 23 Février 2015 à 22:57
- Update md5sum since the archive was updated
Anonymous
Lundi 23 Février 2015 à 22:58
-Add possibility to select a local zip
Anonymous
Lundi 30 Mai 2016 à 13:09
Hi rogue,
can you add a possibility to use the version from steam?
https://www.playonlinux.com/de/app-2167-Age_Of_Empires_II__HD.html
Anonymous
Mardi 13 Décembre 2016 à 20:54
I got only black screen with background sound. Is there any fix for that?
Anonymous
Mercredi 16 Mai 2018 à 1:31
I run this script and got no sound, changed the version of wine to 2.9-staging, and now the sound is working.
the difference is the audio driver, when it was on 1.6, sound driver was winealsa.drv, but when chaged to wine's version 2.9, driver changed to winpulse.drv, and now sounds works!!!
Anonymous
Jeudi 17 Mai 2018 à 22:54
Fullscreen wasn't working well for me.
So I sort of Improved it a little bit by making the game windowed, almost borderless and filled the screen with it, these are the steps:

Run FixAoFE.exe in the Forgotten virtual drive
Open POL and select Forgotten
Click Configure
Tab Miscellaneous
Click "Run a .exe ..."
Locate FixAoFE.exe in ~/PlayOnLinux's virtual drives/AOE2_forg/drive_c/Program Files/Microsoft Games/Age of Empires II/age2_x1/FixAoFE.exe
Enable Windowed mode

Open Configure Wine

Open Graphics tab, and select only checkbox #1 and #3:

open the game and choose your desired resolution in options. This resolution will only affect in-game, it won't affect the menu.

I made a more detailed explanation here: https://madacol.blogspot.com.co/2018/05/configuring-age-of-empires-2-forgotten.html

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