SWAT 2 Crash Fix


The Problem:


You are probably reading this after you installed Swat 2 in Windows 10 and tried running it for the first time.  You got an immediate crash to desktop as the game is starting up.  Maybe you got a vague error about "The application was unable to start correctly (0xc0000022)". What the heck is going on?!


The Cause:


You probably have a file permission problem and most likely it is with the file:

Google reports that: "the 'dplayx. dll' file is one of many files contained in the DirectX. Since DirectX is utilized by most Windows based games and advanced graphics programs, the errors related to this file would occur when trying to play games."




You will need to change the file permission for "dplayx.dll" from READ to FULL CONTROL.   You can do this for the Administrator account or for a specific user account.

How do you change the permission you may ask?  Read the following link on how to change permissions of a file in Windows 10.



Replacement XVID movies


If your game still can't run the movies you may wish to download replacement movies and overwrite the originals with those encoded in XVID format. Confirm that your system can play XVID movies by displaying one of these replacement Swat 2 movies with Windows Media Player. If the movie can't be displayed you will need also need to download the XVID codec from their website.



Help I still get a crash!


Your system may be having difficulty playing the Swat 2 movies.   To confirm that this is the problem GOG.com support recommends you go to the folder that Swat 2 was installed into and temporarily rename the movie folder (for instance rename it from "Movies" to "MoviesBackup".

Re-run the game and see if you can get past the part in which it crashed at.



Troubleshooting Further


If everything above fails you may wish to further troubleshoot on your own. Here is a tutorial on how to look in the Windows Event Viewer for errors. Although this page is written for Swat 3 you can easily just type Swat 2 when searching instead. This error may gives clues to what is causing the problem and how to fix it.

Paypal donation

Haystakk generously provides us website hosting at his expense so please consider a small donation to help keep this site running.  All donations go directly to him to help pay the hosting fees.  Even a small donation of a dollar or two is much appreciated.  Thanks.

2021  Swat 3 Last Resort - Swat 3 Game Modification
© 2001 Activision Publishing, Inc. Activision and SWAT are registered trademarks of
Activision Publishing, Inc. All other trademarks are property of their respective owners.