This project uses Deleaker to find memory leaks and more.
Dune II - The Maker
A.k.a. D2TM. Is a Dune 2 remake.
- Website: https://dune2themaker.fundynamic.com
- Discord: https://dune2themaker.fundynamic.com/discord
- Twitter: https://twitter.com/dune2themaker
Report bugs via Discord, Twitter or add one in Github.
Read the wiki for more information about startup params, controls, and more.
Compiling
Prerequisites
CMake
version 3.21 or higherGCC
version 11 or higher
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!
- git clone this project
- create a
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.
Ubuntu
- git clone this project
- run
./install_dependencies_ubuntu.sh
(only required once) - create a
build
dir
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:
- Grab the latest release from Github
- Grab a version from D2TM's homepage
- Compile this project yourself
Topics
In the code there are several known concepts; see below for extra information about them: