Gamespy master server emulators
Page 1 of 1

Author:  aluigi [ Tue Aug 05, 2014 11:05 am ]
Post subject:  Gamespy master server emulators

At the end of May 2014 Gamespy closed all their public servers used by tons of games (over 5000) for many things like server browsing, nat negotiation, chat, matchmaking, stats and so on.

In the last 12 years I have made lot of research about the protocols used by this infrastructure and you can find all my code here:

The same Gamespy released an open source SDK in 2011:

Now this thread is dedicated to ALL the currently available solutions created by the community to emulate the Gamespy network.
It's difficult to find all these projects so feel free to add any resource of which you are aware.
Additionally hosting a public server is ever a big security risk and it's difficult to know what the security status of these projects.

OpenSpy (Masaq fork)
OpenSpy was the first project to emulate the GS network, it started as an online-only project and later its code was released publicly.
The old OpenSpy code is no longer supported from 2 years (afaik) and currently there is a fork maintained by Masaq that is fully active.
As far as I know it should support almost all the services.
Written in C++.

It supports only the master server part of the network and doesn't seem to support enctypeX.
Written in Java.

Project Reality MasterServer
Battlefield 2 only.

Neverwinter Nights 2 only.

DS and Wii games, I don't know what network protocols are supported, probably login and master server (enctypeX).

gs_login_server and peerchat_server
They are only proof-of-concepts but they did the job to run the game in LAN without master server.
I remember that some people used them to play online with fake names and values :)
A third-party SQL fork is available on https://code.google.com/p/gsloginserver/

Battlefield 2 Demo Revive Project - GameSpy Profile and Master Server Emulation for Battlefield 2 Demo


Gamespy online substitutes.
Online-only servers (no code to use by yourself) that can be used by modifying the hosts file to change the DNS resolution.


Master server and limited login support.

Epic Games Unreal Tournament 3
Epic Games have their own Gamespy replacement for UT3.


A quick explanation of the "enctype" words you have seen referred to the master server code:
  • enctype 0: no encryption, used by old games probably before 2003
  • enctype 1: used only by the Gamespy3D tool (who used that?!?)
  • enctype 2: used by many games like Battlefield 2
  • enctype X: used by the recent games
Note that the usage of enctype 2 or X is probably due to the SDK version used by the developers when they started to work on their game.
For example Halo1 was released in 2003 and used enctypeX while Battlefield 2 released in 2005 uses enctype 2.

File comment: GameSpy Open SDK 1.00
GameSpyOpenSDKs_v1_00.zip [3.94 MiB]
Downloaded 1996 times

Author:  aluigi [ Fri Aug 08, 2014 4:48 am ]
Post subject:  Re: Gamespy master server emulators

Who works with the Gamespy master server protocol probably would find useful the following tool:
It's an off-line enctype decrypter.
Dump the raw tcp connection you collected with Wireshark and it will do the rest asking only the gamekey (-g gamekey).

Author:  maraakate [ Fri May 15, 2015 5:01 pm ]
Post subject:  Re: Gamespy master server emulators

Here is an early version that I have been working for the past week based off q2master which was based from gloommaster:

http://dk.toastednet.org/gsem/DKMASTER_02.zip -- Source only, tested building on MSVC but should work with *nix with little to no source changes. Supports encode type 0 games only.

Author:  aluigi [ Wed Nov 04, 2015 4:47 pm ]
Post subject:  Re: Gamespy master server emulators

Just an information related to my gslist tool and gsm.qtracker.com.

This particular server requires to specify the key of the requested game to work so remember to specify it with -Y, for example:
gslist -n heretic2 -Y heretic2 2iuCAS -x gsm.qtracker.com

The full list of keys is available with: gslist -l
Hope it helps.

Author:  airboy182 [ Sat May 21, 2016 10:43 pm ]
Post subject:  Re: Gamespy master server emulators

Are you still active on this? I have actual servers, which have plenty of power for Gamespy.
I want to more or less bring back the dead...

Author:  aluigi [ Sun May 22, 2016 7:35 am ]
Post subject:  Re: Gamespy master server emulators

personally I'm far from the Gamespy stuff from 10 years :)

Author:  youda008 [ Fri Jul 29, 2016 6:04 pm ]
Post subject:  Re: Gamespy master server emulators

Is there a way to contact OpenSpy authors? They never answer on their own forum and the whole project seems to be dead. The website is unfinished, the master server is unfinished, and we have no information on what is going on.

Author:  aluigi [ Fri Jul 29, 2016 7:16 pm ]
Post subject:  Re: Gamespy master server emulators

I have no contacts, sorry.

Author:  D4v1ks [ Sun Jan 14, 2018 2:11 pm ]
Post subject:  Re: Gamespy master server emulators

Luigi, just want to thank you for all the research and work you did.
I've used it as a guideline to write a little tool, to run some games here in my home LAN, and it feels great to see everything working.
Thanks. :)

features: User login and authentication system, Server listing and a encrypted Peerchat.
screenshot: https://i.imgur.com/FLV0VKG.png

Author:  aluigi [ Sun Jan 14, 2018 3:57 pm ]
Post subject:  Re: Gamespy master server emulators


Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited