Giter VIP home page Giter VIP logo

regoth-bs's Introduction

Built with Spacemacs Gitter

REGoth-bs

OpenSource-Reimplementation of the zEngine, used by the game "Gothic" and "Gothic II".

We have an active Chatroom on Gitter! If you want to reach us, this is the best way!

Documentation

https://regoth-project.github.io/REGoth-bs/index.html

Building

Engine

The project is built via CMake. You will need at least CMake 3.9.0.

Linux

To build the project for Linux, run the following commands from within the directory where you cloned REGoth:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
cmake --build . --parallel 8

Note: If the linker complains about missing .so files when you try to run an executable, try running it as LD_LIBRARY_PATH=../lib ./REGothSomething. Also, you might get an error indicating libPhysX3_x64.so not being found. You need to go into REGoth-bs/lib/bsf/Dependencies/PhysX/lib/ and copy all .so-files to the location where libbsf.so was built, usually REGoth/build/lib.

Windows using Visual Studio Code

This is the recommended way for developing on Windows. Visual Studio Code works really well with the CMake-files of REGoth. Just make sure to install the official C/C++ and CMake extensions.

Windows using Visual Studio

To build the project for Windows, you need to be aware of some common pitfalls:

  1. Always build x64, as bs:f does not support x86. To do that, make sure to use the correct Visual-Studio-Generator.
  2. Similar to make, Visual Studio will not do parallel builds by default.

These are the commands:

md build
cd build
cmake -G"Visual Studio 15 2017 Win64" ..
cmake --build . --config RelWithDebInfo --parallel 8

Building the Documentation

You will need:

  • Doxygen
  • Python
  • Sphinx (install via pip install sphinx)
  • Breathe (install via pip install breathe)
  • Sphinx ReadTheDocs-Theme (install via pip install sphinx_rtd_theme)

With a cmake-project generated, run this from within the build-directory:

cmake --build . --target REGoth_docs

This will generate the documentation as HTML into build/docs-source/html. To update Github-pages, copy the contents of that directory into the docs directory at the repository root.

regoth-bs's People

Contributors

ataulien avatar kirmesbude avatar mworchel avatar

Stargazers

 avatar  avatar  avatar  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.