Skip to content

Open source reimplementation of Stronghold 1

License

Notifications You must be signed in to change notification settings

Vortelio/Sourcehold

 
 

Repository files navigation

Sourcehold Build Status Discord

Open source engine implementation of Stronghold by Firefly Studios. This project is currently in an early stage of development. Once completed, it should be able to replace all editions of classic Stronghold, including the HD remaster.


Imgur

About

Stronghold is a castle sim created by Firefly Studios in 2001. It was released for Windows and supports MacOS since its HD remaster. The purpose of this project is to make Stronghold playable on platforms it didn't support originally. It is not intended to be a 100% accurate source port, so there will be differences.

Building

After cloning the repository, make sure to run git submodule init and git submodule update to fetch cxxopts.

Run cmake in your build directory. If you're building on Windows or don't have the libraries in your pkg-config, use the -DCMAKE_PREFIX_PATH=/custom/path1/;/custom/path2/ option on the command line. Note that you have to give CMake absolute paths.

Sourcehold depends on the following libraries:

  • SDL2
  • OpenAL
  • FFmpeg (avcodec, avutil, avformat, swscale)
  • Boost (filesystem)

Running

Copy the following files into the data folder:

data
├── binks/
├── fx/
├── gfx/
├── gfx8/
├── gm/
├── maps/
├── stronghold.mlb
├── sh.tex
├── delete.ani
├── hand.ani
├── jester.ani
└── sword.ani

Configuration

This is either done by reading an existing Stronghold config file, found in your documents folder under Stronghold/stronghold.cfg, via command line or both. Options from the command line will overwrite the ones from the config. Available options are listed with the --help argument.

About

Open source reimplementation of Stronghold 1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 87.7%
  • CMake 11.6%
  • Other 0.7%