Jump to content

I was trying to play an older DX9 game but it won't launch even after uninstalling and reinstalling the game and distributes. I checked the event logger and it showed that there was an error with the XAudio2_4.dll file. Is there any way to fix this file from a known good copy of windows? Please help!

Link to comment
https://linustechtips.com/topic/1223633-dll-error-in-the-system-32-folder/
Share on other sites

Link to post
Share on other sites

8 minutes ago, PhoenixIO said:

I was trying to play an older DX9 game but it won't launch even after uninstalling and reinstalling the game and distributes. I checked the event logger and it showed that there was an error with the XAudio2_4.dll file. Is there any way to fix this file from a known good copy of windows? Please help!

You could run a system check for any missing dll's via command prompt. I forget how to do that but search it and see if that helps

 

Link to post
Share on other sites

I'm not sure about the legality of providing a copy of the file, or the wisdom in accepting random DLLs from strangers on the internet, so while theoretically I or many others could give you a copy, I'm not sure that's the best idea.  From what I can tell it is a component of DirectX, so perhaps reinstalling DX9 would do the trick?

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to post
Share on other sites

I am running a test bench on windows 10 that is a clean install and I tested the game and it works on that machine so i'm not worried with its validity. I already tried using the DX installer from the game (steam) to reinstall the file. Would it be possible to delete the file then re install DX9?

Link to post
Share on other sites

14 minutes ago, PhoenixIO said:

I am running a test bench on windows 10 that is a clean install and I tested the game and it works on that machine so i'm not worried with its validity. I already tried using the DX installer from the game (steam) to reinstall the file. Would it be possible to delete the file then re install DX9?

You could certainly do this.  You could also try downloading a DX9 installer from Microsoft directly.  Perhaps the bundled version has some issue.

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to post
Share on other sites

I tried deleting the file then running the install from Microsoft and the issue is still present. Here is the event error log, maybe there is something in there that I am missing.

 

Faulting application name: LEGOHarryPotter.exe, version: 1.0.0.0, time stamp: 0x4c051b18
Faulting module name: XAudio2_4.dll, version: 9.26.1590.0, time stamp: 0x49bebf9f
Exception code: 0xc0000005
Fault offset: 0x00037e71
Faulting process id: 0x2fb8
Faulting application start time: 0x01d65cd4f71cb21b
Faulting application path: D:\Games\SteamLibrary\steamapps\common\LEGO Harry Potter\LEGOHarryPotter.exe
Faulting module path: C:\Windows\System32\XAudio2_4.dll
Report Id: a92f5614-8532-4a2a-8764-61f137b5b623
Faulting package full name: 
Faulting package-relative application ID: 

Link to post
Share on other sites

Perhaps this is simply a symptom of a larger problem - that is, not specifically an issue with that file or DX9 but some broader compatibility issue and it's just manifesting in an error calling out this particular thing.  I am reluctant to bother recommending it since its track record for me is so incredibly lack lustre, but have you tried running in compatibility mode for Windows 7 or some other previous version?

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to post
Share on other sites

30 minutes ago, PhoenixIO said:

The weird thing is that Lego Harry Potter 5-7 works fine. Do you know if DX9 has issues with newer hardware (9900k and 2080ti)?

I'm not aware of anything like that but that doesn't mean by any stretch that it's not possible.

Solve your own audio issues  |  First Steps with RPi 3  |  Humidity & Condensation  |  Sleep & Hibernation  |  Overclocking RAM  |  Making Backups  |  Displays  |  4K / 8K / 16K / etc.  |  Do I need 80+ Platinum?

If you can read this you're using the wrong theme.  You can change it at the bottom.

Link to post
Share on other sites

If it's working on clean install, then copy that library from your clear installation and paste it into game folder on your old installation. Most of games and programs looks into installation directory first, so even if you have different version of that dll in your system, game will use file from its own folder.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×