Margen67 / donut

Open source reimplementation of The Simpsons: Hit & Run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


GitHub Stars Discord chat License

donut is an open source reimplementation of The Simpsons: Hit & Run written in modern C++ and modern OpenGL.

You still need to have the original game assets in order to use this.


Clone the code using: git clone --recursive

The simplest way to obtain all the required dependencies is through vcpkg.

PS> .\vcpkg install sdl2 bullet3 openal-soft fmt
Linux:~/$ ./vcpkg install sdl2 bullet3 openal-soft fmt

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


You can either:

  1. Open the donut folder directly in Visual Studio.
  2. Or generate project files with the following:
cd donut
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows


Note: These instructions are for Ubuntu, but can be easily applied to other distros.

Ensure you have dependencies first

sudo apt install cmake
cd donut
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux
cmake --build build -j 5

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.

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


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

ezoic increase your site revenue


Open source reimplementation of The Simpsons: Hit & Run

License:GNU General Public License v3.0


Language:C++ 80.4%Language:C 18.9%Language:CMake 0.5%Language:GLSL 0.1%Language:Batchfile 0.0%