This is a step-by-step manual for getting OpenTTD compiling on Windows with MinGW. This guideline will go through the 32 bits version, which runs on both 32 bits and 64 bits windows. == Installing base environment == Download and install i686 msys2 installer from http://msys2.github.io/. Follow the guide on that page, since it will guide you through the installation process of msys after which this step-by-step guide will continue. After you have completed the steps of the guide, close the window you got. == Installing requirements == Open, from the MSYS folder in your start menu the "MinGW-w64 Win32 Shell". This is extremely important as the "MSYS2 Shell" does not provide you with the right settings to compile OpenTTD. Install tools and libraries required for compilation. pacman -S zip dos2unix git mercurial subversion mingw-w64-i686-gcc mingw-w64-make mingw-w64-i686-pkg-config mingw-w64-i686-libpng mingw-w64-i686-freetype mingw-w64-i686-lzo2 mingw-w64-i686-xz mingw-w64-i686-icu == Compilation == Make sure you are in the "MinGW-w64 Win32 Shell", if you did not close it in the previous step you are still there. To get, configure and compile you can do the following: Get the source code. svn co svn://svn.openttd.org/trunk Go into the folder of the source code. cd trunk Configure OpenTTD's source code. ./configure Build OpenTTD's source code. make < sadly enough... this step fails horribly at the moment > * https://github.com/Alexpux/MSYS2-packages/issues/328 * https://github.com/Alexpux/MINGW-packages/issues/743 * https://github.com/Alexpux/MINGW-packages/issues/744 * use ./configure --static-icu Once you made OpenTTD for the first time, you only need to go into the folder with the source code and run make.