The forum

AOE 2 not launching

Author Replies
cyrusB Monday 16 September 2013 at 15:59
cyrusBAnonymous

Hi, a bit of a noob here, so please bear with me if this is an obvious fix.

I used POL to install AOE2, went perfectly, no problems. However, when I go to launch the game, I get the ever unhelpful "Error in main
Age Of Empires II: The Age of Kings crashed."

I'm running Linux Mint 15 Olivia (Cinnamon) with Wine 1.6, the latest version of POL (4.2.1).

The bug report doesn't seem very helpful, but I'll include it:

[09/14/13 21:27:26] - Running wine-1.6 --version (Working directory : /home/jbecar/.PlayOnLinux)
wine-1.6

PlayOnLinux logfile
-------------------
Date: 09/14/13 21:27:26

> PlayOnLinux Version
  4.2.1
> uname -a
  Linux TEANCUM 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version
  wine-1.6
> POL_WINEVERSION
  1.6
> WINEPREFIX
  /home/jbecar/.PlayOnLinux//wineprefix/AOE2_king
> Distribution
  Linux Mint 15 Olivia
> glxinfo \| grep rendering
  direct rendering: Yes
> glxinfo \| grep renderer
  OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile 
> OpenGL libs (Direct rendering testing)
  32bits direct rendering is enabled
  64bits direct rendering is enabled

[09/14/13 21:27:45] - Running wine-1.6 cmd /c echo %ProgramFiles% (Working directory : /home/jbecar/.PlayOnLinux)
C:\Program Files
[09/14/13 21:27:49] - ----- Starting function POL_Install_PrivateUserDirs -----
[09/14/13 21:27:49] - ----- Ending function POL_Install_PrivateUserDirs -----
[09/14/13 21:28:18] - Running wine-1.6 start /unix /media/jbecar/AOE2/aoesetup.exe  (Working directory : /media/jbecar)
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\windows\\system32\\ir41_32.ax") stub
fixme:ole:CoCreateInstance no instance created for interface {a3d8cec0-7e5a-11cf-bbc5-00805f6cef20} of class {bd323430-ce94-11ce-82dd-0800095a5b55}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {a3d8cec0-7e5a-11cf-bbc5-00805f6cef20} of class {bd323431-ce94-11ce-82dd-0800095a5b55}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {a3d8cec0-7e5a-11cf-bbc5-00805f6cef20} of class {87ca6f02-49e4-11cf-a3fe-00aa003735be}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {a3d8cec0-7e5a-11cf-bbc5-00805f6cef20} of class {bd323432-ce94-11ce-82dd-0800095a5b55}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {a3d8cec0-7e5a-11cf-bbc5-00805f6cef20} of class {bd323433-ce94-11ce-82dd-0800095a5b55}, hres is 0x80004002
fixme:ole:CoCreateInstance no instance created for interface {a3d8cec0-7e5a-11cf-bbc5-00805f6cef20} of class {87ca6f04-49e4-11cf-a3fe-00aa003735be}, hres is 0x80004002
fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
fixme:shell:SHChangeNotify ignoring unsupported flags: 2001
fixme:service:SERV_QueryServiceObjectSecurity 0x16af00 4 0xf6e0b8 512 0xf6dea4 - semi-stub
fixme:service:SetServiceObjectSecurity 0x16af00 4 0xf6deb8
[09/14/13 21:29:13] - Running wine-1.6 wineboot (Working directory : /media/jbecar)
[09/14/13 21:29:44] - Running wine-1.6 start /unix Age2upA.exe  (Working directory : /home/jbecar/.PlayOnLinux/tmp/AOE2_king)
[09/14/13 21:29:55] - Running wine-1.6 wineboot (Working directory : /home/jbecar/.PlayOnLinux/tmp/AOE2_king)
[09/14/13 21:30:09] - Running wine-1.6 empires2.exe -nostartup (Working directory : /home/jbecar/.PlayOnLinux/wineprefix/AOE2_king/drive_c/Program Files/Microsoft Games/Age of Empires II)
[09/14/13 21:30:18] - Running wine-1.6 empires2.exe -nostartup (Working directory : /home/jbecar/.PlayOnLinux/wineprefix/AOE2_king/drive_c/Program Files/Microsoft Games/Age of Empires II)
[09/15/13 17:13:29] - Running wine-1.6 empires2.exe -nostartup (Working directory : /home/jbecar/.PlayOnLinux/wineprefix/AOE2_king/drive_c/Program Files/Microsoft Games/Age of Empires II)
[09/15/13 17:14:16] - Running wine-1.6 empires2.exe -nostartup (Working directory : /home/jbecar/.PlayOnLinux/wineprefix/AOE2_king/drive_c/Program Files/Microsoft Games/Age of Empires II)
[09/15/13 17:20:08] - Running wine-1.6 winecfg (Working directory : /home/jbecar/.PlayOnLinux)
[09/15/13 17:20:27] - Running wine-1.6 empires2.exe -nostartup (Working directory : /home/jbecar/.PlayOnLinux/wineprefix/AOE2_king/drive_c/Program Files/Microsoft Games/Age of Empires II)
[09/16/13 07:50:35] - Running wine-1.6 empires2.exe -nostartup (Working directory : /home/jbecar/.PlayOnLinux/wineprefix/AOE2_king/drive_c/Program Files/Microsoft Games/Age of Empires II)


Also, I tried running it directly with Wine, and got this in the error details:

Unhandled exception: page fault on write access to 0x00000067 in 32-bit code (0x0040d772).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0040d772 ESP:0033fce8 EBP:0033fdd4 EFLAGS:00010212(  R- --  I   -A- - )
 EAX:00400000 EBX:7b8b4ff4 ECX:0033fcec EDX:00000067
 ESI:0013343c EDI:00419fe0
Stack dump:
0x0033fce8:  00410db5 00000000 00400000 00000067
0x0033fcf8:  00419fe0 0013343c 7b8b4ff4 00134420
0x0033fd08:  00000000 00000002 000008e0 0010fa48
0x0033fd18:  004595c0 00000000 00000018 00000065
0x0033fd28:  00000000 00400000 00000067 00459000
0x0033fd38:  00330001 00000094 00000005 00000001
Backtrace:
=>0 0x0040d772 in empires2 (+0xd772) (0x0033fdd4)
  1 0x0041a132 in empires2 (+0x1a131) (0x0033fe60)
  2 0x7b85f22c call_process_entry+0xb() in kernel32 (0x0033fe78)
  3 0x7b8604ab in kernel32 (+0x504aa) (0x0033feb8)
  4 0x7bc78e30 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  5 0x7bc7be3d call_thread_func+0x7c() in ntdll (0x0033ffa8)
  6 0x7bc78e0e RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  7 0x7bc4e0ce call_dll_entry_point+0x33d() in ntdll (0x0033ffe8)
  8 0xf75ff66d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  9 0xf75ff72b wine_switch_to_stack+0x2a() in libwine.so.1 (0xffa11898)
  10 0x7bc53f30 LdrInitializeThunk+0x3af() in ntdll (0xffa11908)
  11 0x7b866a82 __wine_kernel_init+0xa21() in kernel32 (0xffa12ab8)
  12 0x7bc546eb __wine_process_init+0x25a() in ntdll (0xffa12b48)
  13 0xf75fcbcc wine_init+0x2db() in libwine.so.1 (0xffa12bb8)
  14 0x7bf00d0b main+0x8a() in <wine-loader> (0xffa13008)
  15 0xf7420935 __libc_start_main+0xf4() in libc.so.6 (0x00000000)
0x0040d772: mov %ss,0x0(%edx)
Modules:
Module Address Debug info Name (55 modules)
PE  400000-  459000 Export          empires2
PE 10000000-1000c000 Deferred        drvmgt
ELF 7b800000-7ba5b000 Dwarf           kernel32<elf>
  \-PE 7b810000-7ba5b000 \               kernel32
ELF 7bc00000-7bcd9000 Dwarf           ntdll<elf>
  \-PE 7bc10000-7bcd9000 \               ntdll
ELF 7bf00000-7bf04000 Dwarf           <wine-loader>
ELF 7e3ae000-7e42f000 Deferred        rpcrt4<elf>
  \-PE 7e3c0000-7e42f000 \               rpcrt4
ELF 7e42f000-7e453000 Deferred        imm32<elf>
  \-PE 7e440000-7e453000 \               imm32
ELF 7e499000-7e4a0000 Deferred        libxfixes.so.3
ELF 7e4a0000-7e4ab000 Deferred        libxcursor.so.1
ELF 7e4ab000-7e4bb000 Deferred        libxi.so.6
ELF 7e4bb000-7e4bf000 Deferred        libxcomposite.so.1
ELF 7e4bf000-7e4ca000 Deferred        libxrandr.so.2
ELF 7e4ca000-7e4d4000 Deferred        libxrender.so.1
ELF 7e4d4000-7e4da000 Deferred        libxxf86vm.so.1
ELF 7e4da000-7e4de000 Deferred        libxinerama.so.1
ELF 7e4de000-7e4e5000 Deferred        libxdmcp.so.6
ELF 7e4e5000-7e4e9000 Deferred        libxau.so.6
ELF 7e4e9000-7e50b000 Deferred        libxcb.so.1
ELF 7e50b000-7e511000 Deferred        libuuid.so.1
ELF 7e511000-7e52b000 Deferred        libice.so.6
ELF 7e52b000-7e662000 Deferred        libx11.so.6
ELF 7e662000-7e674000 Deferred        libxext.so.6
ELF 7e674000-7e67d000 Deferred        libsm.so.6
ELF 7e69d000-7e72f000 Deferred        winex11<elf>
  \-PE 7e6b0000-7e72f000 \               winex11
ELF 7e794000-7e7bc000 Deferred        libexpat.so.1
ELF 7e7bc000-7e7f5000 Deferred        libfontconfig.so.1
ELF 7e7f5000-7e80e000 Deferred        libz.so.1
ELF 7e80e000-7e8a9000 Deferred        libfreetype.so.6
ELF 7e8a9000-7e8c8000 Deferred        libtinfo.so.5
ELF 7e8c8000-7e8ea000 Deferred        libncurses.so.5
ELF 7e90a000-7e979000 Deferred        advapi32<elf>
  \-PE 7e920000-7e979000 \               advapi32
ELF 7e979000-7ea97000 Deferred        gdi32<elf>
  \-PE 7e990000-7ea97000 \               gdi32
ELF 7ea97000-7ebf2000 Deferred        user32<elf>
  \-PE 7eab0000-7ebf2000 \               user32
ELF 7ef62000-7ef6f000 Deferred        libnss_files.so.2
ELF 7ef6f000-7ef7b000 Deferred        libnss_nis.so.2
ELF 7ef7b000-7ef94000 Deferred        libnsl.so.1
ELF 7ef94000-7ef9d000 Deferred        libnss_compat.so.2
ELF 7ef9d000-7efe0000 Deferred        libm.so.6
ELF 7efe6000-7f000000 Deferred        version<elf>
  \-PE 7eff0000-7f000000 \               version
ELF f7402000-f7407000 Deferred        libdl.so.2
ELF f7407000-f75ba000 Dwarf           libc.so.6
ELF f75bb000-f75d6000 Deferred        libpthread.so.0
ELF f75d7000-f75e0000 Deferred        librt.so.1
ELF f75f6000-f77ac000 Dwarf           libwine.so.1
ELF f77ae000-f77d0000 Deferred        ld-linux.so.2
ELF f77d0000-f77d1000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\home\jbecar\PlayOnLinux's virtual drives\AOE2_king\drive_c\Program Files\Microsoft Games\Age of Empires II\empires2.EXE
00000009    0 <==
0000000e services.exe
00000025    0
0000001d    0
00000018    0
00000016    0
00000014    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001a    0
00000019    0
00000017    0
00000013    0
0000001b plugplay.exe
00000020    0
0000001f    0
0000001c    0
00000021 explorer.exe
00000023    0
00000022    0
System information:
    Wine build: wine-1.6
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.8.0-19-generic


Thanks in advance!
booman Thursday 19 September 2013 at 1:47
booman

Hey, Welcome fellow Mint gamer!

Since you are using Ubuntu 64-bit operating system and games are mostly 32-bit, its a good idea to install the 32-bit libraries for Linux.

Here is a good article on multiarch and 32-bit libraries: Mint multiarch

You will have to use the Terminal to apply these libraries, but they are definitely necessary for playing games in Wine.

Multiarch installation
sudo dpkg --add-architecture i386

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained

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 dmcayonlinux.com