Code Monkey home page Code Monkey logo

openblack's Introduction

openblack

CI GitHub Stars Discord chat License

openblack is an open source reimplementation of Black & White (2001) written in modern C++ and modern rendering engines (OpenGL, Vulkan).

You still need to have the original game assets in order to use this, don't ask where to get these.


Building

Clone the code using: git clone --recursive https://github.com/openblack/openblack.git

The simplest way to obtain all the required dependencies is through vcpkg which is included with a manifest file.

If you don't want to use vcpkg; CMake will use system dependencies, or manually specified package directories.

Windows

The easiest way to get started on Windows is to allow CMake and vcpkg to handle all dependencies for you, this is the default on Windows.

You can simply open the openblack folder directly in Visual Studio.

Alternatively you can generate your project files using CMake GUI or with CMake directly:

cd openblack
cmake -S . -B build

Linux

Using vcpkg for dependency management you can apply these build instructions to other distros, these are just tested on Ubuntu for simplicity though:

sudo apt install build-essential cmake # Ubuntu / Debian
cd openblack
cmake -S . -B build -DOPENBLACK_USE_VCPKG=true -DVCPKG_TARGET_TRIPLET=x64-linux -DOPENBLACK_USE_BUNDLED_BGFX=true
cmake --build build -j 5

System Dependencies

Alternative to vcpkg you can use system dependencies by setting OPENBLACK_USE_VCPKG=false (default: false) CMake will find them as long as they provide a proper config file.

Arch Linux

Install openblack-git from the AUR which builds and installs directly for all Arch Linux derived distros such as Manjaro.

Contributing

Contributions are always welcome, whether it's modifying source code to add new features or bug fixes, documenting new file formats or simply editing some grammar.

You can also join the Discord for development discussion if you are unsure of anything.

License

openblack is released as open source software under the GPL v3 license, see the license file in the project root for the full license text.

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.