Hammerfest is a project to implement a lobby server for Command & Conquer 3: Kane's Wrath.
We are on the stage when the game is able to show the login screen.
Overall, we are still more at the exploration stage; scope of work is to be determined.
Visit the issue tracker if you want to know more.
Currently Hammerfest is only suitable for development mode, and only on Windows.
⚠ For now, the administrator privileges are required to run the server, since it modifies the system hosts
file.
To start the server:
# dotnet run --project Hammerfest.Server
It reads the configuration from the appsettings.json
file.
The server performs the following operations:
-
Temporarily overrides the contents of
%SystemRoot%\System32\drivers\etc\hosts
file, adding the server host to it.Pass
false
in theDns.Enable
configuration file if this is unwanted. -
Starts a ServServ HTTP implementation on port
80
. -
Starts a GameSpy Query Report server on port
27900
.
Press Ctrl+C
to terminate the server.
-
This project is not affiliated with or endorsed by EA in any way. Command & Conquer is a trademark of Electronic Arts.
-
This project is non-commercial. The source code is available for free and always will be.
-
This is a blackbox re-implementation project. The code in this project was written based on reading data files, and observing the game(s) running. In some cases the code was written based on specs available on the Internet.
I believe this puts the project in the clear, legally speaking. If someone disagrees, please reach the lead maintainer, Friedrich von Never.
-
No assets from the original games are included in this repo.
- Thanks to the OpenSAGE project for some ideas on the wording in the Legal Disclaimers section.
- Thanks to the GenServer project for documenting their ServServ implementation.
- Thanks to the GameProgressive project for their GameSpyDocs.