Installing xaudio2 (Serious Sam Second Encounter HD)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Installing xaudio2 (Serious Sam Second Encounter HD)

Post by etwineb »

Is there a way to install xaudio2 without using the large `winetricks directx9' ?

I am asking because I would like to try serious sam second hd, but in a clean wineprefix it does not start asking for a xaudio2 dll.
I copied that .dll inside the game directory, but the game starts soundless and it shows an error about an non-updated xaudio2.

A part of the lack of the audio the game runs well...

Now, using winetricks directx9 the game starts and the audio works, but the game seems much slower. So I was wondering if it possible to install xaudio2 without installing all directx9.


Here is what I tried.

I installed directx9 in a separated wineprefix and I copied in the game folder the files whose name is (case a part):

windows/system32/xactengine*
windows/system32/x3daudio*

and I used regsvr32 to register the xactengine* ones.

The idea was inspired by this bug report:
http://bugs.winehq.org/show_bug.cgi?id=12182

But it does not work, Serious Sam still complains about the lack of an updated xaudio2.
What can I try? Do anyone know what components are part of xaudio2?

Thanks
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

How about
winetricks xact
?
etwineb
Level 4
Level 4
Posts: 101
Joined: Wed Dec 10, 2008 12:05 pm

Post by etwineb »

OPS. Thanks!

Maybe we should ask a enhancement to winetricks and put the word directx, xaudio or x3d somewhere in the xact description... I really missed it
Locked