DwarfCorp from Completely Fair Games is a single player tycoon/strategy game for PC. In the game, the player manages a corporate colony of dwarves. The dwarves must mine resources, build structures, and contend with the natives to survive.
DwarfCorp depends on the following libraries:
- The XNA 4.0 library (not included)
- LibNoise.NET (source code included)
- JSON.NET (source code included)
To build and run in the game on a windows PC, you must do the following:
- Download and install the XNA Game Studio 4.0 library
- Download and install Visual Studio. The project files were created for Visual Studio Professional 2013. Earlier versions may not work. "Express" versions may also not work.
- Open
DwarfCorp.sln
in Visual Studio - Set
DwarfCorpXNA
as theStartUp
project. - Add references to
XNA
binaries to theDwarfCorpXNA
project. They may also need to be added to theDwarfCorpCore
project. - Build
LibNoise
andJson.Net
projects - Set the
DwarfCorpXNA
build mode toRelease
orDebug
- Build
DwarfCorpXNA
There are several projects under the main folder:
- DwarfCorpCore contains the core source code of the game, and is intended to be more-or-less platform independent.
- DwarfCorpXNA contains source code for XNA builds of the game. Most source files here should just be symbolic links to DwarfCorpCore.
- DwarfCorpMono Contains source code for a MonoGame build. It hasn't been updated in a very long time, and will likely not build for now.
- DwarfCorpContent Contains images, sounds, music, and content configuration files for DwarfCorp. Most assets in this content project may not be redistributed.
- LibNoise Is a fork of LibNosie.NET noise generation library.
- JSON.NET Is a fork of the JSON.NET data serialization library.
The game is released under a modified MIT licensing agreement. That means all source code is free to use, modify and distribute. However, we have explicitly disallowed modification and redistribution of the following game content (which remains proprietary):
- Images/Textures
- 3D Models
- Sound Effects
- Music
No forks, binary redistributions, or other redistributions of this repository may include the proprietary game content. It is up to the redistributor to provide their own game content. "Source code" may also include raw text files, JSON library files, and XML configuration files (which are not considered proprietary "game content").
It's complicated. If you have a question about the licensing, raise an issue on the repository.