How to install FAudio on Linux

0
1142
Install FAudio Linux

How to install FAudio on Linux:

FAudio is an XAudio reimplementation that focuses solely on developing fully accurate DirectX Audio runtime libraries for the FNA project, including XAudio2, X3DAudio, XAPO, and XACT3. FAudio was written to be used for FNA’s Audio/Media namespaces and it fixes sound issues in many games.

How to install FAudio on Linux:

The easiest way to instal FAudio for now:

Thanks to Kron4ek you can download a precompiled FAudio from his GitHub site. Now you can install FAudio via the install script. You’ll have to export the path to your Wine prefix:

export WINEPREFIX="/path/to/wine prefix"

and start the install script:

./wine_setup_faudio.sh

You are ready to go!

Yet another way for FAudio installation but complicated:

Another way for FAudio installation is to manually copy the dlls from the FAudio x64 folder and paste them іn thе Wіnе рrеfіх іn the ѕуѕtеm32 fоldеr. Be adviced FAudio doesn’t work with x86 games for now.

Now you’ll have to make dll override to „Native“ for every single library you copied. This is quite a work so you can just import a .reg file. Create a text file with .reg extension for example faudio.reg. Then copy and paste the following:

Spoiler

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
„x3daudio1_3″=“native“
„x3daudio1_4″=“native“
„x3daudio1_5″=“native“
„x3daudio1_6″=“native“
„x3daudio1_7″=“native“
„xapofx1_1″=“native“
„xapofx1_2″=“native“
„xapofx1_3″=“native“
„xapofx1_4″=“native“
„xapofx1_5″=“native“
„xaudio2_0″=“native“
„xaudio2_1″=“native“
„xaudio2_2″=“native“
„xaudio2_3″=“native“
„xaudio2_4″=“native“
„xaudio2_5″=“native“
„xaudio2_6″=“native“
„xaudio2_7″=“native“
„xaudio2_8″=“native“
„xaudio2_9″=“native“
„avcodec-58″=“native“
„avutil-56″=“native“
„FAudio“=“native“
„libiconv-2″=“native“
„liblzma-5″=“native“
„libwinpthread-1″=“native“
„SDL2″=“native“
„swresample-3″=“native“
„xactengine3_0″=“native“
„xactengine3_1″=“native“
„xactengine3_2″=“native“
„xactengine3_3″=“native“
„xactengine3_4″=“native“
„xactengine3_5″=“native“
„xactengine3_6″=“native“
„xactengine3_7″=“native“
„zlib1″=“native“

[collapse]

Now open regedit with the following command:

winetricks regedit

And import the .reg file from Registry->Import Registry File… The expected result in the Wine settings is this:

Прочетете още:  Panzer General 2 Linux DXVK Wine

How to install FAudio on LinuxAll done!

Keep in mind the script creates symlinks to FAudio dlls, so don’t remove FAudio directory after installation. For x86 games you’ll have to use xact:

winetricks xact

You can visit FAudio official GitHub site here.

5/5 (3 Reviews)