This project uses Deleaker to find memory leaks and more.
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.
CMake
version 3.21 or higherGCC
version 11 or higherMake sure you can run make
(or ninja
) from command line.
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!
build
dir
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.
./install_dependencies_ubuntu.sh
(only required once)build
dir
mkdir build
cd build
cmake ..
make -j4
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.
See the Project Board what's going on.
You have various options:
In the code there are several known concepts; see below for extra information about them: