Age Of Empires II - HD

Informations

Creator Message
Quentin PÂRIS Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 216067
Wine: 3.0.3

Feedbacks

Description

Age of Empires II HD is a remake of Age of Empires II that was released for PC through Steam on April 9, 2013. The game was developed by Hidden Path Entertainment and Ensemble Studios and was published by Microsoft Game Studios.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2014-07-14 17-00)
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com

#
# CHANGELOG
# [Quentin PARIS] (2014-07-14 17-00)
#   Initial script (Wine 1.7.21).
# [Dadu042] (2020-03-22 12:30).
#   Wine 2.12-staging (outdated) -> 3.0.3
#   POL_Shortcut improved.
#   POL_RequiredVersion added (currently useless).

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"
  
POL_SetupWindow_Init
POL_SetupWindow_SetID 2167
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
 
  
POL_Call POL_Install_vcrun2012
POL_SetupWindow_InstallMethod STEAM
 
POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
  
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
if [ "$INSTALL_METHOD" = "STEAM" ]; then
    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"
 
    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"
 
fi
 
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
     
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
     
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup" "Game;"
fi
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 22 March 2020 at 16:41
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,66 +1,75 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2014-07-14 17-00)
-# UPDATED: Wine version used : 2.12-staging
 # Distribution used to test : Mac OS
 # Author : Quentin PARIS
 # Only For : http://www.playonlinux.com
-  
+
+#
+# CHANGELOG
+# [Quentin PARIS] (2014-07-14 17-00)
+#   Initial script (Wine 1.7.21).
+# [Dadu042] (2020-03-22 12:30).
+#   Wine 2.12-staging (outdated) -> 3.0.3
+#   POL_Shortcut improved.
+#   POL_RequiredVersion added (currently useless).
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+ 
 TITLE="Age Of Empire II - HD"
 PREFIX="AOE2HD"
 STEAM_ID="221380"
 EDITOR="Microsoft"
 AUTHOR="Quentin PARIS"
-WORKING_WINE_VERSION="2.12-staging"
+WORKING_WINE_VERSION="3.0.3"
 GAME_VMS="512"
- 
+  
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2167
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
+
+POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+  
  
-
- 
+  
 POL_Call POL_Install_vcrun2012
 POL_SetupWindow_InstallMethod STEAM
-
+ 
 POL_Wine_SetVideoDriver
 POL_SetupWindow_VMS $GAME_VMS
- 
+  
 POL_Wine_Direct3D "UseGLSL" "enabled"
 POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
 POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
 POL_Wine_OverrideDLL "" "gameoverlayrenderer"
-
+ 
 if [ "$INSTALL_METHOD" = "STEAM" ]; then
-
     POL_Call POL_Install_steam
     POL_Call POL_Install_steam_flags "$STEAM_ID"
     POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"
-
+ 
     POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
     cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
     POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
     POL_Wine_WaitExit "$TITLE"
-
-fi 
-
+ 
+fi
+ 
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
     SETUP_EXE="$APP_ANSWER"
-    
+     
     POL_Wine_WaitBefore "$TITLE"
     POL_Wine "$SETUP_EXE"
     POL_Wine_WaitExit "$TITLE"
-    
-    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
+     
+    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup" "Game;"
 fi
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2014-07-14 17-00)
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com

#
# CHANGELOG
# [Quentin PARIS] (2014-07-14 17-00)
#   Initial script (Wine 1.7.21).
# [Dadu042] (2020-03-22 12:30).
#   Wine 2.12-staging (outdated) -> 3.0.3
#   POL_Shortcut improved.
#   POL_RequiredVersion added (currently useless).

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"
  
POL_SetupWindow_Init
POL_SetupWindow_SetID 2167
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.1.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
 
  
POL_Call POL_Install_vcrun2012
POL_SetupWindow_InstallMethod STEAM
 
POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
  
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
if [ "$INSTALL_METHOD" = "STEAM" ]; then
    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"
 
    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"
 
fi
 
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
     
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
     
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup" "Game;"
fi
POL_SetupWindow_Close
exit

Replies

kired Tuesday 22 October 2019 at 12:49
kired Anonymous

Message

Got it to work, on mac, multiplayer as well, following this guide: https://steamcommunity.com/sharedfiles/filedetails/?id=528356278

Replies

Sunday 22 March 2020 at 16:38
Thanks. Something interesting is that they recommend to override 'dwrite'. Not sure if it's still useful with Wine 3.0.3.

Edited by kired

sgt_rayvax Thursday 29 November 2018 at 22:22
sgt_rayvax Anonymous

Message

Hi, I'm trying to set up Age of Empires 2 : HD Edition Steam edition, and in vain for now.

OS: Linux (Ubuntu 18.04.1 LTS) - 64bit, recently installed.
 
Here is what I tried already :
  1. Steam Linux. Game is not supported by Linux version of Steam --> Uninstall Steam
  2. Attempting Wine emulation of Steam with PlayOnLinux
 
2.1/ With POL I installed Steam et started it directly from the emulated Steam with POL -> Does not work
2.2/ Still with POL, following tutorials on internet, I tried to install AOE2 directly from the game list of POL. The assistant start, the virtual drive mount, then I'm asked which method I want to use : I can only Steam Store version and shortly after this stage, it fails with this error : "Error in POL_Shortcut Binary not found: steam.exe Have you installed the program to the default location?". Does not make sense to me since with 2.2 I have installed steam yet... (same error if I install Linux Steam or POL Steam before trying 2.2.
2.3/ I tried the script but does not work eiter
 

Here are the two logs after 2.2 method. If someone see it through because I really don't and I spent a lot of time now... Every workaround method on internet are usually after the stage where I'm stuck. Thanks :)

 

 
 
 
Log on AOE2HD (Disque virtuel)
 
-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

> lsb_release -a


> wine --version

  wine-2.12 (Staging)

> POL_WINEVERSION

  2.12-staging

> WINEPREFIX

  /home/xav/.PlayOnLinux//wineprefix/AOE2HD

> Distribution

  Ubuntu 18.04.1 LTS

> glxinfo \| grep rendering

  direct rendering: Yes

    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,

    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,

    GL_NV_packed_float_linear, GL_NV_path_rendering,

> glxinfo \| grep renderer

  OpenGL renderer string: GeForce GTX 560 Ti/PCIe/SSE2

> OpenGL libs (Direct rendering testing)

  check_dd_x86 missing, test skipped

  check_dd_amd64 missing, test skipped

[11/29/18 19:23:36] - Running wine-2.12-staging cmd /c echo %ProgramFiles% (Working directory : /usr/share/playonlinux/python)

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

C:\Program Files

[11/29/18 19:23:40] - ----- Starting function POL_Install_vcrun2012 -----

[11/29/18 19:23:42] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/xav/.PlayOnLinux/tmp/vcrun2012)

[11/29/18 19:23:42] - Content of /home/xav/.PlayOnLinux//tmp/override-dll.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]

"*atl110"="native,builtin"

-----------

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

[11/29/18 19:23:43] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/xav/.PlayOnLinux/tmp/vcrun2012)

[11/29/18 19:23:43] - Content of /home/xav/.PlayOnLinux//tmp/override-dll.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]

"*msvcp110"="native,builtin"

-----------

[11/29/18 19:23:43] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/xav/.PlayOnLinux/tmp/vcrun2012)

[11/29/18 19:23:43] - Content of /home/xav/.PlayOnLinux//tmp/override-dll.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]

"*msvcr110"="native,builtin"

-----------

[11/29/18 19:23:43] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/xav/.PlayOnLinux/tmp/vcrun2012)

[11/29/18 19:23:43] - Content of /home/xav/.PlayOnLinux//tmp/override-dll.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]

"*vcomp110"="native,builtin"

-----------

[11/29/18 19:23:44] - ----- Ending function POL_Install_vcrun2012 -----

[11/29/18 19:24:16] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/VGA_ID_fix.reg (Working directory : /usr/share/playonlinux/python)

[11/29/18 19:24:16] - Content of /home/xav/.PlayOnLinux//tmp/VGA_ID_fix.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]

"VideoPCIVendorID"=dword:000010de

"VideoPCIDeviceID"=dword:00001200

"VideoDriver"="nv4_disp.dll"

-----------

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

[11/29/18 19:24:16] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

[11/29/18 19:24:16] - Content of /home/xav/.PlayOnLinux//tmp/regkey.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]

"VideoMemorySize"="1024"

-----------

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

[11/29/18 19:24:16] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

[11/29/18 19:24:16] - Content of /home/xav/.PlayOnLinux//tmp/regkey.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]

"UseGLSL"="enabled"

-----------

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

[11/29/18 19:24:17] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

[11/29/18 19:24:17] - Content of /home/xav/.PlayOnLinux//tmp/regkey.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]

"DirectDrawRenderer"="opengl"

-----------

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

[11/29/18 19:24:17] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

[11/29/18 19:24:17] - Content of /home/xav/.PlayOnLinux//tmp/regkey.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]

"StrictDrawOrdering"="disabled"

-----------

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

[11/29/18 19:24:18] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /usr/share/playonlinux/python)

[11/29/18 19:24:18] - Content of /home/xav/.PlayOnLinux//tmp/override-dll.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]

"*gameoverlayrenderer"=""

-----------

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

[11/29/18 19:24:18] - ----- Starting function POL_Install_steam -----

[11/29/18 19:24:18] - Running wine-2.12-staging cmd /c echo %ProgramFiles% (Working directory : /home/xav/.PlayOnLinux/tmp)

C:\Program Files

[11/29/18 19:24:18] - ----- Starting function POL_Install_corefonts -----

[11/29/18 19:24:18] - ----- Starting function POL_Internal_InstallFonts -----

[11/29/18 19:24:18] - ----- Ending function POL_Internal_InstallFonts -----

[11/29/18 19:24:18] - ----- Ending function POL_Install_corefonts -----

[11/29/18 19:24:18] - ----- Starting function POL_Install_corefonts -----

[11/29/18 19:24:19] - ----- Starting function POL_Internal_InstallFonts -----

[11/29/18 19:24:19] - ----- Ending function POL_Internal_InstallFonts -----

[11/29/18 19:24:19] - ----- Ending function POL_Install_corefonts -----

[11/29/18 19:24:19] - ----- Starting function POL_Function_FontsSmoothRGB -----

[11/29/18 19:24:19] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/fontsaa.reg (Working directory : /home/xav/.PlayOnLinux/tmp)

[11/29/18 19:24:19] - Content of /home/xav/.PlayOnLinux//tmp/fontsaa.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]

"FontSmoothing"="2"

"FontSmoothingType"=dword:00000002

"FontSmoothingGamma"=dword:00000578

"FontSmoothingOrientation"=dword:00000001

-----------

[11/29/18 19:24:19] - ----- Ending function POL_Function_FontsSmoothRGB -----

[11/29/18 19:24:19] - Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/xav/.PlayOnLinux/tmp)

[11/29/18 19:24:19] - Content of /home/xav/.PlayOnLinux//tmp/override-dll.reg

-----------

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]

"*dwrite"=""

-----------

[11/29/18 19:24:19] - ----- Ending function POL_Install_steam -----

[11/29/18 19:24:20] - ----- Starting function POL_Install_steam_flags -----

[11/29/18 19:24:20] - ----- Ending function POL_Install_steam_flags -----

 

Set up script log :

 

9:24:15 - [POL_SetupWindow_icon_menu] Message: icon_menu answer: Utiliser la version Steam Store

11/29/18 19:24:15 - [POL_SetupWindow_InstallMethod] Message: Install method: STEAM

11/29/18 19:24:15 - [POL_Wine_SetVideoDriver] Message: Set wine video driver

11/29/18 19:24:16 - [POL_DetectVideoCards] Message: Gettings GPU informations

11/29/18 19:24:16 - [POL_LoadVar_Device] Message: VendorID : 10de

11/29/18 19:24:16 - [POL_LoadVar_Device] Message: DeviceID : 1200

11/29/18 19:24:16 - [POL_Wine_SetVideoDriver] Message: Detected video driver: nv4_disp.dll

11/29/18 19:24:16 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/VGA_ID_fix.reg (Working directory : /usr/share/playonlinux/python)

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

11/29/18 19:24:16 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:16 - [POL_Wine_Direct3D] Message: Setting wine Direct3D /home/xav/.PlayOnLinux//wineprefix/AOE2HD VideoMemorySize 1024

11/29/18 19:24:16 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

11/29/18 19:24:16 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:16 - [POL_Wine_Direct3D] Message: Setting wine Direct3D /home/xav/.PlayOnLinux//wineprefix/AOE2HD UseGLSL enabled

11/29/18 19:24:16 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

11/29/18 19:24:17 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:17 - [POL_Wine_Direct3D] Message: Setting wine Direct3D /home/xav/.PlayOnLinux//wineprefix/AOE2HD DirectDrawRenderer opengl

11/29/18 19:24:17 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

11/29/18 19:24:17 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:17 - [POL_Wine_Direct3D] Message: Setting wine Direct3D /home/xav/.PlayOnLinux//wineprefix/AOE2HD StrictDrawOrdering disabled

11/29/18 19:24:17 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/regkey.reg (Working directory : /usr/share/playonlinux/python)

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

11/29/18 19:24:17 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:17 - [POL_Wine_OverrideDLL] Message: Overriding DLLs

11/29/18 19:24:18 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /usr/share/playonlinux/python)

fixme:winediag:start_process Wine Staging 2.12 is a testing version containing experimental patches.

fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

err:module:load_builtin_dll failed to load .so lib for builtin L"winebus.sys": libudev.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

err:winedevice:async_create_driver failed to create driver L"WineBus": c0000142

11/29/18 19:24:18 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:18 - [POL_Call] Message: Calling POL_Install_steam

11/29/18 19:24:18 - [POL_Call] Message: ----- Starting function POL_Install_steam -----

11/29/18 19:24:18 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_steam

11/29/18 19:24:18 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key

11/29/18 19:24:18 - [POL_Source] Message: POL GPG : Good signature

11/29/18 19:24:18 - [POL_LoadVar_PROGRAMFILES] Message: Getting Program Files name

11/29/18 19:24:18 - [POL_Wine] Message: Running wine-2.12-staging cmd /c echo %ProgramFiles% (Working directory : /home/xav/.PlayOnLinux/tmp)

C:\Program Files

11/29/18 19:24:18 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:18 - [POL_Call] Message: Calling POL_Install_corefonts

11/29/18 19:24:18 - [POL_Call] Message: ----- Starting function POL_Install_corefonts -----

11/29/18 19:24:18 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_corefonts

11/29/18 19:24:18 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key

11/29/18 19:24:18 - [POL_Source] Message: POL GPG : Good signature

11/29/18 19:24:18 - [POL_Call] Message: Calling POL_Internal_InstallFonts

11/29/18 19:24:18 - [POL_Call] Message: ----- Starting function POL_Internal_InstallFonts -----

11/29/18 19:24:18 - [POL_GPG_auth_script] Message: Checking signature of POL_Internal_InstallFonts

11/29/18 19:24:18 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key

11/29/18 19:24:18 - [POL_Source] Message: POL GPG : Good signature

11/29/18 19:24:18 - [POL_Call] Message: ----- Ending function POL_Internal_InstallFonts -----

11/29/18 19:24:18 - [source] Message: Installing microsoft fonts

11/29/18 19:24:18 - [POL_Call] Message: ----- Ending function POL_Install_corefonts -----

11/29/18 19:24:18 - [POL_Call] Message: Calling POL_Install_corefonts

11/29/18 19:24:18 - [POL_Call] Message: ----- Starting function POL_Install_corefonts -----

11/29/18 19:24:18 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_corefonts

11/29/18 19:24:18 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key

11/29/18 19:24:18 - [POL_Source] Message: POL GPG : Good signature

11/29/18 19:24:18 - [POL_Call] Message: Calling POL_Internal_InstallFonts

11/29/18 19:24:19 - [POL_Call] Message: ----- Starting function POL_Internal_InstallFonts -----

11/29/18 19:24:19 - [POL_GPG_auth_script] Message: Checking signature of POL_Internal_InstallFonts

11/29/18 19:24:19 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key

11/29/18 19:24:19 - [POL_Source] Message: POL GPG : Good signature

11/29/18 19:24:19 - [POL_Call] Message: ----- Ending function POL_Internal_InstallFonts -----

11/29/18 19:24:19 - [source] Message: Installing microsoft fonts

11/29/18 19:24:19 - [POL_Call] Message: ----- Ending function POL_Install_corefonts -----

11/29/18 19:24:19 - [POL_Call] Message: Calling POL_Function_FontsSmoothRGB

11/29/18 19:24:19 - [POL_Call] Message: ----- Starting function POL_Function_FontsSmoothRGB -----

11/29/18 19:24:19 - [POL_GPG_auth_script] Message: Checking signature of POL_Function_FontsSmoothRGB

11/29/18 19:24:19 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key

11/29/18 19:24:19 - [POL_Source] Message: POL GPG : Good signature

11/29/18 19:24:19 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/fontsaa.reg (Working directory : /home/xav/.PlayOnLinux/tmp)

11/29/18 19:24:19 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:19 - [POL_Call] Message: ----- Ending function POL_Function_FontsSmoothRGB -----

11/29/18 19:24:19 - [POL_Wine_OverrideDLL] Message: Overriding DLLs

11/29/18 19:24:19 - [POL_Wine] Message: Running wine-2.12-staging regedit /home/xav/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/xav/.PlayOnLinux/tmp)

11/29/18 19:24:19 - [POL_Wine] Message: Wine return: 0

11/29/18 19:24:19 - [POL_Call] Message: ----- Ending function POL_Install_steam -----

11/29/18 19:24:19 - [POL_Call] Message: Calling POL_Install_steam_flags

11/29/18 19:24:20 - [POL_Call] Message: ----- Starting function POL_Install_steam_flags -----

11/29/18 19:24:20 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_steam_flags

11/29/18 19:24:20 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key

11/29/18 19:24:20 - [POL_Source] Message: POL GPG : Good signature

11/29/18 19:24:20 - [POL_Call] Message: ----- Ending function POL_Install_steam_flags -----

11/29/18 19:24:20 - [POL_Shortcut] Message: Looking for , found <>

11/29/18 19:24:20 - [POL_Shortcut] Error: Binary not found: steam.exe\nHave you installed the program to the default location?

11/29/18 19:27:17 - [POL_Shortcut] Message: Shortcut created:  Age Of Empire II - HD

 

Replies

Anonymous
Saturday 6 April 2019 at 7:26
I had the exact issue, I correct by performing these actions in order

1. Remove the AOE2HD virtual drive completely by opening POL > Configure > clicking on the drive, then remove.

2. Install Steam using POL "Install a Program" on the main POL screen.

3. Once steam is installed, start a new install of AOE 2 HD BUT DO NOT CLICK NEXT WHEN ASKED TO CHOOSE THE STEAM VERSION INSTALL.

4. On your machine open a file manager and go to your Playonlinux's virtual drives folder/Steam/drive_c/Program Files/ and copy the entire Steam folder to Program files under your AOE2HD virtual drive folder.

5. Once copied continue the AOE 2 HD install normally by choosing the steam version install.

Be patient the AOE 2 HD files will download from steam and there will be some steam updates that run as well.  Once download is complete, close steam completely and let the install finish.  Once install is finished, complete the tasks under BYPASS THE LAUNCHER in this doc:

https://pedronveloso.com/how-to-run-age-of-empires-2-hd-on-arch-linux-steam-version/

Once done, launch the game from Playonlinux, should work fine! :)

 
Anonymous
Sunday 22 March 2020 at 11:25
You, you might be the hero of the LockDown.

This worked!

Edited by Dadu042

daviewales Thursday 30 August 2018 at 5:46
daviewales Anonymous

Message

Age of Empires II HD launched for me, but the Multiplayer Server Lobby browser was always empty

To fix :

  • I selected "Configure", then "General", then "Make a new shortcut from this virtual drive".
  • Next, I created a shortcut to "Steam.exe".
  • Then, I launched Steam, instead of "Age of Empires".
  • Next, I right-clicked "Age of Empires" in Steam, and selected "Properties".
  • Then, I selected the "Local Files" tab, and selected "Verify Integrity of Game Files".
  • This caused Steam to download an extremely small update.
  • Finally, I launched Age of Empires, and the Server Lobby was now working!

 

To be clear, the first few steps are in the "PlayOnMac" app (August 2018).

Replies

Edited by Dadu042

Mamsaac Tuesday 3 April 2018 at 8:05
Mamsaac Anonymous

Message

Couldn't get it to run in my computer :(

This is the first time I've used PlayOnLinux, so I might be missing something, however, I get the following error on my log:

 

err:module:import_dll Library DWrite.dll (which is needed by L"C:\\Program Files\\Steam\\bin\\cef\\cef.win7\\libcef.dll") not found
err:module:import_dll Library libcef.dll (which is needed by L"C:\\Program Files\\Steam\\bin\\cef\\cef.win7\\steamwebhelper.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Steam\\bin\\cef\\cef.win7\\steamwebhelper.exe" failed, status c0000135

 

And just hangs on the "Wait while Age of Empires II installs" or something like that, right after the step in which I completely close Steam.

Replies

Anonymous
Monday 28 May 2018 at 17:56
try installing dwrite via winetricks
zottelbeyer Thursday 15 March 2018 at 16:32
zottelbeyer Anonymous

Message

AoE II HD now requires vcrun2015 which is not yet in PoL. To fix it manually do the following:

 

After the first launch I was also stuck at validating subscriptions but it works fine after relaunching.

The game also seems to run fine with wine 3.3 as far as I could tell in my short testing.

Replies

Anonymous
Wednesday 4 April 2018 at 18:40
hey thank you for posting an awnser, though I do not understand the last 4 steps of your instructions. Would you please be so nice and explain what you mean?
senorsmile Friday 12 January 2018 at 8:57
senorsmile Anonymous

Message

Ubuntu 16.04 - Awesome WM

There were a few hiccups but everything is running well.  The first time through the installation, after it has downloaded and you close the steam window, the playonlinux installation seems to freeze.  I cancelled out of it and saw the new entry in the main playonlinux window.  The first time I opened it it seemed stuck at "Validating Subscriptions".  I closed it and reopened and everything works properly now. 

Replies

Epleth Wednesday 19 July 2017 at 20:38
Epleth Anonymous

Message

Portingkit seems to be working. So until playonmac fixes its problems, that is my suggestion:) https://www.reddit.com/r/aoe2/comments/6o0m9k/joining_multiplayer_on_wine/

Replies

Anonymous
Wednesday 26 July 2017 at 11:19
Yeah it worked for me. I initially installed steam on portingkit and I had the same issue as on playonmac. Searching aoe2hd on portingkit and installing it fixed the problem. You don't even have to change aoe2hd.exe to launcher.exe
Epleth Tuesday 18 July 2017 at 13:17
Epleth Anonymous

Message

Still not able to access multiplayer games, or create games others can join.

Replies

Anonymous
Tuesday 18 July 2017 at 14:39
Hi, the bug must be fixed by the people from wine.

Somebody already reported it and its under investigation. See https://bugs.winehq.org/show_bug.cgi?id=43355 for the current status.
Anonymous
Wednesday 23 May 2018 at 2:43
Joining multiplayer games works for me if I configure AoE to run with Wine 3.8. It didn't work with the default (2.12-Staging I think); AoE would start but not join multiplayer games.
DREAK Saturday 15 July 2017 at 19:45
DREAK Anonymous

Message

 

Hey.

I have some problem with my game. Age of empires 2hd.

I had som problem with the Steam that now is fixed becuse I change my wine vesion to the latest update 2. 12- fix 43315.

(Old problem)

When I install everything the steam doesn't start up and it crashed (Debug)

 

(New problem)

I have installed everything and now I have problem with multiplayer game = Online game.

When I want to join a game it just load but nothing else is happening. I had this problem for long time ago and I just change the wine version and it worked. But now when there is only one wine that works I want to know if there is anyway I can fix this. Or do I need to wait until a new version come out?

 

Good for you too know is that I have played this game for a long time and it always works so I have no problem with port forwarding or fairewall or antivirus. 

I haven't change any settings there. I just have this problem becuse the steam update and now I have only one wine version to pick that works.

I also play on Mac, if you need to know.

 

Replies

Anonymous
Sunday 16 July 2017 at 11:36
I have the impression this is a problem that has occurred for most, if not all, PlayOnMac-users since the new Steam update. I myself is struggling with the same issue. Just hope to God that some better suited competent people out there will find a solution and post it here! Because I am getting abstinences very soon! He he :)
Anonymous
Sunday 16 July 2017 at 13:49
What about the the staging version of wine ?
On debian I can play multiplayer games with 2.12-staging without any problems. If it doesn't help than it must be indeed some Mac related issue.
Anonymous
Sunday 16 July 2017 at 17:39
I reallyyy want this to work. Speciell now when i am sooo close.
Anonymous
Sunday 16 July 2017 at 20:22
2.12-staging doesn't work with multiplayer unfortunately. I tried installing directplay too but that also doesn't work.
Anonymous
Monday 17 July 2017 at 19:46
Same problem here. I can see lobbies but can't join.
Hasso Friday 14 July 2017 at 20:19
Hasso Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

I had the same issue with the  last steam update.

Luckely there is already a patch for wine 2.12-staging (see https://www.reddit.com/r/wine_gaming/comments/6mjwkv/steam_crash_710/)  and I can now use steam (and AOE HD ) again!

 

The script above should be fixed by simply exchanging the line

WORKING_WINE_VERSION="1.8-staging"

by

WORKING_WINE_VERSION="2.12-staging"

.

If AOE HD is already installed, one can open the "configure" dialog on the left-hand side of the PlayOnLinux gui and then select the 2.12-staging version for games that need steam.

 

Unfortunately, 2.12 is very new and does not seem to be available in PlayOnLinux, yet. (This is at least true for my installation.) I read somewhere, that adding new versions is just a matter of a few days,  so you might simply wait until its there.

An other option is to download and install the new wine directly. Following the instructions from https://www.winehq.org/download is very easy and I managed to install 2.12-staging within 10 minutes on debian...

Afterwards, you can than select "system" in wine's the configuration dialog in order to use the system-wide wine installation.

This worked fine for me. After finishing the steam update I could start AOE HD and play single player games. Hope the rest works too.

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2014-07-14 17-00)
-# Wine version used : 1.7.21
+# UPDATED: Wine version used : 2.12-staging
 # Distribution used to test : Mac OS
 # Author : Quentin PARIS
 # Only For : http://www.playonlinux.com
@@ -13,7 +13,7 @@
 STEAM_ID="221380"
 EDITOR="Microsoft"
 AUTHOR="Quentin PARIS"
-WORKING_WINE_VERSION="1.8-staging"
+WORKING_WINE_VERSION="2.12-staging"
 GAME_VMS="512"
  
 POL_SetupWindow_Init

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2014-07-14 17-00)
# UPDATED: Wine version used : 2.12-staging
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="2.12-staging"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2167
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 

 
POL_Call POL_Install_vcrun2012
POL_SetupWindow_InstallMethod STEAM

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
 
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

if [ "$INSTALL_METHOD" = "STEAM" ]; then

    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"

    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"

fi 

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
    
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
fi
POL_SetupWindow_Close
exit

Replies

Anonymous
Saturday 15 July 2017 at 15:04
Thanks buddy!
bridgetleanne Thursday 13 July 2017 at 1:18
bridgetleanne Anonymous

Message

Doesn't work with the new update. :( 

Replies

transcend Wednesday 12 July 2017 at 11:50
transcend Anonymous

Message

Latest Steam update breaks the Steam loading and consequently, this game as well.

Replies

Garnachito Wednesday 12 July 2017 at 6:54
Garnachito Anonymous

Message

With the new STEAM update, this doesn't work at all :(

Replies

jsaigon Wednesday 10 May 2017 at 17:32
jsaigon Anonymous

Message

Hello, I have hit download AOE II HD in 2 hours ago but it's still in progress. I have attemped download many times but it still not working for me, the files are not download yet even my Internet network work perfect. Would you please explain it to me or help me solve it? Thank you so much!!

 

 

Replies

sotond Wednesday 10 May 2017 at 8:46
sotond Anonymous

Message

I am wondering if anyone can help me get AOEIIHD installed through steam onto my mac.  I have been trying to run it through wine many times trying many different things but keep failing.  The closest I got to actually starting the game was getting into steam through playonmac but then there were no words on the page only tiny squares in place of letters.  I cannot tell if it is something I am doing or my computer, a 2011 Macbook Pro with El Capitan currently.  I've downloaded and redownloaded and tried so many things that I have trouble finding the steam.exe to select when prompted to browse for a file.  I've tried to follow the online stuff I read on guides to get this done but seem to be slipping up.  Can anyone help me with a step by step process of how they got this to work, not leaving out detail in a way an amateur like myself won't screw up?  Much appreciated thank you ahead of time if anyone can step up.

Replies

Ads20000 Friday 27 January 2017 at 18:11
Ads20000 Anonymous

Message

The program runs well (once you've added .bak to Launcher.exe and AoK HD.exe and copied AoK HD.exe to a new Launcher.exe file - then using a shortcut to the new Launcher.exe to run the game). However, when I updated via Steam, when I tried to join a multiplayer game with Steam friends it said 'The host is not running the same version of the game. Everyone must run the same version of Age of Empires II to play a multiplayer game' despite me having 5.0.1577660 before and after reinstalling (after reinstalling it worked fine).

Replies

Anonymous
Wednesday 23 May 2018 at 2:46
Yes, I had to rename "AoK HD.exe" to launcher.exe too. To join multiplayer games, I had to configure AoE to run on Wine 3.8 [the latest] instead of 2.12-Staging (or whatever the default was). Then it worked great!
Philastan Tuesday 3 January 2017 at 14:35
Philastan Anonymous

Message

Everything works fine, but my game stucks in the loadingscreen right after matchmaking. Any clues? I reinstalled the game and Playonmac several times and the same process works on another mac by me flawless, which is strange. I also installed the bugfix mentioned above.

Replies

Walkman Saturday 31 December 2016 at 20:41
Walkman

Message

(POL built-in bug report wizard doesn't accept my credentials so posting here manually instead)

- What were you doing when the problem occurred?
Clicked "Play" on the steam page for AOE2
- What did you expect?
The game to launch
- What happened instead?
After steam installed the prerequisites, the log showed an error and nothing else happened. The steam status indicator went green for a few seconds then back to blue.
- Anything else to report?
The log error is:

wine: Call from 0x7b83ea52 to unimplemented function api-ms-win-crt-runtime-l1-1-0.dll._initialize_onexit_table, aborting

this exact message is shown every time I start AOE2

Replies

Saturday 31 December 2016 at 21:51
nvm see the link below (https://www.winehq.org/pipermail/wine-bugs/2015-November/428425.html)
Anonymous
Sunday 5 February 2017 at 17:16
Hey, I have the same issue but I don't really understand how to fix it with the link you posted. How does it work? Thanks
Wednesday 3 May 2017 at 15:04
Follow the instructions under "To Test" on the link
Ads20000 Tuesday 27 December 2016 at 19:02
Ads20000 Anonymous

Message

Thanks for the script Quentin! However I had to rename AoK II.EXE to Launcher.exe for the game to load, then launching Launcher.exe directly (as a shortcut) works. Could you rejig the script to do this automatically? I don't know how I would implement this.

Replies

Anonymous
Wednesday 23 May 2018 at 2:45
Yes, I had to do this too.
philipheinser Wednesday 14 December 2016 at 22:05
philipheinser Anonymous

Message

I get this issue after an AoE update yesterday: http://pastebin.com/dztTKebf Does anyone know a quick fix?

Replies

Anonymous
Thursday 15 December 2016 at 0:21
https://www.winehq.org/pipermail/wine-bugs/2015-November/428425.html this fixes the problem
Saturday 31 December 2016 at 21:50
Yess thank you very much! this is what I needed to get it to work
nlflint Wednesday 16 November 2016 at 1:46
nlflint Anonymous

Message

Installation said it failed, but it works anyways. Game runs great.

Text is missing from left side buttons on the initial menu (before entering the game). I had to try the buttons until one started the game.

Running on 2016 rMB w/ MacOS Sierra 

 

 

Replies

ttraj Saturday 7 May 2016 at 17:24
ttraj Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -4,10 +4,10 @@
 # Distribution used to test : Mac OS
 # Author : Quentin PARIS
 # Only For : http://www.playonlinux.com
-  
+   
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+   
 TITLE="Age Of Empire II - HD"
 PREFIX="AOE2HD"
 STEAM_ID="221380"
@@ -16,51 +16,82 @@
 WORKING_WINE_VERSION="1.8-staging"
 GAME_VMS="512"
  
+VBYVERSION="v2.2.4.49"
+VBYMD5="2e583d4bfd0728007bef803468e58f90"
+AOEHDPMD5="857412dbdda48510ed41c74226a6f487"
+  
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2167
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
+  
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+  
  
-
- 
+  
 POL_Call POL_Install_vcrun2012
 POL_SetupWindow_InstallMethod STEAM
-
+ 
 POL_Wine_SetVideoDriver
 POL_SetupWindow_VMS $GAME_VMS
- 
+  
 POL_Wine_Direct3D "UseGLSL" "enabled"
 POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
 POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
 POL_Wine_OverrideDLL "" "gameoverlayrenderer"
-
+ 
 if [ "$INSTALL_METHOD" = "STEAM" ]; then
-
+ 
     POL_Call POL_Install_steam
     POL_Call POL_Install_steam_flags "$STEAM_ID"
     POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"
-
+ 
     POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
     cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
     POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
     POL_Wine_WaitExit "$TITLE"
-
-fi 
-
+ 
+fi
+ 
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     cd "$HOME"
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
     SETUP_EXE="$APP_ANSWER"
-    
+     
     POL_Wine_WaitBefore "$TITLE"
     POL_Wine "$SETUP_EXE"
     POL_Wine_WaitExit "$TITLE"
-    
+     
     POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
 fi
+ 
+POL_SetupWindow_menu "Install Voobly" "Do you want to play in voobly also?" "Yes No" " "
+if [ "$APP_ANSWER" = "Yes" ]
+then
+   POL_System_TmpCreate "$PREFIX"
+   cd "$POL_System_TmpDir"
+   POL_SetupWindow_message "details http://aoccs.net/" "Instllaing AOE2HD patch"
+   POL_Download "http://www.aoccs.net/aochd/aochdcompat-v4.exe" "$AOEHDPMD5"
+   INSTALLER="$POL_System_TmpDir/aochdcompat-v4.exe"
+     
+   POL_Wine_WaitBefore "AOE2HD Compatablity"
+   POL_Wine "$INSTALLER"
+    
+   POL_SetupWindow_message "Instllaing Voobly" "Voobly"
+   POL_Download "http://www.voobly.com/updates/voobly-$VBYVERSION.exe" "$VBYMD5"
+   INSTALLER="$POL_System_TmpDir/voobly-$VBYVERSION.exe"   
+     
+   POL_Wine_WaitBefore "Voobly"
+   POL_Wine "$INSTALLER"
+   POL_Shortcut "voobly.exe" "Voobly" ""
+   POL_Shortcut_InsertBeforeWine "Voobly" "export STAGING_WRITECOPY=1"
+    
+   POL_SetupWindow_message "Instllaing directplay and dotnet" "Support"
+   POL_Call POL_Install_Directplay
+   POL_Call POL_Install_dotnet40  
+fi
+[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2014-07-14 17-00)
# Wine version used : 1.7.21
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com
   
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="1.8-staging"
GAME_VMS="512"
 
VBYVERSION="v2.2.4.49"
VBYMD5="2e583d4bfd0728007bef803468e58f90"
AOEHDPMD5="857412dbdda48510ed41c74226a6f487"
  
POL_SetupWindow_Init
POL_SetupWindow_SetID 2167
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
 
  
POL_Call POL_Install_vcrun2012
POL_SetupWindow_InstallMethod STEAM
 
POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
  
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
if [ "$INSTALL_METHOD" = "STEAM" ]; then
 
    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"
 
    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"
 
fi
 
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
     
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
     
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
fi
 
POL_SetupWindow_menu "Install Voobly" "Do you want to play in voobly also?" "Yes No" " "
if [ "$APP_ANSWER" = "Yes" ]
then
   POL_System_TmpCreate "$PREFIX"
   cd "$POL_System_TmpDir"
   POL_SetupWindow_message "details http://aoccs.net/" "Instllaing AOE2HD patch"
   POL_Download "http://www.aoccs.net/aochd/aochdcompat-v4.exe" "$AOEHDPMD5"
   INSTALLER="$POL_System_TmpDir/aochdcompat-v4.exe"
     
   POL_Wine_WaitBefore "AOE2HD Compatablity"
   POL_Wine "$INSTALLER"
    
   POL_SetupWindow_message "Instllaing Voobly" "Voobly"
   POL_Download "http://www.voobly.com/updates/voobly-$VBYVERSION.exe" "$VBYMD5"
   INSTALLER="$POL_System_TmpDir/voobly-$VBYVERSION.exe"   
     
   POL_Wine_WaitBefore "Voobly"
   POL_Wine "$INSTALLER"
   POL_Shortcut "voobly.exe" "Voobly" ""
   POL_Shortcut_InsertBeforeWine "Voobly" "export STAGING_WRITECOPY=1"
    
   POL_SetupWindow_message "Instllaing directplay and dotnet" "Support"
   POL_Call POL_Install_Directplay
   POL_Call POL_Install_dotnet40  
fi
[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

ttraj Friday 6 May 2016 at 16:20
ttraj Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -15,6 +15,10 @@
 AUTHOR="Quentin PARIS"
 WORKING_WINE_VERSION="1.8-staging"
 GAME_VMS="512"
+
+VBYVERSION="v2.2.4.49"
+VBYMD5="2e583d4bfd0728007bef803468e58f90"
+AOEHDPMD5="857412dbdda48510ed41c74226a6f487"
  
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2167
@@ -62,5 +66,31 @@
     
     POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
 fi
+
+POL_SetupWindow_menu "Install Voobly" "Do you want to play in voobly also?" "Yes No" " "
+if [ "$APP_ANSWER" = "Yes" ]
+then
+   POL_System_TmpCreate "$PREFIX"
+   cd "$POL_System_TmpDir"
+   POL_SetupWindow_message "details http://aoccs.net/" "Instllaing AOE2HD patch" 
+   POL_Download "http://www.aoccs.net/aochd/aochdcompat-v4.exe" "$AOEHDPMD5"
+   INSTALLER="$POL_System_TmpDir/aochdcompat-v4.exe"
+    
+   POL_Wine_WaitBefore "AOE2HD Compatablity"
+   POL_Wine "$INSTALLER"
+   
+   POL_SetupWindow_message "Instllaing Voobly" "Voobly"
+   POL_Download "http://www.voobly.com/updates/voobly-$VBYVERSION.exe" "$VBYMD5"
+   INSTALLER="$POL_System_TmpDir/voobly-$VBYVERSION.exe"    
+    
+   POL_Wine_WaitBefore "Voobly"
+   POL_Wine "$INSTALLER"
+   POL_Shortcut "voobly.exe" "Voobly" ""
+   
+   POL_SetupWindow_message "Instllaing directplay and dotnet" "Support"
+   POL_Call POL_Install_Directplay
+   POL_Call POL_Install_dotnet40   
+fi 
+[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2014-07-14 17-00)
# Wine version used : 1.7.21
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="1.8-staging"
GAME_VMS="512"

VBYVERSION="v2.2.4.49"
VBYMD5="2e583d4bfd0728007bef803468e58f90"
AOEHDPMD5="857412dbdda48510ed41c74226a6f487"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2167
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 

 
POL_Call POL_Install_vcrun2012
POL_SetupWindow_InstallMethod STEAM

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
 
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

if [ "$INSTALL_METHOD" = "STEAM" ]; then

    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"

    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"

fi 

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
    
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
fi

POL_SetupWindow_menu "Install Voobly" "Do you want to play in voobly also?" "Yes No" " "
if [ "$APP_ANSWER" = "Yes" ]
then
   POL_System_TmpCreate "$PREFIX"
   cd "$POL_System_TmpDir"
   POL_SetupWindow_message "details http://aoccs.net/" "Instllaing AOE2HD patch" 
   POL_Download "http://www.aoccs.net/aochd/aochdcompat-v4.exe" "$AOEHDPMD5"
   INSTALLER="$POL_System_TmpDir/aochdcompat-v4.exe"
    
   POL_Wine_WaitBefore "AOE2HD Compatablity"
   POL_Wine "$INSTALLER"
   
   POL_SetupWindow_message "Instllaing Voobly" "Voobly"
   POL_Download "http://www.voobly.com/updates/voobly-$VBYVERSION.exe" "$VBYMD5"
   INSTALLER="$POL_System_TmpDir/voobly-$VBYVERSION.exe"    
    
   POL_Wine_WaitBefore "Voobly"
   POL_Wine "$INSTALLER"
   POL_Shortcut "voobly.exe" "Voobly" ""
   
   POL_SetupWindow_message "Instllaing directplay and dotnet" "Support"
   POL_Call POL_Install_Directplay
   POL_Call POL_Install_dotnet40   
fi 
[ "$$POL_System_TmpDir" ] && POL_System_TmpDelete
POL_SetupWindow_Close
exit

Replies

Anonymous
Friday 6 May 2016 at 16:24
If your game not started in voobly lobby.try following
Anonymous
Friday 6 May 2016 at 16:25
in terminal
export STAGING_WRITECOPY=1
playonlinux
Anonymous
Friday 6 May 2016 at 16:35
This update helps to play on Steam and voobly. I tried with 4.4.8-1-MANJARO linux
petch Monday 25 January 2016 at 6:35
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Fix vcrun2012 install call

Differences

@@ -27,7 +27,7 @@
  
 
  
-POL_Call POL_Install vcrun2012
+POL_Call POL_Install_vcrun2012
 POL_SetupWindow_InstallMethod STEAM
 
 POL_Wine_SetVideoDriver

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2014-07-14 17-00)
# Wine version used : 1.7.21
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="1.8-staging"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2167
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 

 
POL_Call POL_Install_vcrun2012
POL_SetupWindow_InstallMethod STEAM

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
 
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

if [ "$INSTALL_METHOD" = "STEAM" ]; then

    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"

    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"

fi 

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
    
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
fi
POL_SetupWindow_Close
exit

Replies

Keks Monday 25 January 2016 at 3:31
Keks Anonymous

Message

If I try to install age of Empires 2 HD i get this error.

 

Error in POL_Call
Function POL_Install does not exist!

I cant find anything helpfull in google. Do i have to download it first in Steam or something?

 

Best Regards Alex

Replies

Monday 25 January 2016 at 6:36
That should be fixed now
Anonymous
Tuesday 26 January 2016 at 3:50
Thanks it is working now. But one question it is installing steam again. I already have a version from Steam installed with playonlinux. Do i need a second steam installation for every steam game?
Tuesday 26 January 2016 at 8:14
That's the standard PoL model, one virtual drive per program, so that each virtual drive can be tweaked (and removed) independantly
petch Sunday 3 January 2016 at 13:45
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Add POL_SetupWindow_SetID

Differences

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2014-07-14 17-00)
 # Wine version used : 1.7.21
 # Distribution used to test : Mac OS
@@ -17,6 +17,7 @@
 GAME_VMS="512"
  
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 2167
 POL_Debug_Init
  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2014-07-14 17-00)
# Wine version used : 1.7.21
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="1.8-staging"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2167
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 

 
POL_Call POL_Install vcrun2012
POL_SetupWindow_InstallMethod STEAM

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
 
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

if [ "$INSTALL_METHOD" = "STEAM" ]; then

    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"

    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"

fi 

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
    
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
fi
POL_SetupWindow_Close
exit

Replies

Quentin PÂRIS Sunday 3 January 2016 at 12:25
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -13,7 +13,7 @@
 STEAM_ID="221380"
 EDITOR="Microsoft"
 AUTHOR="Quentin PARIS"
-WORKING_WINE_VERSION="1.7.21"
+WORKING_WINE_VERSION="1.8-staging"
 GAME_VMS="512"
  
 POL_SetupWindow_Init
@@ -26,8 +26,7 @@
  
 
  
-
-
+POL_Call POL_Install vcrun2012
 POL_SetupWindow_InstallMethod STEAM
 
 POL_Wine_SetVideoDriver

New source code

#!/bin/bash
# Date : (2014-07-14 17-00)
# Wine version used : 1.7.21
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="1.8-staging"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 

 
POL_Call POL_Install vcrun2012
POL_SetupWindow_InstallMethod STEAM

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
 
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

if [ "$INSTALL_METHOD" = "STEAM" ]; then

    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"

    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"

fi 

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
    
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
fi
POL_SetupWindow_Close
exit

Replies

mancerayder Tuesday 26 May 2015 at 3:05
mancerayder Anonymous

Message

Hi,

I just got it on Steam, but I can't get it to actually boot. Every time I hit the blue play button it brings up the dialog box:

Performing first time setup...

Installing: Microsoft VC Redist Package (step 1 of 2)

It goes though steps 1&2 and then... nothing.

Thanks

Replies

Anonymous
Wednesday 27 May 2015 at 18:54
I got around the VC problem and got a working install with these steps:
Anonymous
Wednesday 27 May 2015 at 19:03
(oops, return button doesn't create a new line, huh?) 1. After the main install close Steam. 2. Copy mfc110.dll from a Windows box to the System32 folder in POL AOEII directory. (the other DLL some people mentioned was already there for me) 3. remove both installscript.vdf files. 4. Open Steam or run AOEII to have the VC package setup run properly. I'm still getting the lag issue that people have mentioned on other websites, but the graphics and audio display properly.
Quentin PÂRIS Monday 14 July 2014 at 17:03
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

First script

Differences

@@ -0,0 +1,66 @@
+#!/bin/bash
+# Date : (2014-07-14 17-00)
+# Wine version used : 1.7.21
+# Distribution used to test : Mac OS
+# Author : Quentin PARIS
+# Only For : http://www.playonlinux.com
+  
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Age Of Empire II - HD"
+PREFIX="AOE2HD"
+STEAM_ID="221380"
+EDITOR="Microsoft"
+AUTHOR="Quentin PARIS"
+WORKING_WINE_VERSION="1.7.21"
+GAME_VMS="512"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
+
+ 
+
+
+POL_SetupWindow_InstallMethod STEAM
+
+POL_Wine_SetVideoDriver
+POL_SetupWindow_VMS $GAME_VMS
+ 
+POL_Wine_Direct3D "UseGLSL" "enabled"
+POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
+POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+
+if [ "$INSTALL_METHOD" = "STEAM" ]; then
+
+    POL_Call POL_Install_steam
+    POL_Call POL_Install_steam_flags "$STEAM_ID"
+    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"
+
+    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
+    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
+    POL_Wine_WaitExit "$TITLE"
+
+fi 
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    SETUP_EXE="$APP_ANSWER"
+    
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine "$SETUP_EXE"
+    POL_Wine_WaitExit "$TITLE"
+    
+    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
+fi
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-07-14 17-00)
# Wine version used : 1.7.21
# Distribution used to test : Mac OS
# Author : Quentin PARIS
# Only For : http://www.playonlinux.com
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Age Of Empire II - HD"
PREFIX="AOE2HD"
STEAM_ID="221380"
EDITOR="Microsoft"
AUTHOR="Quentin PARIS"
WORKING_WINE_VERSION="1.7.21"
GAME_VMS="512"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 

 


POL_SetupWindow_InstallMethod STEAM

POL_Wine_SetVideoDriver
POL_SetupWindow_VMS $GAME_VMS
 
POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

if [ "$INSTALL_METHOD" = "STEAM" ]; then

    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID -nostartup"

    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
    POL_Wine_WaitExit "$TITLE"

fi 

if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    SETUP_EXE="$APP_ANSWER"
    
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$SETUP_EXE"
    POL_Wine_WaitExit "$TITLE"
    
    POL_Shortcut "AoK HD.exe" "$TITLE" "" "-nostartup"
fi
POL_SetupWindow_Close
exit

Replies

Anonymous
Friday 25 December 2015 at 17:33
Hello!
Anonymous
Friday 25 December 2015 at 17:35
(oops, return button doesn't create a new line, huh?) I've been having trouble using the script. When I get to the steam login prompt, I see a dialogue which says that "steamwebservice.exe has crashed" and I can't login (Steam cannot connect to the network). Even when I restart it, I still can't connect.
Anonymous
Friday 25 December 2015 at 18:01
nvm got it to work by hitting the retry button enough

Edited by Tinou

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