I’ve set up a minimal arch linux installation on Virtualbox and installed mxe on it. The thing can now easily compile CDDA. All you need to do is:
- Install virtualbox
- Download the disk image and open it with VirtualBox, log in as “root”, password “root”
- Set up a shared folder so you can access your CDDA installation from within the linux installation
- Navigate to the CDDA directory within virtualbox and use the below command to compile
make NATIVE=win32 LUA=1 TILES=1 WARNINGS= CXX=/root/mxe/usr/bin/i686-w64-mingw32.static-g++ LD=/root/mxe/usr/bin/i686-w64-mingw32.static-g++ RC=/root/mxe/usr/bin/i686-w64-mingw32.static-windres
This should produce a windows version of the game in pretty much the same way the official jenkins builds are produced, aka it should work unless somebody messes up pretty badly.
Since the disk image is pretty large, I can’t really afford to host it on my VPS. Instead, I’ve set up a torrent that I’ll be seeding as much as possible.
http://46.102.243.119/public/cdda_mingw_w64_arch_linux.torrent