Age of Empires II : The Conquerors : Forgotten Empires
Informations
Creator | Message |
---|---|
fekir
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 0 DescriptionExpansion pack to "Age Of Empires II". Wikipedia. Source code#!/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:
ContributeMember | Message |
Deleted account | Thursday 26 May 2016 at 15:23 |
Deleted account
|
Messagehttps://www.playonlinux.com/de/app-2167-Age_Of_Empires_II__HD.html is availiable for steam. Maybe someone can include this here to? Replies |
rogue-spectre | Monday 23 February 2015 at 22:56 |
rogue-spectre
|
InformationThis update has been approved by the team. 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 New source code#!/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 RepliesMonday 23 February 2015 at 22:57
Monday 23 February 2015 at 22:58
Monday 30 May 2016 at 13:09
Tuesday 13 December 2016 at 20:54
Wednesday 16 May 2018 at 1:31
Thursday 17 May 2018 at 22:54
|
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