If you’re wanting to have a gander at the source code that went into the game executable, then here it is!
We have a GitHub repository, first and foremost, but if you don’t want to work with that, then we also have downloads are in two formats: torrents and direct downloads. If you have a BitTorrent client (and if you don’t, we recommend qBittorrent), we highly recommend the first option – it’s much easier on bandwidth, and downloads are pausable and resumable, too! Of course, if you’d prefer not to get a BitTorrent client, then the direct download link is provided as a second option, too.
Official Game Executables Source GitHub Respository
Game Executables Source Download (117 MB)
This contains the source code for the MLI game executables in the form of a Code::Blocks project. It makes use of a number of different libraries; to compile it, you’ll need the following:
- SDL (SDL 2.0.2 or greater required)
On Windows, this is as simple as getting the development libraries for all of these and then copying them to C:\Program Files (x86)\CodeBlocks\MinGW (or wherever you installed Code::Blocks to).
On OS X, you’ll want to get the frameworks for the SDL-related libraries from the links above and install them to /Library/Frameworks, whereas for the others, you can use Homebrew – just install it, and then in a terminal window type “brew install ffmpeg”, “brew install cryptopp”, and “brew install curl” to get the rest. The Code::Blocks projects should be able to pick them up from where Homebrew installs them. You may also need to update gcc with “brew install gcc48”, in which case you’ll need to update Code::Blocks’ GCC compiler settings by going to Settings > Compiler… > Toolchain executables, updating /usr/ to /usr/local/, and changing “gcc”, “g++”, and “ar” to “gcc-4.8”, “g++-4.8”, and “gcc-ar-4.8”, respectively. (GCC 4.8 is needed to properly link against the version of Crypto++ installed via “brew install cryptopp”. Versions of GCC 5 and later will encounter a linker error.)
The source code for the MLI game executables is released under the MIT license. Details can be found at the top of any source file.
Also included in this download, in the folder “common-data”, are the files compiled into the common.dat resource file.
Legacy Java Case Compiler (+ Game Executable) (557 MB)
This primarily contains the Java source for the now-defunct case compiler written in Java, but also as a consequence contains the source for the game executable in Java, since the two share the same code. This was used to create the first case in MLI, but now that the first case has been released, it’s being abandoned now that development can begin in earnest on a proper user-friendly case creator. This is being released primarily just for the sake of completion, for those academically curious. It can theoretically be used to create custom cases, but that isn’t recommended, because seriously, it’s not very good – the case creator will be way better. If you really want to see its compilation in action, after compiling, run CaseCompiler.java, then load src/case1.mlicasesource, and click Compile. This will only work in Windows, due to needing to use some helper executables for certain steps. Seriously, like I said, most are better served just waiting for the case creator, which will support all three major operating systems.
The source code for the Java case compiler and game executable is released into the public domain.
Also included in this download, in the folder “data”, are all of the audio and visual assets in the first case of MLI.