Home

Awesome

Latest All CI <span class="badge-buymeacoffee"> <a href="https://ko-fi.com/dune2themaker" title="Donate to this project using Buy Me A Coffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg" alt="Buy Me A Coffee donate button" /></a> </span>

GitHub repo size GitHub language count GitHub top language GitHub last commit

This project uses Deleaker to find memory leaks and more.

Dune II - The Maker

A.k.a. D2TM. Is a Dune 2 remake.

Report bugs via Discord, Twitter or add one in Github.

Read the wiki for more information about startup params, controls, and more.

Compiling

Prerequisites

Make sure you can run make (or ninja) from command line.

Windows (MinGW)

It currently depends on MinGW32. Make sure you also have GCC 11 installed, which you can do via MSYS2 (using pacman). GCC 11 is not installed by default in MinGW32!

    mkdir build
    cd build
    cmake .. -G "MinGW Makefiles"
    cmake --build . --target all -- -j 6

If you use ninja you can use cmake .. -G Ninja instead.

Once compilation is done you'll end up with a d2tm.exe file and several DLL's.

Ubuntu

    mkdir build
    cd build
    cmake ..
    make -j4

Running

Easiest is to run the executable from the root. Shared libraries that are required are: libalfont.dll, alleg42.dll, libwinpthread-1.dll and mscvr70.dll. The required pre-built library (Allegro 4) is in the dll folder. The library that is built with the project (AlFont) is copied to the build directory. libwinpthread-1.dll Could be on your MinGW path. If it is not on the path, copy it from your mingw32 installation.

Project status

See the Project Board what's going on.

Binaries

You have various options:

Topics

In the code there are several known concepts; see below for extra information about them: