Giter Club home page Giter Club logo

sourcehold's Introduction

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 uses the following libraries:

  • SDL2
  • OpenAL
  • FFmpeg (avcodec, avutil, avformat, swscale)
  • zlib's blast for PKWARE decompression

Running

Make sure you point Sourcehold to where your game data is located, which you can do using --path=/your/path or copy the files to a directory called data in the main folder of Sourcehold. The directory should look like this:

data
├── binks/
├── fx/
├── gfx/
├── gfx8/
├── gm/
├── help/
├── 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. You can also add your command line options to a file called settings.ini, in the form option=value.

sourcehold's People

Contributors

antisc2 avatar atmaxinger avatar baalex avatar filipjanitor avatar janso3 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.