donut is an open source reimplementation of The Simpsons: Hit & Run written in modern C++ and modern OpenGL.
Clone the code using:
git clone --recursive https://github.com/plowteam/donut.git
- Install Visual Studio 2019
- Install CMake
- Open CMake GUI and point it to
donutfolder, set build directory to
BULLET_ROOTto the Bullet directory, everything else is automatically set.
- Press Configure, Generate, Open Project and then build.
- Download Bullet
- Build using CMake or Premake, making sure
First you'll need to install the following dependencies to build donut:
apt install build-essential libsdl2-dev cmake libglm-dev libbullet-dev libopenal-dev
Then to build run CMake in a build directory:
mkdir build && cd build cmake ../ make
Mesa drivers on Linux: if you are trying to run with Mesa drivers and are getting issues with OpenGL context try messing with
MESA_GL_VERSION_OVERRIDE when running like so:
MESA_GL_VERSION_OVERRIDE=4.3FC MESA_GLSL_VERSION_OVERRIDE=430 bin/donut
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.