Age Of Empires III

Informations

Creator Message
NSLW

Warning

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

Informations

Platforms:
Downloads: 182233
Wine: 4.0

Feedbacks

Description

Type : RTS
Lan : -
Online : -
Company : Ensemble Studios
Compatibility : 5/5

Game won't run with original age3.exe

Source code

#!/bin/bash
# Date : (2009-22-11 10-15)
# Last revision : (2015-10-23)
# Wine version used :1.7.46-staging
# Distribution used to test : Mac OS
# Author : Quentin PÂRIS
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empires III"
PREFIX="AgeOfEmpireIII"
WORKING_WINE_VERSION="4.0"
STEAM_ID="105450"
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory components
POL_Call POL_Install_vcrun6
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_msxml4
# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL, STEAM"

if [ "$INSTALL_METHOD" == "CD" ]; then
        cd $HOME
        POL_SetupWindow_browse "$(eval_gettext "Please select the setup file")" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE" --allow-kill
        POL_Shortcut "age3.exe" "$TITLE"
fi
 
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"
fi

POL_Wine_VMS

#Fix for this game
POL_Wine regsvr32 l3codecx.ax 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
POL_Wine regedit AoE3_Fix.reg



if [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
fi
  
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Quentin PÂRIS Wednesday 13 February 2019 at 0:41
Quentin PÂRIS Anonymous

Information

This update has been approved by the team.

Differences

@@ -11,7 +11,7 @@
  
 TITLE="Age Of Empires III"
 PREFIX="AgeOfEmpireIII"
-WORKING_WINE_VERSION="1.7.46-staging"
+WORKING_WINE_VERSION="4.0"
 STEAM_ID="105450"
 POL_SetupWindow_Init
 

New source code

#!/bin/bash
# Date : (2009-22-11 10-15)
# Last revision : (2015-10-23)
# Wine version used :1.7.46-staging
# Distribution used to test : Mac OS
# Author : Quentin PÂRIS
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empires III"
PREFIX="AgeOfEmpireIII"
WORKING_WINE_VERSION="4.0"
STEAM_ID="105450"
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory components
POL_Call POL_Install_vcrun6
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_msxml4
# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL, STEAM"

if [ "$INSTALL_METHOD" == "CD" ]; then
        cd $HOME
        POL_SetupWindow_browse "$(eval_gettext "Please select the setup file")" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE" --allow-kill
        POL_Shortcut "age3.exe" "$TITLE"
fi
 
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"
fi

POL_Wine_VMS

#Fix for this game
POL_Wine regsvr32 l3codecx.ax 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
POL_Wine regedit AoE3_Fix.reg



if [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
fi
  
POL_SetupWindow_Close
exit

Replies

anthorne Sunday 27 November 2016 at 17:49
anthorne

Warning

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

Message

I had some problems with the script when installing from CD, so I've updated the script and now i can browse to the "setup.exe" file.

Differences

@@ -1,16 +1,16 @@
 #!/bin/bash
 # Date : (2009-22-11 10-15)
-# Last revision : (2015-10-23)
-# Wine version used :1.7.46-staging
-# Distribution used to test : Mac OS
-# Author : Quentin PÂRIS
+# Last revision : (2016-11-27)
+# Wine version used : 1.7.46-staging
+# Distribution used to test : Linux Mint
+# Author : anthorne
 # Licence : Retail
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Age Of Empires III"
-PREFIX="AgeOfEmpireIII"
+PREFIX="AgeOfEmpiresIII"
 WORKING_WINE_VERSION="1.7.46-staging"
 STEAM_ID="105450"
 POL_SetupWindow_Init
@@ -30,7 +30,7 @@
 # Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
 POL_Call POL_Install_corefonts
 
-POL_SetupWindow_InstallMethod "LOCAL, STEAM"
+POL_SetupWindow_InstallMethod "CD, STEAM"
 
 if [ "$INSTALL_METHOD" == "CD" ]; then
 	cd $HOME

New source code

#!/bin/bash
# Date : (2009-22-11 10-15)
# Last revision : (2016-11-27)
# Wine version used : 1.7.46-staging
# Distribution used to test : Linux Mint
# Author : anthorne
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empires III"
PREFIX="AgeOfEmpiresIII"
WORKING_WINE_VERSION="1.7.46-staging"
STEAM_ID="105450"
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory components
POL_Call POL_Install_vcrun6
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_msxml4
# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "CD, STEAM"

if [ "$INSTALL_METHOD" == "CD" ]; then
        cd $HOME
        POL_SetupWindow_browse "$(eval_gettext "Please select the setup file")" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE" --allow-kill
        POL_Shortcut "age3.exe" "$TITLE"
fi
 
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"
fi

POL_Wine_VMS

#Fix for this game
POL_Wine regsvr32 l3codecx.ax 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
POL_Wine regedit AoE3_Fix.reg



if [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
fi
  
POL_SetupWindow_Close
exit

Replies

notasthinkasudrunkim Friday 22 July 2016 at 14:19
notasthinkasudrunkim Anonymous

Message

Dear PlayOnLinux community

I've been trying to install AoEIII (Complete edition) on Debian 8 64-bit PlayOnLinux v4.2.5 for a few days now.

For a starter I followed this guide: https://appdb.winehq.org/objectManager.php?sClass=version&iId=3795

My problem: I get an error message saying I am missing l3codecx.ax when I start the game.

When I close it it says "Initialization failed". I debug and get this information:

DEBUG LOG:

Unhandled exception: page fault on read access to 0x000006b0 in 32-bit code (0x0052c9cd).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0052c9cd ESP:0033f8e8 EBP:7b879140 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000012 EBX:00000000 ECX:000006a8 EDX:00000140
 ESI:000006a8 EDI:00000012
Stack dump:
0x0033f8e8:  038608c0 038608c0 00b2ca18 00000012
0x0033f8f8:  00000000 038608c0 00607e78 01fec000
0x0033f908:  006021cc 0af1a840 01fec000 00000000
0x0033f918:  006024ec 7eae6800 01fec000 0060244a
0x0033f928:  00000000 00601c72 00000001 7b87a410
0x0033f938:  0061b292 7b85c8e0 00000000 0033fe50
Backtrace:
=>0 0x0052c9cd in age3 (+0x12c9cd) (0x7b879140)
  1 0xfff0e483 (0x04244c8d)
0x0052c9cd: cmpl    0x8(%esi),%edi
Modules:
Module    Address            Debug info    Name (181 modules)
PE      340000-  351000    Deferred        deformerdll
PE      400000-  ebe000    Export          age3
PE      ec0000- 1113000    Deferred        d3dx9_25
PE    10000000-10014000    Deferred        rockalldll
PE    18000000-18038000    Deferred        binkw32
PE    50000000-50083000    Deferred        granny2
PE    69b10000-69c3f000    Deferred        msxml4
ELF    7a800000-7a92c000    Deferred        opengl32<elf>
  \-PE    7a820000-7a92c000    \               opengl32
ELF    7ac00000-7ac7c000    Deferred        riched20<elf>
  \-PE    7ac10000-7ac7c000    \               riched20
ELF    7b800000-7ba6a000    Deferred        kernel32<elf>
  \-PE    7b820000-7ba6a000    \               kernel32
ELF    7bad1000-7baf8000    Deferred        dxgi<elf>
  \-PE    7bae0000-7baf8000    \               dxgi
ELF    7baf8000-7bb3a000    Deferred        winspool<elf>
  \-PE    7bb00000-7bb3a000    \               winspool
ELF    7bb3a000-7bb71000    Deferred        wbemprox<elf>
  \-PE    7bb40000-7bb71000    \               wbemprox
ELF    7bb71000-7bc00000    Deferred        libvorbisenc.so.2
ELF    7bc00000-7bcf2000    Deferred        ntdll<elf>
  \-PE    7bc10000-7bcf2000    \               ntdll
ELF    7bcfc000-7bd22000    Deferred        dxdiagn<elf>
  \-PE    7bd00000-7bd22000    \               dxdiagn
ELF    7bd22000-7bd4f000    Deferred        libvorbis.so.0
ELF    7bd4f000-7be00000    Deferred        libgcrypt.so.20
ELF    7bf00000-7bf03000    Deferred        <wine-loader>
ELF    7bf27000-7bf30000    Deferred        libogg.so.0
ELF    7bf30000-7bf67000    Deferred        libflac.so.8
ELF    7c16f000-7c183000    Deferred        libgpg-error.so.0
ELF    7c183000-7c1ac000    Deferred        liblzma.so.5
ELF    7c1ac000-7c1b2000    Deferred        libuuid.so.1
ELF    7c1b2000-7c1b8000    Deferred        libattr.so.1
ELF    7c1b8000-7c1bf000    Deferred        libasyncns.so.0
ELF    7c1bf000-7c238000    Deferred        libsndfile.so.1
ELF    7c238000-7c242000    Deferred        libwrap.so.0
ELF    7c242000-7c26b000    Deferred        libsystemd.so.0
ELF    7c26b000-7c273000    Deferred        libxtst.so.6
ELF    7c273000-7c27d000    Deferred        libsm.so.6
ELF    7c27d000-7c29a000    Deferred        libice.so.6
ELF    7c29a000-7c2a0000    Deferred        libcap.so.2
ELF    7c2a0000-7c322000    Deferred        libpulsecommon-5.0.so
ELF    7c322000-7c32e000    Deferred        libjson-c.so.2
ELF    7c32e000-7c386000    Deferred        libpulse.so.0
ELF    7c386000-7c3b0000    Deferred        winepulse<elf>
  \-PE    7c390000-7c3b0000    \               winepulse
ELF    7c3b0000-7c400000    Deferred        dsound<elf>
  \-PE    7c3c0000-7c400000    \               dsound
ELF    7c409000-7c41c000    Deferred        psapi<elf>
  \-PE    7c410000-7c41c000    \               psapi
ELF    7c423000-7c445000    Deferred        mmdevapi<elf>
  \-PE    7c430000-7c445000    \               mmdevapi
ELF    7c785000-7c7aa000    Deferred        libdrm_intel.so.1
ELF    7c7aa000-7cd70000    Deferred        i965_dri.so
ELF    7cd70000-7ce1b000    Deferred        libgl.so.1
ELF    7ce1b000-7ce5f000    Deferred        usp10<elf>
  \-PE    7ce20000-7ce5f000    \               usp10
ELF    7cf5f000-7cfb6000    Deferred        libdbus-1.so.3
ELF    7cfb6000-7d045000    Deferred        libgmp.so.10
ELF    7d045000-7d076000    Deferred        libhogweed.so.2
ELF    7d076000-7d0ab000    Deferred        libnettle.so.4
ELF    7d131000-7d13d000    Deferred        libpciaccess.so.0
ELF    7d13d000-7d145000    Deferred        libffi.so.6
ELF    7d145000-7d159000    Deferred        libtasn1.so.6
ELF    7d159000-7d19c000    Deferred        libp11-kit.so.0
ELF    7d19c000-7d1d0000    Deferred        libk5crypto.so.3
ELF    7d1d0000-7d2a6000    Deferred        libkrb5.so.3
ELF    7d2a6000-7d2ba000    Deferred        libavahi-client.so.3
ELF    7d2ba000-7d3fc000    Deferred        libgnutls-deb0.so.28
ELF    7d3fc000-7d44d000    Deferred        libgssapi_krb5.so.2
ELF    7d44d000-7d4cb000    Deferred        libcups.so.2
ELF    7d4d5000-7d4e4000    Deferred        libdrm_radeon.so.1
ELF    7d4e4000-7d4ec000    Deferred        libdrm_nouveau.so.2
ELF    7d4ec000-7d4fe000    Deferred        libudev.so.1
ELF    7d4fe000-7d50d000    Deferred        libdrm.so.2
ELF    7d50d000-7d510000    Deferred        libxshmfence.so.1
ELF    7d510000-7d517000    Deferred        libxcb-sync.so.1
ELF    7d517000-7d51b000    Deferred        libxcb-present.so.0
ELF    7d51b000-7d51f000    Deferred        libxcb-dri3.so.0
ELF    7d51f000-7d525000    Deferred        libxcb-dri2.so.0
ELF    7d525000-7d53f000    Deferred        libxcb-glx.so.0
ELF    7d53f000-7d542000    Deferred        libx11-xcb.so.1
ELF    7d561000-7d5d7000    Deferred        ddraw<elf>
  \-PE    7d570000-7d5d7000    \               ddraw
ELF    7d75a000-7d767000    Deferred        libkrb5support.so.0
ELF    7d767000-7d776000    Deferred        libavahi-common.so.3
ELF    7d777000-7d77b000    Deferred        libxdamage.so.1
ELF    7d77b000-7d794000    Deferred        libglapi.so.0
ELF    7d794000-7d7b8000    Deferred        gameux<elf>
  \-PE    7d7a0000-7d7b8000    \               gameux
ELF    7d7b8000-7d7ee000    Deferred        msctf<elf>
  \-PE    7d7c0000-7d7ee000    \               msctf
ELF    7d7ee000-7d815000    Deferred        mpr<elf>
  \-PE    7d7f0000-7d815000    \               mpr
ELF    7d815000-7d892000    Deferred        wininet<elf>
  \-PE    7d820000-7d892000    \               wininet
ELF    7d892000-7d936000    Deferred        urlmon<elf>
  \-PE    7d8a0000-7d936000    \               urlmon
ELF    7d97c000-7d9b4000    Deferred        uxtheme<elf>
  \-PE    7d980000-7d9b4000    \               uxtheme
ELF    7d9b4000-7d9d1000    Deferred        libgcc_s.so.1
ELF    7dac3000-7dafa000    Deferred        libtxc_dxtn.so
ELF    7dafa000-7db01000    Deferred        libxfixes.so.3
ELF    7db01000-7db0d000    Deferred        libxcursor.so.1
ELF    7db0d000-7db20000    Deferred        libxi.so.6
ELF    7db20000-7db24000    Deferred        libxcomposite.so.1
ELF    7db24000-7db30000    Deferred        libxrandr.so.2
ELF    7db30000-7db3c000    Deferred        libxrender.so.1
ELF    7db3c000-7db43000    Deferred        libxxf86vm.so.1
ELF    7db43000-7db69000    Deferred        libxcb.so.1
ELF    7db69000-7dcbb000    Deferred        libx11.so.6
ELF    7dcbb000-7dcd0000    Deferred        libxext.so.6
ELF    7dcd2000-7dcd7000    Deferred        libkeyutils.so.1
ELF    7dcd7000-7dcdc000    Deferred        libcom_err.so.2
ELF    7dcdc000-7dcef000    Deferred        shfolder<elf>
  \-PE    7dce0000-7dcef000    \               shfolder
ELF    7dcef000-7dd83000    Deferred        winex11<elf>
  \-PE    7dd00000-7dd83000    \               winex11
ELF    7ddc2000-7ddeb000    Deferred        libexpat.so.1
ELF    7ddeb000-7de2d000    Deferred        libfontconfig.so.1
ELF    7de2d000-7de5a000    Deferred        libpng12.so.0
ELF    7de5a000-7de73000    Deferred        libz.so.1
ELF    7de73000-7df25000    Deferred        libfreetype.so.6
ELF    7df25000-7df2b000    Deferred        libxdmcp.so.6
ELF    7df44000-7e04f000    Deferred        comctl32<elf>
  \-PE    7df50000-7e04f000    \               comctl32
ELF    7e04f000-7e07a000    Deferred        msvfw32<elf>
  \-PE    7e050000-7e07a000    \               msvfw32
ELF    7e07a000-7e0a4000    Deferred        msacm32<elf>
  \-PE    7e080000-7e0a4000    \               msacm32
ELF    7e0a4000-7e0ea000    Deferred        avifil32<elf>
  \-PE    7e0b0000-7e0ea000    \               avifil32
ELF    7e0ea000-7e22d000    Deferred        oleaut32<elf>
  \-PE    7e100000-7e22d000    \               oleaut32
ELF    7e22d000-7e370000    Deferred        ole32<elf>
  \-PE    7e250000-7e370000    \               ole32
ELF    7e370000-7e3eb000    Deferred        shlwapi<elf>
  \-PE    7e380000-7e3eb000    \               shlwapi
ELF    7e3eb000-7e694000    Deferred        shell32<elf>
  \-PE    7e400000-7e694000    \               shell32
ELF    7e694000-7e6ab000    Deferred        libresolv.so.2
ELF    7e6ab000-7e6af000    Deferred        libxinerama.so.1
ELF    7e6af000-7e6ca000    Deferred        dinput8<elf>
  \-PE    7e6b0000-7e6ca000    \               dinput8
ELF    7e6ca000-7e6f1000    Deferred        iphlpapi<elf>
  \-PE    7e6d0000-7e6f1000    \               iphlpapi
ELF    7e6f1000-7e846000    Deferred        wined3d<elf>
  \-PE    7e700000-7e846000    \               wined3d
ELF    7e846000-7e884000    Deferred        d3d9<elf>
  \-PE    7e850000-7e884000    \               d3d9
ELF    7e884000-7e8a8000    Deferred        imm32<elf>
  \-PE    7e890000-7e8a8000    \               imm32
ELF    7e8a8000-7e95f000    Deferred        msvcrt<elf>
  \-PE    7e8c0000-7e95f000    \               msvcrt
ELF    7e95f000-7e99a000    Deferred        ws2_32<elf>
  \-PE    7e970000-7e99a000    \               ws2_32
ELF    7e99a000-7eab3000    Deferred        gdi32<elf>
  \-PE    7e9b0000-7eab3000    \               gdi32
ELF    7eab3000-7ec29000    Deferred        user32<elf>
  \-PE    7ead0000-7ec29000    \               user32
ELF    7ec29000-7ece1000    Deferred        winmm<elf>
  \-PE    7ec30000-7ece1000    \               winmm
ELF    7ece1000-7ed5a000    Deferred        advapi32<elf>
  \-PE    7ecf0000-7ed5a000    \               advapi32
ELF    7ed5a000-7ede0000    Deferred        rpcrt4<elf>
  \-PE    7ed70000-7ede0000    \               rpcrt4
ELF    7ede0000-7eded000    Deferred        libnss_files.so.2
ELF    7eded000-7edf9000    Deferred        libnss_nis.so.2
ELF    7edf9000-7ee12000    Deferred        libnsl.so.1
ELF    7ef9b000-7efe1000    Deferred        libm.so.6
ELF    7efe3000-7efe7000    Deferred        libxau.so.6
ELF    7efe7000-7f000000    Deferred        version<elf>
  \-PE    7eff0000-7f000000    \               version
ELF    f7416000-f741f000    Deferred        libnss_compat.so.2
ELF    f7420000-f7425000    Deferred        libdl.so.2
ELF    f7425000-f75d2000    Deferred        libc.so.6
ELF    f75d2000-f75ee000    Deferred        libpthread.so.0
ELF    f7605000-f760e000    Deferred        librt.so.1
ELF    f760e000-f77d4000    Dwarf           libwine.so.1
ELF    f77d6000-f77f7000    Deferred        ld-linux.so.2
ELF    f77f7000-f77f8000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 Steam.exe
    00000058    0
    00000057    0
    00000056    0
    00000053    0
    00000052    0
    00000051    0
    0000004f    0
    0000004e    0
    0000004d    0
    0000004c    0
    0000004b    0
    0000004a    0
    00000049    0
    00000048    0
    0000000b   15
    0000000d    0
    00000047    1
    00000044    0
    00000042    0
    0000002d    0
    0000002c    0
    0000002b    0
    0000002a    0
    00000029    0
    00000026    0
    00000025    0
    00000009    0
0000000e services.exe
    0000001d    0
    0000001c    0
    00000014    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    0000001b    0
    00000018    0
    00000017    0
    00000013    0
00000019 plugplay.exe
    0000001f    0
    0000001e    0
    0000001a    0
00000020 explorer.exe
    00000024    0
    00000023    0
    00000022    0
    00000021    0
00000027 steamwebhelper.exe
    00000050    0
    00000041    0
    00000040    0
    0000003f    0
    0000003e    0
    0000003d    0
    0000003c    0
    0000003b    0
    0000003a    0
    00000039    0
    00000038    0
    00000037    0
    00000036    0
    00000035    0
    00000034    0
    00000033    0
    00000032    0
    00000031    0
    00000030    0
    0000002f    0
    0000002e    0
    00000028    0
0000005d (D) C:\Program Files\Steam\steamapps\common\Age Of Empires 3\bin\age3.exe
    00000061    0
    00000060    0
    0000005f   15
    0000005e    0 <==
System information:
    Wine build: wine-1.7.46 (Staging)
    Platform: i386
    Host system: Linux
    Host version: 3.16.0-4-amd64

 

Going into PlayOnLinux debugger for AgeOfEmpiresIII I have this debug log:

heck_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_SW, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stufixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B10G10R10A2_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5A1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
fixme:d3d:wined3d_check_device_format_conversion wined3d 0x160a78, adapter_idx 0, device_type WINED3D_DEVICE_TYPE_REF, src_format WINED3DFMT_B5G5R5X1_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
err:ole:CoGetClassObject class {38be3000-dbf4-11d0-860e-00a024cfef6d} not registered
err:ole:CoGetClassObject no class object {38be3000-dbf4-11d0-860e-00a024cfef6d} could be created for context 0x1
fixme:imm:ImmDisableIME (-1): stub
fixme:advapi:RegisterEventSourceW ((null),L"Age of Empires 3"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x000003e8,(nil),0x0005,0x0000004d,0x58d7e0,0x58d398): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003e8,(nil),0x0005,0x0000004d,0x1287b8,0x58d398): stub
err:eventlog:ReportEventW L"age3.exe"
err:eventlog:ReportEventW L"4.107.803.3366"
err:eventlog:ReportEventW L""
err:eventlog:ReportEventW L"0.0.0.0"
err:eventlog:ReportEventW L"00000000"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
[07/14/16 23:19:48] - Running wine-1.7.46-staging Steam.exe steam://rungameid/105450 (Working directory : /home/richard/.PlayOnLinux/wineprefix/AgeOfEmpireIII/drive_c/Program Files/Steam)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory[0714/231950:ERROR:network_change_notifier_win.cc(170)] WSALookupServiceBegin failed with: 8
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory[07/14/16 23:22:54] - Running wine-1.7.46-staging Steam.exe steam://rungameid/105450 (Working directory : /home/richard/.PlayOnLinux/wineprefix/AgeOfEmpireIII/drive_c/Program Files/Steam)
[0714/232553:WARNING:cert_verify_proc_win.cc(108)] Unknown error -2146762482 mapped to net::ERR_FAILED
[07/14/16 23:37:17] - Running wine-1.7.46-staging Steam.exe steam://rungameid/105450 (Working directory : /home/richard/.PlayOnLinux/wineprefix/AgeOfEmpireIII/drive_c/Program Files/Steam)
IPC client is in my process, could/should be using an in-process pipe.IPC client is in my process, could/should be using an in-process pipe.IPC client is in my process, could/should be using an in-pro
[2016-07-14 23:19:48] Startup - updater built Jul  8 2016 14:45:17
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2016-07-14 23:19:48] Checking for update on startup
[2016-07-14 23:19:48] Checking for available updates...
[2016-07-14 23:19:49] Download skipped: /client/steam_client_win32 version 1468023329, installed version 1468023329
[2016-07-14 23:19:49] Nothing to do
[2016-07-14 23:19:49] Verifying installation...
[2016-07-14 23:19:49] Performing checksum verification of executable files
[2016-07-14 23:19:49] Verification complete
[2016-07-14 23:22:32] Background update loop checking for update. . .
[2016-07-14 23:22:32] Checking for available updates...
[2016-07-14 23:22:33] Download skipped by HTTP 304 Not Modified
[2016-07-14 23:22:33] Nothing to do
[2016-07-14 23:40:45] Shutdown
[07/15/16 00:16:27] - Running wine-1.7.46-staging Steam.exe steam://rungameid/105450 (Working directory : /home/richard/.PlayOnLinux/wineprefix/AgeOfEmpireIII/drive_c/Program Files/Steam)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory[0715/001628:ERROR:network_change_notifier_win.cc(170)] WSALookupServiceBegin failed with: 8
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory[0715/002228:WARNING:cert_verify_proc_win.cc(108)] Unknown error -2146762482 mapped to net::ERR_FAILED
[07/15/16 13:00:09] - Running wine-1.7.46-staging Steam.exe steam://rungameid/105450 (Working directory : /home/richard/.PlayOnLinux/wineprefix/AgeOfEmpireIII/drive_c/Program Files/Steam)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory[0715/130028:ERROR:network_change_notifier_win.cc(170)] WSALookupServiceBegin failed with: 8
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directorywine: Unhandled page fault on read access to 0x000006b0 at address 0x52c9cd (thread 005e), starting debugger...
[07/15/16 13:03:12] - Running wine-1.7.46-staging Steam.exe steam://rungameid/105450 (Working directory : /home/richard/.PlayOnLinux/wineprefix/AgeOfEmpireIII/drive_c/Program Files/Steam)
[0715/130630:WARNING:cert_verify_proc_win.cc(108)] Unknown error -2146762482 mapped to net::ERR_FAILED

 

What I have done: When it came to the point of installing the game I went onto PlayOnLinux and did an installation of the game through Steam. Firstly Steam was installed, I declined to run the client after installation, but I still got an error message with a sad smilie face on it saying something wasn't alright (can't remember what exactly), when nexting that window Steam started anyways.

After installing the game I went into the subdirectories below and made sure codecs mfc42.dll, quartz.dll and d3dx9_36.dll were there and also adding the l3codecx.ax.

~/.PlayOnLinux/wineprefix/AgeOfEmpireIII/drive_c/windows/system32/

~/.wine/drive_c/windows/system32/

The l3codecx.ax I had received from this site: http://pconlife.com/fileinfo/l3codecx.ax-info/ taking the option Windows XP Professional x64 Service Pack2, since the method suggested at the winehq site of running wine on BCM*.exe file didn't work for me, even after making it executable under Properties->Permissions.

I registered l3codecx.ax by doing

sudo wine regsvr32 l3codecx.ax

I have also run winecfg and added the entries in libraries, as suggested in winehq. They did, however, not appear in the dropdown list so I spelled their name out on my own and added to "Native" or "Native, Builtin".

And this is where I am now, I also tried installing the actual Steam client on PlayOnLinux and then through that install AoEIII (such that it would end up under .PlayOnLinux/wineprefix/Steam/drive_C... etc, but I encounter the same problem).

I am completely out of ideas regarding this problem.

All help appreciated.

 

My specs:

CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz  (4 cores, 2 threads per core)

Memory: 3878 MiB

Graphics: Intel Corporation Haswell-ULT Integrated Graphics Controller, size=256M, i915 

 

Replies

danherbert Wednesday 17 February 2016 at 6:18
danherbert Anonymous

Message

Works OK on Ubuntu 15.10 with the Steam release of the game. There are a few strange bugs, but nothing that prevents the game from being played.

  1. Installer crashes when Steam is launch for the final time to download/install the game. Steam still opens and I'm able to download/install it despite the installer crashing.
  2. Game sees my GPU (NVidia GTX 980 Ti with proprietary driver v361.28) as having 0MB of RAM. The game gives the option to ignore this error (which I obviously did)
  3. After the game's opening cutscene, it gives me an error saying it is unable to find l3codecx.ax. I told the game to ignore this error as well.
  4. After the opening cutscenes, the game window shinks extremely small (maybe 100x100 pixels). The best workaround I was able to find for this was:
    1. Configure Wine to run in Windowed mode and capture the mouse in the window.
    2. When the game window shrinks, double-click the window and it will expand to normal size again.

Other than the problems described above, the game seems playable. I was able to start a new skirmish and the basic functionality seems OK.

Replies

Anonymous
Sunday 17 September 2017 at 20:28
Could you please explain how you proceeded for the 4th step? i cannot configure wine to run in windowed mode through playonmac
Quentin PÂRIS Friday 23 October 2015 at 21:53
Quentin PÂRIS Anonymous

Warning

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

Differences

@@ -1,60 +1,24 @@
 #!/bin/bash
 # Date : (2009-22-11 10-15)
-# Last revision : (2015-7-5 year, month, day)
-# Wine version used : 1.3.9
-# Distribution used to test : Debian Squeeze (Testing)
-# Author : NSLW & GNU_Raziel
+# Last revision : (2015-10-23)
+# Wine version used :1.7.46-staging
+# Distribution used to test : Mac OS
+# Author : Quentin PÂRIS
 # Licence : Retail
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Age Of Empires III"
-PREFIX="AOE3"
+PREFIX="AgeOfEmpireIII"
 WORKING_WINE_VERSION="1.7.46-staging"
-
-if [ "$POL_LANG" == "fr" ]; then
-LNG_CHOOSE_MEDIA="Quelle version possédez-vous?"
-LNG_CD="Version CD"
-LNG_DDV="Version Digital Download"
-LNG_CHOOSE_DDV="Veuillez selectionner votre executable Digital Download de $TITLE"
-LNG_WAIT_CP="Patientez pendant la préparation de l'installation..."
-LNG_INSERT_MEDIA_1="Veuillez insérer le disque 1 dans votre lecteur\nsi ce n'est pas déja fait."
-LNG_INSERT_MEDIA_2="Veuillez insérer le disque 2 dans votre lecteur\nsi ce n'est pas déja fait."
-LNG_INSERT_MEDIA_3="Veuillez insérer le disque 3 dans votre lecteur\nsi ce n'est pas déja fait."
-LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du\njeu sera terminée sous peine de devoir recommencer l'installation."
-LNG_INSTALL_ON="Installation en cours..."
-LNG_GAME_VMS="Quelle est la quantité de mémoire (Mo) de votre carte graphique ?\n(minimum pour ce jeu : 128)" 
-LNG_VMS_ERROR="Ce jeu ne fonctionnera correctement qu'avec une carte graphique ayant plus de 128Mo de mémoire."
-LNG_SUCCES="$TITLE a été installé avec succès."
-else
-LNG_CHOOSE_MEDIA="What version do you have?"
-LNG_CD="CD Version"
-LNG_DDV="Digital Download Version"
-LNG_CHOOSE_DDV="Please select your $TITLE Digital Download executable"
-LNG_WAIT_CP="Wait while the installation is prepared..."
-LNG_INSERT_MEDIA_1="Please insert disk 1 into your disk drive\nif not already done."
-LNG_INSERT_MEDIA_2="Please insert disk 2 into your disk drive\nif not already done."
-LNG_INSERT_MEDIA_3="Please insert disk 3 into your disk drive\nif not already done."
-LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished\nor you will have to redo the installation."
-LNG_INSTALL_ON="Installation in progress..."
-LNG_GAME_VMS="How much memory does your graphics board have?\n(minimum for this game : 128)" 
-LNG_VMS_ERROR="This game will work correctly only with a graphic card with more than 128Mo of memory."
-LNG_SUCCES="$TITLE has been installed successfully."
-fi
-
-#starting the script
-cd $REPERTOIRE/tmp
-rm *.jpg
+STEAM_ID="105450"
 POL_SetupWindow_Init
 
 POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"
 
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
-
-#downloading specific Wine
-POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
-Use_WineVersion "$WORKING_WINE_VERSION"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 #fetching PROGRAMFILES environmental variable
 POL_LoadVar_PROGRAMFILES
@@ -66,108 +30,41 @@
 # Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
 POL_Call POL_Install_corefonts
 
-#Choose between DVD and Digital Download version
-POL_SetupWindow_menu "$LNG_CHOOSE_MEDIA" "Actions" "$LNG_CD~$LNG_DDV" "~"
- 
-if [ "$APP_ANSWER" == "$LNG_CD" ]; then
-	GAME_MEDIAVERSION="CD"	
-else
-	GAME_MEDIAVERSION="DD"
-fi
+POL_SetupWindow_InstallMethod "LOCAL, STEAM"
 
-if [ "$GAME_MEDIAVERSION" == "CD" ]; then
-	#Copy content of CDs to HDD
-	TEMP="$REPERTOIRE/tmp/$PREFIX"
-	chmod -R 777 "$TEMP"
-	rm -R "$TEMP"
-	mkdir -p "$TEMP"
-	cd $WINEPREFIX/dosdevices
-	rm ./d:
-	ln -s "$TEMP" d:
-	#asking for CDROM and checking if it's correct one
-	#CD-ROM 1
-	POL_SetupWindow_message "$LNG_INSERT_MEDIA_1"
-	POL_SetupWindow_cdrom
-	POL_SetupWindow_check_cdrom "Disk1C~1.cab"
-	POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
-	cp -r "$CDROM"/* "$TEMP"
-	chmod 777 "$TEMP" -R
-	#CD-ROM 2
-	POL_SetupWindow_message "$LNG_INSERT_MEDIA_2"
-	POL_SetupWindow_cdrom
-	POL_SetupWindow_check_cdrom "Disk2C~1.cab"
-	POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
-	cp -r "$CDROM"/* "$TEMP"
-	chmod 777 "$TEMP" -R
-	#CD-ROM 3
-	POL_SetupWindow_message "$LNG_INSERT_MEDIA_3"
-	POL_SetupWindow_cdrom
-	POL_SetupWindow_check_cdrom "Disk3C~1.cab"
-	POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
-	cp -r "$CDROM"/* "$TEMP"
-	chmod 777 "$TEMP" -R
-
-	if [ "$(find "$TEMP" -iname setup.exe)" = "$TEMP/setup.exe" ]; then
-	wine "d:\\setup.exe"
-	elif [ "$(find "$TEMP" -iname install.exe)" = "$TEMP/install.exe" ]; then
-	wine "d:\\install.exe"
-	else
-	wine "d:\\instalar.exe"
-	fi
-
-	POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
-else
-	#Asking then installing DDV of the game
+if [ "$INSTALL_METHOD" == "CD" ]; then
 	cd $HOME
-	POL_SetupWindow_browse "$LNG_CHOOSE_DDV" "$TITLE"
+	POL_SetupWindow_browse "$(eval_gettext "Please select the setup file")" "$TITLE"
 	SETUP_EXE="$APP_ANSWER"
-	POL_SetupWindow_wait_next_signal "$LNG_INSTALL_ON" "$TITLE"
-	wine start /unix "$SETUP_EXE"
-	INSTALL_ON="1"
-	until [ "$INSTALL_ON" == "" ]; do
-	sleep 5
-	INSTALL_ON=`ps aux | grep "wineserver" | grep -v "grep"`
-	done
-	POL_SetupWindow_detect_exit
+	POL_Wine_WaitBefore "$TITLE"
+	POL_Wine start /unix "$SETUP_EXE"
+	POL_Wine_WaitExit "$TITLE" --allow-kill
+	POL_Shortcut "age3.exe" "$TITLE"
 fi
  
-#asking about memory size of graphic card
-POL_SetupWindow_menu_list "$LNG_GAME_VMS" "$TITLE" "128-256-320-384-512-640-768-896-1024-1792-2048" "-" "128"
-VMS="$APP_ANSWER"
- 
-cd "$WINEPREFIX/drive_c/windows/temp/"
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
-echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
-regedit vms.reg
-if [ "$VMS" -lt "128" ]; then
-	POL_SetupWindow_message "$LNG_VMS_ERROR" "$TITLE"
+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"
 fi
 
+POL_Wine_VMS
+
 #Fix for this game
-wine regsvr32 l3codecx.ax 
+POL_Wine regsvr32 l3codecx.ax 
 cd "$WINEPREFIX/drive_c/windows/temp/"
 echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
 echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
 echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
 echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
-regedit AoE3_Fix.reg
- 
-## PlayOnMac Section
-[ "$PLAYONMAC" == "" ] && Set_Managed "On"
-[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
-## End Section
-Set_DXGrab "On"
- 
-#cleaning temp
-if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
-	rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
-	chmod -R 777 "$REPERTOIRE/tmp/"
-	rm -rf "$REPERTOIRE/tmp/*"
+POL_Wine regedit AoE3_Fix.reg
+
+
+
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+	POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
 fi
- 
-POL_SetupWindow_auto_shortcut "$PREFIX" "age3.exe" "$TITLE" "" ""
-Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
- 
-POL_SetupWindow_message "$LNG_SUCCES" "$TITLE" 
+  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2009-22-11 10-15)
# Last revision : (2015-10-23)
# Wine version used :1.7.46-staging
# Distribution used to test : Mac OS
# Author : Quentin PÂRIS
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empires III"
PREFIX="AgeOfEmpireIII"
WORKING_WINE_VERSION="1.7.46-staging"
STEAM_ID="105450"
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory components
POL_Call POL_Install_vcrun6
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_msxml4
# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
POL_Call POL_Install_corefonts

POL_SetupWindow_InstallMethod "LOCAL, STEAM"

if [ "$INSTALL_METHOD" == "CD" ]; then
        cd $HOME
        POL_SetupWindow_browse "$(eval_gettext "Please select the setup file")" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE" --allow-kill
        POL_Shortcut "age3.exe" "$TITLE"
fi
 
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"
fi

POL_Wine_VMS

#Fix for this game
POL_Wine regsvr32 l3codecx.ax 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
POL_Wine regedit AoE3_Fix.reg



if [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" "steam://install/$STEAM_ID"
fi
  
POL_SetupWindow_Close
exit

Replies

deri82 Sunday 5 July 2015 at 11:01
deri82 Anonymous

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2009-22-11 10-15)
-# Last revision : (2010-12-12 22-00)
+# Last revision : (2015-7-5 year, month, day)
 # Wine version used : 1.3.9
 # Distribution used to test : Debian Squeeze (Testing)
 # Author : NSLW & GNU_Raziel
@@ -11,7 +11,7 @@
  
 TITLE="Age Of Empires III"
 PREFIX="AOE3"
-WORKING_WINE_VERSION="1.3.9"
+WORKING_WINE_VERSION="1.7.46-staging"
 
 if [ "$POL_LANG" == "fr" ]; then
 LNG_CHOOSE_MEDIA="Quelle version possédez-vous?"

New source code

#!/bin/bash
# Date : (2009-22-11 10-15)
# Last revision : (2015-7-5 year, month, day)
# Wine version used : 1.3.9
# Distribution used to test : Debian Squeeze (Testing)
# Author : NSLW & GNU_Raziel
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empires III"
PREFIX="AOE3"
WORKING_WINE_VERSION="1.7.46-staging"

if [ "$POL_LANG" == "fr" ]; then
LNG_CHOOSE_MEDIA="Quelle version possédez-vous?"
LNG_CD="Version CD"
LNG_DDV="Version Digital Download"
LNG_CHOOSE_DDV="Veuillez selectionner votre executable Digital Download de $TITLE"
LNG_WAIT_CP="Patientez pendant la préparation de l'installation..."
LNG_INSERT_MEDIA_1="Veuillez insérer le disque 1 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_INSERT_MEDIA_2="Veuillez insérer le disque 2 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_INSERT_MEDIA_3="Veuillez insérer le disque 3 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du\njeu sera terminée sous peine de devoir recommencer l'installation."
LNG_INSTALL_ON="Installation en cours..."
LNG_GAME_VMS="Quelle est la quantité de mémoire (Mo) de votre carte graphique ?\n(minimum pour ce jeu : 128)" 
LNG_VMS_ERROR="Ce jeu ne fonctionnera correctement qu'avec une carte graphique ayant plus de 128Mo de mémoire."
LNG_SUCCES="$TITLE a été installé avec succès."
else
LNG_CHOOSE_MEDIA="What version do you have?"
LNG_CD="CD Version"
LNG_DDV="Digital Download Version"
LNG_CHOOSE_DDV="Please select your $TITLE Digital Download executable"
LNG_WAIT_CP="Wait while the installation is prepared..."
LNG_INSERT_MEDIA_1="Please insert disk 1 into your disk drive\nif not already done."
LNG_INSERT_MEDIA_2="Please insert disk 2 into your disk drive\nif not already done."
LNG_INSERT_MEDIA_3="Please insert disk 3 into your disk drive\nif not already done."
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished\nor you will have to redo the installation."
LNG_INSTALL_ON="Installation in progress..."
LNG_GAME_VMS="How much memory does your graphics board have?\n(minimum for this game : 128)" 
LNG_VMS_ERROR="This game will work correctly only with a graphic card with more than 128Mo of memory."
LNG_SUCCES="$TITLE has been installed successfully."
fi

#starting the script
cd $REPERTOIRE/tmp
rm *.jpg
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"

#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"

#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory components
POL_Call POL_Install_vcrun6
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_msxml4
# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
POL_Call POL_Install_corefonts

#Choose between DVD and Digital Download version
POL_SetupWindow_menu "$LNG_CHOOSE_MEDIA" "Actions" "$LNG_CD~$LNG_DDV" "~"
 
if [ "$APP_ANSWER" == "$LNG_CD" ]; then
        GAME_MEDIAVERSION="CD"        
else
        GAME_MEDIAVERSION="DD"
fi

if [ "$GAME_MEDIAVERSION" == "CD" ]; then
        #Copy content of CDs to HDD
        TEMP="$REPERTOIRE/tmp/$PREFIX"
        chmod -R 777 "$TEMP"
        rm -R "$TEMP"
        mkdir -p "$TEMP"
        cd $WINEPREFIX/dosdevices
        rm ./d:
        ln -s "$TEMP" d:
        #asking for CDROM and checking if it's correct one
        #CD-ROM 1
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_1"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R
        #CD-ROM 2
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_2"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk2C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R
        #CD-ROM 3
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_3"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk3C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R

        if [ "$(find "$TEMP" -iname setup.exe)" = "$TEMP/setup.exe" ]; then
        wine "d:\\setup.exe"
        elif [ "$(find "$TEMP" -iname install.exe)" = "$TEMP/install.exe" ]; then
        wine "d:\\install.exe"
        else
        wine "d:\\instalar.exe"
        fi

        POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
else
        #Asking then installing DDV of the game
        cd $HOME
        POL_SetupWindow_browse "$LNG_CHOOSE_DDV" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_SetupWindow_wait_next_signal "$LNG_INSTALL_ON" "$TITLE"
        wine start /unix "$SETUP_EXE"
        INSTALL_ON="1"
        until [ "$INSTALL_ON" == "" ]; do
        sleep 5
        INSTALL_ON=`ps aux | grep "wineserver" | grep -v "grep"`
        done
        POL_SetupWindow_detect_exit
fi
 
#asking about memory size of graphic card
POL_SetupWindow_menu_list "$LNG_GAME_VMS" "$TITLE" "128-256-320-384-512-640-768-896-1024-1792-2048" "-" "128"
VMS="$APP_ANSWER"
 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
regedit vms.reg
if [ "$VMS" -lt "128" ]; then
        POL_SetupWindow_message "$LNG_VMS_ERROR" "$TITLE"
fi

#Fix for this game
wine regsvr32 l3codecx.ax 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
regedit AoE3_Fix.reg
 
## PlayOnMac Section
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section
Set_DXGrab "On"
 
#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$REPERTOIRE/tmp/"
        rm -rf "$REPERTOIRE/tmp/*"
fi
 
POL_SetupWindow_auto_shortcut "$PREFIX" "age3.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$LNG_SUCCES" "$TITLE" 
POL_SetupWindow_Close
exit

Replies

Falconet Wednesday 1 July 2015 at 20:22
Falconet Anonymous

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2009-22-11 10-15)
-# Last revision : (2010-12-12 22-00)
+# Last revision : (2015-01-07 19-22)
 # Wine version used : 1.3.9
 # Distribution used to test : Debian Squeeze (Testing)
 # Author : NSLW & GNU_Raziel
@@ -11,7 +11,7 @@
  
 TITLE="Age Of Empires III"
 PREFIX="AOE3"
-WORKING_WINE_VERSION="1.3.9"
+WORKING_WINE_VERSION="1.7.21"
 
 if [ "$POL_LANG" == "fr" ]; then
 LNG_CHOOSE_MEDIA="Quelle version possédez-vous?"

New source code

#!/bin/bash
# Date : (2009-22-11 10-15)
# Last revision : (2015-01-07 19-22)
# Wine version used : 1.3.9
# Distribution used to test : Debian Squeeze (Testing)
# Author : NSLW & GNU_Raziel
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empires III"
PREFIX="AOE3"
WORKING_WINE_VERSION="1.7.21"

if [ "$POL_LANG" == "fr" ]; then
LNG_CHOOSE_MEDIA="Quelle version possédez-vous?"
LNG_CD="Version CD"
LNG_DDV="Version Digital Download"
LNG_CHOOSE_DDV="Veuillez selectionner votre executable Digital Download de $TITLE"
LNG_WAIT_CP="Patientez pendant la préparation de l'installation..."
LNG_INSERT_MEDIA_1="Veuillez insérer le disque 1 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_INSERT_MEDIA_2="Veuillez insérer le disque 2 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_INSERT_MEDIA_3="Veuillez insérer le disque 3 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du\njeu sera terminée sous peine de devoir recommencer l'installation."
LNG_INSTALL_ON="Installation en cours..."
LNG_GAME_VMS="Quelle est la quantité de mémoire (Mo) de votre carte graphique ?\n(minimum pour ce jeu : 128)" 
LNG_VMS_ERROR="Ce jeu ne fonctionnera correctement qu'avec une carte graphique ayant plus de 128Mo de mémoire."
LNG_SUCCES="$TITLE a été installé avec succès."
else
LNG_CHOOSE_MEDIA="What version do you have?"
LNG_CD="CD Version"
LNG_DDV="Digital Download Version"
LNG_CHOOSE_DDV="Please select your $TITLE Digital Download executable"
LNG_WAIT_CP="Wait while the installation is prepared..."
LNG_INSERT_MEDIA_1="Please insert disk 1 into your disk drive\nif not already done."
LNG_INSERT_MEDIA_2="Please insert disk 2 into your disk drive\nif not already done."
LNG_INSERT_MEDIA_3="Please insert disk 3 into your disk drive\nif not already done."
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished\nor you will have to redo the installation."
LNG_INSTALL_ON="Installation in progress..."
LNG_GAME_VMS="How much memory does your graphics board have?\n(minimum for this game : 128)" 
LNG_VMS_ERROR="This game will work correctly only with a graphic card with more than 128Mo of memory."
LNG_SUCCES="$TITLE has been installed successfully."
fi

#starting the script
cd $REPERTOIRE/tmp
rm *.jpg
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"

#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"

#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory components
POL_Call POL_Install_vcrun6
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_msxml4
# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
POL_Call POL_Install_corefonts

#Choose between DVD and Digital Download version
POL_SetupWindow_menu "$LNG_CHOOSE_MEDIA" "Actions" "$LNG_CD~$LNG_DDV" "~"
 
if [ "$APP_ANSWER" == "$LNG_CD" ]; then
        GAME_MEDIAVERSION="CD"        
else
        GAME_MEDIAVERSION="DD"
fi

if [ "$GAME_MEDIAVERSION" == "CD" ]; then
        #Copy content of CDs to HDD
        TEMP="$REPERTOIRE/tmp/$PREFIX"
        chmod -R 777 "$TEMP"
        rm -R "$TEMP"
        mkdir -p "$TEMP"
        cd $WINEPREFIX/dosdevices
        rm ./d:
        ln -s "$TEMP" d:
        #asking for CDROM and checking if it's correct one
        #CD-ROM 1
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_1"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R
        #CD-ROM 2
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_2"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk2C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R
        #CD-ROM 3
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_3"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk3C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R

        if [ "$(find "$TEMP" -iname setup.exe)" = "$TEMP/setup.exe" ]; then
        wine "d:\\setup.exe"
        elif [ "$(find "$TEMP" -iname install.exe)" = "$TEMP/install.exe" ]; then
        wine "d:\\install.exe"
        else
        wine "d:\\instalar.exe"
        fi

        POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
else
        #Asking then installing DDV of the game
        cd $HOME
        POL_SetupWindow_browse "$LNG_CHOOSE_DDV" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_SetupWindow_wait_next_signal "$LNG_INSTALL_ON" "$TITLE"
        wine start /unix "$SETUP_EXE"
        INSTALL_ON="1"
        until [ "$INSTALL_ON" == "" ]; do
        sleep 5
        INSTALL_ON=`ps aux | grep "wineserver" | grep -v "grep"`
        done
        POL_SetupWindow_detect_exit
fi
 
#asking about memory size of graphic card
POL_SetupWindow_menu_list "$LNG_GAME_VMS" "$TITLE" "128-256-320-384-512-640-768-896-1024-1792-2048" "-" "128"
VMS="$APP_ANSWER"
 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
regedit vms.reg
if [ "$VMS" -lt "128" ]; then
        POL_SetupWindow_message "$LNG_VMS_ERROR" "$TITLE"
fi

#Fix for this game
wine regsvr32 l3codecx.ax 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
regedit AoE3_Fix.reg
 
## PlayOnMac Section
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section
Set_DXGrab "On"
 
#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$REPERTOIRE/tmp/"
        rm -rf "$REPERTOIRE/tmp/*"
fi
 
POL_SetupWindow_auto_shortcut "$PREFIX" "age3.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$LNG_SUCCES" "$TITLE" 
POL_SetupWindow_Close
exit

Replies

Anonymous
Wednesday 1 July 2015 at 20:22
I used this script, the Digital Download option and I used wine version 1.7.21 since 1.3.9 didn't work.

Everything works great except the ChaletOS (Xubuntu based) taskbar doesn't go away but it doesn't work either (meaning it works as if it was really without the task, clicking on the game buttons and all is working)
Falconet Wednesday 1 July 2015 at 17:54
Falconet Anonymous

Message

I used this script, the Digital Download option and I used wine version 1.7.21 since 1.3.9 didn't work.

Everything works great except the ChaletOS (Xubuntu  based) taskbar doesn't go away but it doesn't work either (meaning it works as if it was really without the task, clicking on the game buttons and all is working)

Replies

Anonymous
Tuesday 15 September 2015 at 23:50
Use the autohide fuction for the taskbar.
petch Sunday 12 April 2015 at 3:45
petch

Warning

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

Message

Install corefonts as a workaround for https://bugs.winehq.org/show_bug.cgi?id=20456 (issue entering CD key)

Didn't try to update the rest of the script though

Differences

@@ -63,6 +63,8 @@
 POL_Call POL_Install_vcrun6
 POL_Call POL_Install_dxfullsetup
 POL_Call POL_Install_msxml4
+# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
+POL_Call POL_Install_corefonts
 
 #Choose between DVD and Digital Download version
 POL_SetupWindow_menu "$LNG_CHOOSE_MEDIA" "Actions" "$LNG_CD~$LNG_DDV" "~"

New source code

#!/bin/bash
# Date : (2009-22-11 10-15)
# Last revision : (2010-12-12 22-00)
# Wine version used : 1.3.9
# Distribution used to test : Debian Squeeze (Testing)
# Author : NSLW & GNU_Raziel
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Age Of Empires III"
PREFIX="AOE3"
WORKING_WINE_VERSION="1.3.9"

if [ "$POL_LANG" == "fr" ]; then
LNG_CHOOSE_MEDIA="Quelle version possédez-vous?"
LNG_CD="Version CD"
LNG_DDV="Version Digital Download"
LNG_CHOOSE_DDV="Veuillez selectionner votre executable Digital Download de $TITLE"
LNG_WAIT_CP="Patientez pendant la préparation de l'installation..."
LNG_INSERT_MEDIA_1="Veuillez insérer le disque 1 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_INSERT_MEDIA_2="Veuillez insérer le disque 2 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_INSERT_MEDIA_3="Veuillez insérer le disque 3 dans votre lecteur\nsi ce n'est pas déja fait."
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du\njeu sera terminée sous peine de devoir recommencer l'installation."
LNG_INSTALL_ON="Installation en cours..."
LNG_GAME_VMS="Quelle est la quantité de mémoire (Mo) de votre carte graphique ?\n(minimum pour ce jeu : 128)" 
LNG_VMS_ERROR="Ce jeu ne fonctionnera correctement qu'avec une carte graphique ayant plus de 128Mo de mémoire."
LNG_SUCCES="$TITLE a été installé avec succès."
else
LNG_CHOOSE_MEDIA="What version do you have?"
LNG_CD="CD Version"
LNG_DDV="Digital Download Version"
LNG_CHOOSE_DDV="Please select your $TITLE Digital Download executable"
LNG_WAIT_CP="Wait while the installation is prepared..."
LNG_INSERT_MEDIA_1="Please insert disk 1 into your disk drive\nif not already done."
LNG_INSERT_MEDIA_2="Please insert disk 2 into your disk drive\nif not already done."
LNG_INSERT_MEDIA_3="Please insert disk 3 into your disk drive\nif not already done."
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished\nor you will have to redo the installation."
LNG_INSTALL_ON="Installation in progress..."
LNG_GAME_VMS="How much memory does your graphics board have?\n(minimum for this game : 128)" 
LNG_VMS_ERROR="This game will work correctly only with a graphic card with more than 128Mo of memory."
LNG_SUCCES="$TITLE has been installed successfully."
fi

#starting the script
cd $REPERTOIRE/tmp
rm *.jpg
POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ensemble Studios" "www.ageofempires3.com" "NSLW & GNU_Raziel" "$PREFIX"

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"

#downloading specific Wine
POL_SetupWindow_install_wine "$WORKING_WINE_VERSION"
Use_WineVersion "$WORKING_WINE_VERSION"

#fetching PROGRAMFILES environmental variable
POL_LoadVar_PROGRAMFILES

#Installing mandatory components
POL_Call POL_Install_vcrun6
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_msxml4
# Helps with entering CD key https://bugs.winehq.org/show_bug.cgi?id=20456
POL_Call POL_Install_corefonts

#Choose between DVD and Digital Download version
POL_SetupWindow_menu "$LNG_CHOOSE_MEDIA" "Actions" "$LNG_CD~$LNG_DDV" "~"
 
if [ "$APP_ANSWER" == "$LNG_CD" ]; then
        GAME_MEDIAVERSION="CD"        
else
        GAME_MEDIAVERSION="DD"
fi

if [ "$GAME_MEDIAVERSION" == "CD" ]; then
        #Copy content of CDs to HDD
        TEMP="$REPERTOIRE/tmp/$PREFIX"
        chmod -R 777 "$TEMP"
        rm -R "$TEMP"
        mkdir -p "$TEMP"
        cd $WINEPREFIX/dosdevices
        rm ./d:
        ln -s "$TEMP" d:
        #asking for CDROM and checking if it's correct one
        #CD-ROM 1
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_1"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R
        #CD-ROM 2
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_2"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk2C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R
        #CD-ROM 3
        POL_SetupWindow_message "$LNG_INSERT_MEDIA_3"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk3C~1.cab"
        POL_SetupWindow_wait_next_signal "$LNG_WAIT_CP" "$TITLE"
        cp -r "$CDROM"/* "$TEMP"
        chmod 777 "$TEMP" -R

        if [ "$(find "$TEMP" -iname setup.exe)" = "$TEMP/setup.exe" ]; then
        wine "d:\\setup.exe"
        elif [ "$(find "$TEMP" -iname install.exe)" = "$TEMP/install.exe" ]; then
        wine "d:\\install.exe"
        else
        wine "d:\\instalar.exe"
        fi

        POL_SetupWindow_message "$LNG_WAIT_END" "$TITLE"
else
        #Asking then installing DDV of the game
        cd $HOME
        POL_SetupWindow_browse "$LNG_CHOOSE_DDV" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_SetupWindow_wait_next_signal "$LNG_INSTALL_ON" "$TITLE"
        wine start /unix "$SETUP_EXE"
        INSTALL_ON="1"
        until [ "$INSTALL_ON" == "" ]; do
        sleep 5
        INSTALL_ON=`ps aux | grep "wineserver" | grep -v "grep"`
        done
        POL_SetupWindow_detect_exit
fi
 
#asking about memory size of graphic card
POL_SetupWindow_menu_list "$LNG_GAME_VMS" "$TITLE" "128-256-320-384-512-640-768-896-1024-1792-2048" "-" "128"
VMS="$APP_ANSWER"
 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
regedit vms.reg
if [ "$VMS" -lt "128" ]; then
        POL_SetupWindow_message "$LNG_VMS_ERROR" "$TITLE"
fi

#Fix for this game
wine regsvr32 l3codecx.ax 
cd "$WINEPREFIX/drive_c/windows/temp/"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]" > AoE3_Fix.reg
echo "\"quartz\"=\"builtin,native\"" >> AoE3_Fix.reg
echo "\"devenum\"=\"native\"" >> AoE3_Fix.reg
echo "\"msxml4\"=\"native\"" >> AoE3_Fix.reg
regedit AoE3_Fix.reg
 
## PlayOnMac Section
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section
Set_DXGrab "On"
 
#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$REPERTOIRE/tmp/"
        rm -rf "$REPERTOIRE/tmp/*"
fi
 
POL_SetupWindow_auto_shortcut "$PREFIX" "age3.exe" "$TITLE" "" ""
Set_WineVersion_Assign "$WORKING_WINE_VERSION" "$TITLE"
 
POL_SetupWindow_message "$LNG_SUCCES" "$TITLE" 
POL_SetupWindow_Close
exit

Replies

GeniousHardcore Sunday 1 March 2015 at 22:58
GeniousHardcore Anonymous

Message

I don't really understand, what the Script-Author or whoever it was,wrote, that this Programm/Game wouldn't run with the Original age3.exe

I could just guess, that this person means, that I have to Install an Update on Age of EWmpires III.

And by the way, how could I perform an Update,if the Original-Software is not correctly installed,after the Point:

 

Hit "Next" ONLY when the game installation is finished, or you will have to redo the installation.

 

I was not even noticing the Start of the Original Software-Installer...

Is it really in need, to run the Standard AoEIII-Setup manually, or can I finish the Installation after this Point.

It's for real confusing,so, I guess I need some Help at this Point.

Please RE, so that not just myself could play this nice game after a switch to Linux.

Replies

Anonymous
Sunday 1 March 2015 at 23:01
I forgot, here is the Crashlog,after my Ideas on how to Install this Game.
Anonymous
Sunday 1 March 2015 at 23:01
[03/01/15 22:31:50] - Running wine- cmd /c echo %ProgramFiles% (Working directory : /home/gerhard/.PlayOnLinux/tmp)
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:iphlpapi:NotifyAddrChange (Handle 0x167e7f0, overlapped 0x167e7fc): stub
wine: configuration in '/home/gerhard/.PlayOnLinux//wineprefix/AOE3' has been updated.
C:\Program Files
[03/01/15 22:32:08] - ----- Starting function POL_Install_vcrun6 -----
[03/01/15 22:32:08] - Running wine- vcredist.exe (Working directory : /home/gerhard/.PlayOnLinux/tmp)
[03/01/15 22:32:10] - ----- Starting function POL_Install_mfc42 -----
[03/01/15 22:32:10] - Running wine- regsvr32 mfc42.dll (Working directory : /home/gerhard/.PlayOnLinux/wineprefix/AOE3/drive_c/windows/temp)
[03/01/15 22:32:11] - Running wine- regsvr32 mfc42u.dll (Working directory : /home/gerhard/.PlayOnLinux/wineprefix/AOE3/drive_c/windows/temp)
[03/01/15 22:32:11] - ----- Starting function POL_Function_OverrideDLL -----
[03/01/15 22:32:12] - Running wine- regedit /home/gerhard/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/gerhard/.PlayOnLinux/tmp)
[03/01/15 22:32:12] - Content of /home/gerhard/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*mfc42"="native"
"*mfc42u"="native"
-----------
[03/01/15 22:32:12] - ----- Ending function POL_Function_OverrideDLL -----
[03/01/15 22:32:12] - ----- Ending function POL_Install_mfc42 -----
[03/01/15 22:32:12] - ----- Ending function POL_Install_vcrun6 -----
[03/01/15 22:32:17] - ----- Starting function POL_Install_dxfullsetup -----
[03/01/15 22:32:20] - Running wine- start /unix dxfullsetup/dxsetup.exe /silent (Working directory : /home/gerhard/.PlayOnLinux/ressources)
fixme:ole:DllRegisterServer stub
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
[03/01/15 22:32:39] - Running wine- regedit /home/gerhard/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:39] - Content of /home/gerhard/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*d3dx9_24"="native, builtin"
"*d3dx9_25"="native, builtin"
"*d3dx9_26"="native, builtin"
"*d3dx9_27"="native, builtin"
"*d3dx9_28"="native, builtin"
"*d3dx9_29"="native, builtin"
"*d3dx9_30"="native, builtin"
"*d3dx9_31"="native, builtin"
"*d3dx9_32"="native, builtin"
"*d3dx9_33"="native, builtin"
"*d3dx9_34"="native, builtin"
"*d3dx9_35"="native, builtin"
"*d3dx9_36"="native, builtin"
"*d3dx9_37"="native, builtin"
"*d3dx9_38"="native, builtin"
"*d3dx9_39"="native, builtin"
"*d3dx9_40"="native, builtin"
"*d3dx9_42"="native, builtin"
"*d3dx9_42"="native, builtin"
"*d3dx9_43"="native, builtin"
"*d3dx10_33"="native, builtin"
"*d3dx10_34"="native, builtin"
"*d3dx10_35"="native, builtin"
"*d3dx10_36"="native, builtin"
"*d3dx10_37"="native, builtin"
"*d3dx10_38"="native, builtin"
"*d3dx10_39"="native, builtin"
"*d3dx10_40"="native, builtin"
"*d3dx10_41"="native, builtin"
"*d3dx10_42"="native, builtin"
"*d3dx10_43"="native, builtin"
"*d3dx11_42"="native, builtin"
"*d3dx11_43"="native, builtin"
"*xinput1_1"="native, builtin"
"*xinput1_2"="native, builtin"
"*xinput1_3"="native, builtin"
"*xinput9_1_0"="native, builtin"
"*d3dcompiler_33"="native, builtin"
"*d3dcompiler_34"="native, builtin"
"*d3dcompiler_35"="native, builtin"
"*d3dcompiler_36"="native, builtin"
"*d3dcompiler_37"="native, builtin"
"*d3dcompiler_38"="native, builtin"
"*d3dcompiler_39"="native, builtin"
"*d3dcompiler_40"="native, builtin"
"*d3dcompiler_41"="native, builtin"
"*d3dcompiler_42"="native, builtin"
"*d3dcompiler_43"="native, builtin"
-----------
[03/01/15 22:32:41] - Running wine- regsvr32 xactengine2_0.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:41] - Running wine- regsvr32 xactengine2_10.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:41] - Running wine- regsvr32 xactengine2_1.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:41] - Running wine- regsvr32 xactengine2_2.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:41] - Running wine- regsvr32 xactengine2_3.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:42] - Running wine- regsvr32 xactengine2_4.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:42] - Running wine- regsvr32 xactengine2_5.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:42] - Running wine- regsvr32 xactengine2_6.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:42] - Running wine- regsvr32 xactengine2_7.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:42] - Running wine- regsvr32 xactengine2_8.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:42] - Running wine- regsvr32 xactengine2_9.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:43] - Running wine- regsvr32 xactengine3_0.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:43] - Running wine- regsvr32 xactengine3_1.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:43] - Running wine- regsvr32 xactengine3_2.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:43] - Running wine- regsvr32 xactengine3_3.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:43] - Running wine- regsvr32 xactengine3_4.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:43] - Running wine- regsvr32 xactengine3_5.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:43] - Running wine- regsvr32 xactengine3_6.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:44] - Running wine- regsvr32 xactengine3_7.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:44] - Running wine- regsvr32 XAudio2_0.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:44] - Running wine- regsvr32 XAudio2_1.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:44] - Running wine- regsvr32 XAudio2_2.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:44] - Running wine- regsvr32 XAudio2_3.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:45] - Running wine- regsvr32 XAudio2_4.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:45] - Running wine- regsvr32 XAudio2_5.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:45] - Running wine- regsvr32 XAudio2_6.dll (Working directory : /home/gerhard/.PlayOnLinux/ressources)
[03/01/15 22:32:45] - ----- Ending function POL_Install_dxfullsetup -----
[03/01/15 22:32:51] - ----- Starting function POL_Install_msxml4 -----
[03/01/15 22:32:51] - Running wine- msiexec /i msxml.msi /q (Working directory : /home/gerhard/.PlayOnLinux/ressources)
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
[03/01/15 22:32:52] - ----- Ending function POL_Install_msxml4 -----
[03/01/15 23:01:29] - Running wine- regedit /home/gerhard/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/gerhard/.PlayOnLinux/wineprefix/AOE3/drive_c/windows/temp)
[03/01/15 23:01:29] - Content of /home/gerhard/.PlayOnLinux//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"Managed"="Y"
-----------
[03/01/15 23:01:29] - Running wine- regedit /home/gerhard/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/gerhard/.PlayOnLinux/wineprefix/AOE3/drive_c/windows/temp)
[03/01/15 23:01:29] - Content of /home/gerhard/.PlayOnLinux//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"DXGrab"="Y"
-----------
[03/01/15 23:02:01] - Running wine-1.3.9 (Working directory : /home/gerhard/.PlayOnLinux/wineprefix/AOE3/drive_c)
wine: cannot find ''
[03/01/15 23:02:07] - Running wine-1.3.9 (Working directory : /home/gerhard/.PlayOnLinux/wineprefix/AOE3/drive_c)
wine: cannot find ''
Deleted account Sunday 11 January 2015 at 18:36
Deleted account Anonymous

Message

When attempting to install AOE3, I get the following error:

"Error in POL_Wine
Wine seems to have crashed

If your program is running, just ignore this message"

 

A window does not appear, I just get this message.

Replies

Sunday 11 January 2015 at 19:07
You need to please read the forum rules and stickies, and post appropriately with your full system specs and debug output, otherwise we cannot troubleshoot your issue. Thanks.

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