No sound inside Age of Empires 2

Questions about Wine on Linux
Locked
kromak
Level 2
Level 2
Posts: 20
Joined: Mon Dec 23, 2019 2:56 pm

No sound inside Age of Empires 2

Post by kromak »

Hello. When trying to run Age of Empires 2, it shows no sound during gameplay or with the introductory videos. There is sound during the main screen.

Some console output during execution
wine empires2.exe
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2019, dlt (d/m/y): 20/10/2019
fixme:system:SystemParametersInfoW Unimplemented action: 110 (SPI_GETSHOWIMEUI)
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32d730,0x00000000), stub!
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32d0c4,0x00000000), stub!
fixme:system:SystemParametersInfoW Unimplemented action: 111 (SPI_SETSHOWIMEUI)
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x14a860,0x14ac90): stub
err:dplay:DP_InitializeDPSP DP SP Initialization failed: DPERR_UNAVAILABLE
err:dplay:DirectPlayCreate Failed to Initialize SP: DPERR_UNAVAILABLE
err:dplay:DP_IF_InitializeConnection Unable to load service provider {44eaa760-cb68-11cf-9c4e-00a0c905425e}
err:dplay:DirectPlayCreate Failed to Initialize SP: DPERR_UNAVAILABLE
err:dplay:DP_IF_InitializeConnection Unable to load service provider {0f1d6860-88d9-11cf-9c4e-00a0c905425e}
err:dplay:DirectPlayCreate Failed to Initialize SP: DPERR_UNAVAILABLE
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window 0x10056, but another style (96080000, 00000000) is already stored.
The wine version it is wine-1.2.2

Any suggestions (if possible ones that work for the 1.2.2 Wine)
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: No sound inside Age of Empires 2

Post by jkfloris »

Why do you want to use an old version?
An audio bug in Age of Empires 2 was fixed in 1.5.1
kromak
Level 2
Level 2
Posts: 20
Joined: Mon Dec 23, 2019 2:56 pm

Re: No sound inside Age of Empires 2

Post by kromak »

Because it is the version that comes with my OS. I tried to install version 1.5.1 but it complains
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
Suggestions?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: No sound inside Age of Empires 2

Post by jkfloris »

Because it is the version that comes with my OS
What is the name and version of your OS?
kromak
Level 2
Level 2
Posts: 20
Joined: Mon Dec 23, 2019 2:56 pm

Re: No sound inside Age of Empires 2

Post by kromak »

jkfloris wrote: Wed Dec 25, 2019 5:18 am
Because it is the version that comes with my OS
What is the name and version of your OS?
Ubuntu 10.04.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: No sound inside Age of Empires 2

Post by dimesio »

kromak wrote: Wed Dec 25, 2019 2:23 pm Ubuntu 10.04.
Ubuntu 10.04 went EOL in 2015. You need to upgrade your OS.
kromak
Level 2
Level 2
Posts: 20
Joined: Mon Dec 23, 2019 2:56 pm

Re: No sound inside Age of Empires 2

Post by kromak »

dimesio wrote: Wed Dec 25, 2019 8:49 pm Ubuntu 10.04 went EOL in 2015. You need to upgrade your OS.
Unfortunately I can't do that.
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: No sound inside Age of Empires 2

Post by amera_09 »

PULSE_SERVER="localhost:0"
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: No sound inside Age of Empires 2

Post by amera_09 »

amera_09 wrote: Thu Dec 26, 2019 8:13 pm PULSE_SERVER=localhost:4712
kromak
Level 2
Level 2
Posts: 20
Joined: Mon Dec 23, 2019 2:56 pm

Re: No sound inside Age of Empires 2

Post by kromak »

When I type
PULSE_SERVER=localhost:4712
on command line and then runs age2, it seems to start with sound, but it soon vanishes, like in the link posted by jkfloris. Plus it seems to have small "stops" where it game's characters and everything else seems to stop by a fraction of seconds every couple of seconds.

Here the wine output for my latest attempt (Started a game with sound, that soon vanished, exit the game, started another, this time with no sound at all)
leopoldo@leopoldo-desktop:~/jogos/aoe/tc$ PULSE_SERVER=localhost:4712
leopoldo@leopoldo-desktop:~/jogos/aoe/tc$ wine age2_x1.exe
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2019, dlt (d/m/y): 20/10/2019
fixme:system:SystemParametersInfoW Unimplemented action: 110 (SPI_GETSHOWIMEUI)
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32bd14,0x00000000), stub!
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
fixme:win:EnumDisplayDevicesW ((null),0,0x32b6a8,0x00000000), stub!
fixme:system:SystemParametersInfoW Unimplemented action: 111 (SPI_SETSHOWIMEUI)
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x150e20,0x151258): stub
err:dplay:DP_InitializeDPSP DP SP Initialization failed: DPERR_UNAVAILABLE
err:dplay:DirectPlayCreate Failed to Initialize SP: DPERR_UNAVAILABLE
err:dplay:DP_IF_InitializeConnection Unable to load service provider {44eaa760-cb68-11cf-9c4e-00a0c905425e}
err:dplay:DirectPlayCreate Failed to Initialize SP: DPERR_UNAVAILABLE
err:dplay:DP_IF_InitializeConnection Unable to load service provider {0f1d6860-88d9-11cf-9c4e-00a0c905425e}
err:dplay:DirectPlayCreate Failed to Initialize SP: DPERR_UNAVAILABLE
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window 0x10056, but another style (96080000, 00000000) is already stored.
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x150e20,0x151258): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x150e20,0x151258): stub
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window 0x10056, but another style (96080000, 00000000) is already stored.
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window 0x10056, but another style (96080000, 00000000) is already stored.
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1512d0,0x151258): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x187570,0x151258): stub
err:d3d:swapchain_setup_fullscreen_window Changing the window style for window 0x10056, but another style (96080000, 00000000) is already stored.
Locked