Age Of Empires II - HD

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Attention

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

Informations

Plate-formes :
Téléchargements : 216068
Wine: 3.0.3

Retours d'expérience

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.

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Dimanche 22 Mars 2020 à 16:41
Dadu042

Information

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

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

Nouveau code source

#!/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

Réponses

kired Mardi 22 Octobre 2019 à 12:49
kired Anonymous

Messages

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

Réponses

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

Edité par kired

sgt_rayvax Jeudi 29 Novembre 2018 à 22:22
sgt_rayvax Anonymous

Messages

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

 

Réponses

Anonymous
Samedi 6 Avril 2019 à 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
Dimanche 22 Mars 2020 à 11:25
You, you might be the hero of the LockDown.

This worked!

Edité par Dadu042

daviewales Jeudi 30 Aoüt 2018 à 5:46
daviewales Anonymous

Messages

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).

Réponses

Edité par Dadu042

Mamsaac Mardi 3 Avril 2018 à 8:05
Mamsaac Anonymous

Messages

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.

Réponses

Anonymous
Lundi 28 Mai 2018 à 17:56
try installing dwrite via winetricks
zottelbeyer Jeudi 15 Mars 2018 à 16:32
zottelbeyer Anonymous

Messages

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.

Réponses

Anonymous
Mercredi 4 Avril 2018 à 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 Vendredi 12 Janvier 2018 à 8:57
senorsmile Anonymous

Messages

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. 

Réponses

Epleth Mercredi 19 Juillet 2017 à 20:38
Epleth Anonymous

Messages

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/

Réponses

Anonymous
Mercredi 26 Juillet 2017 à 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 Mardi 18 Juillet 2017 à 13:17
Epleth Anonymous

Messages

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

Réponses

Anonymous
Mardi 18 Juillet 2017 à 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
Mercredi 23 Mai 2018 à 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 Samedi 15 Juillet 2017 à 19:45
DREAK Anonymous

Messages

 

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.

 

Réponses

Anonymous
Dimanche 16 Juillet 2017 à 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
Dimanche 16 Juillet 2017 à 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
Dimanche 16 Juillet 2017 à 17:39
I reallyyy want this to work. Speciell now when i am sooo close.
Anonymous
Dimanche 16 Juillet 2017 à 20:22
2.12-staging doesn't work with multiplayer unfortunately. I tried installing directplay too but that also doesn't work.
Anonymous
Lundi 17 Juillet 2017 à 19:46
Same problem here. I can see lobbies but can't join.
Hasso Vendredi 14 Juillet 2017 à 20:19
Hasso Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Samedi 15 Juillet 2017 à 15:04
Thanks buddy!
bridgetleanne Jeudi 13 Juillet 2017 à 1:18
bridgetleanne Anonymous

Messages

Doesn't work with the new update. :( 

Réponses

transcend Mercredi 12 Juillet 2017 à 11:50
transcend Anonymous

Messages

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

Réponses

Garnachito Mercredi 12 Juillet 2017 à 6:54
Garnachito Anonymous

Messages

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

Réponses

jsaigon Mercredi 10 Mai 2017 à 17:32
jsaigon Anonymous

Messages

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!!

 

 

Réponses

sotond Mercredi 10 Mai 2017 à 8:46
sotond Anonymous

Messages

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.

Réponses

Ads20000 Vendredi 27 Janvier 2017 à 18:11
Ads20000 Anonymous

Messages

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).

Réponses

Anonymous
Mercredi 23 Mai 2018 à 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 Mardi 3 Janvier 2017 à 14:35
Philastan Anonymous

Messages

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.

Réponses

Walkman Samedi 31 Décembre 2016 à 20:41
Walkman

Messages

(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

Réponses

Samedi 31 Décembre 2016 à 21:51
nvm see the link below (https://www.winehq.org/pipermail/wine-bugs/2015-November/428425.html)
Anonymous
Dimanche 5 Février 2017 à 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
Mercredi 3 Mai 2017 à 15:04
Follow the instructions under "To Test" on the link
Ads20000 Mardi 27 Décembre 2016 à 19:02
Ads20000 Anonymous

Messages

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.

Réponses

Anonymous
Mercredi 23 Mai 2018 à 2:45
Yes, I had to do this too.
philipheinser Mercredi 14 Décembre 2016 à 22:05
philipheinser Anonymous

Messages

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

Réponses

Anonymous
Jeudi 15 Décembre 2016 à 0:21
https://www.winehq.org/pipermail/wine-bugs/2015-November/428425.html this fixes the problem
Samedi 31 Décembre 2016 à 21:50
Yess thank you very much! this is what I needed to get it to work
nlflint Mercredi 16 Novembre 2016 à 1:46
nlflint Anonymous

Messages

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 

 

 

Réponses

ttraj Samedi 7 Mai 2016 à 17:24
ttraj Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

ttraj Vendredi 6 Mai 2016 à 16:20
ttraj Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

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

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Keks Lundi 25 Janvier 2016 à 3:31
Keks Anonymous

Messages

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

Réponses

Lundi 25 Janvier 2016 à 6:36
That should be fixed now
Anonymous
Mardi 26 Janvier 2016 à 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?
Mardi 26 Janvier 2016 à 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 Dimanche 3 Janvier 2016 à 13:45
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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"

Nouveau code source

#!/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

Réponses

Quentin PÂRIS Dimanche 3 Janvier 2016 à 12:25
Quentin PÂRIS Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

mancerayder Mardi 26 Mai 2015 à 3:05
mancerayder Anonymous

Messages

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

Réponses

Anonymous
Mercredi 27 Mai 2015 à 18:54
I got around the VC problem and got a working install with these steps:
Anonymous
Mercredi 27 Mai 2015 à 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 Lundi 14 Juillet 2014 à 17:03
Quentin PÂRIS Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Vendredi 25 Décembre 2015 à 17:33
Hello!
Anonymous
Vendredi 25 Décembre 2015 à 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
Vendredi 25 Décembre 2015 à 18:01
nvm got it to work by hitting the retry button enough

Edité par 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