   _______          __  _______ _  ___   __
  / ____\ \        / /\|__   __| || \ \ / /
 | (___  \ \  /\  / /  \  | |  | || |\ V / 
  \___ \  \ \/  \/ / /\ \ | |  |__   _> <  
  ____) |  \  /\  / ____ \| |     | |/ . \ 
 |_____/    \/  \/_/    \_\_|     |_/_/ \_\
1:04 AM 2017-03-12

.: General Information :.
This alternative Engine.dll file allows for:
- Dedicated server setup
- Game servers listings in the in-game server browser

.: Requirements:.
- SWAT 4 - The Stetchkov Syndicate V1.0 from GOG.com
- Ability to copy paste a file with the game closed.

.: Background :.

GOG took SWAT 4 under it's belt, and released a "new" version.

I recently purchased the GOG version and found that just like the
old CD version, game server listings don't work.

However, someone was nice enough to fix it:
https://www.gog.com/forum/swat_series/swat_4_multiplayer_patch/page1

What this person did was Hex Edit the Engine.dll file, and replace
any mention of gamespy.com with his/her own custom gamespy service.

This works great and all, but if you run a server you will get a
message of "Invalid CD Key". Running a dedicated server will give
ServerCDKeyAuthenticationFailed and crash when someone connects to
said server.

Long story short (tl;dr) I hex'd two engine.dll files together so
that you can run the game with a server browser and run a server.

.: Instructions :.

1. Visit the the SWAT 4X folder:

C:\GOG Games\SWAT 4\ContentExpansion\System

2. Backup the Engine.dll file (or Engine with an icon of two gears)

3. Copy & Paste this Engine.dll file into the same place.