I’ve had a number of requests for Windows support in OpenLander. I didn’t have a Windows install handy so I’d not looked at this yet.
Since Anthony Smith came on board with his Flyin’ Irons project, Windows support has become more of an issue. Since Anthony prefers to develop under Windows, it was necessary for him to install the Soya3D for Windows port and its dependencies. At this point, I should note that the Soya3D webpage gives thanks to “Atomekk, Thomas Paviot and Dunk” for making Soya3D available for Windows – I’d like to give thanks too, since this is incredibly useful and should help to expand the audience of both OpenLander and Flyin’ Irons. Back to Anthony; his efforts culminated in his being able to run a slightly modified OpenLander stably on Windows – awesome! Anthony has of course been doing some stirling development both on OpenLander and on Flyin’ Irons, which will benefit users of both Linux and Windows. He’s a bit of a machine and has been pumping out lots of cool stuff! Big thanks to him too.
Meanwhile, I felt that I ought to look into making OpenLander / Flyin’ Irons easier to install on Windows for our potential users. We don’t really want them to have to install Soya3D and its dependencies themselves. To this end, I dug out the ancient Windows XP Pro install CD that came with my PC and installed it in a VirtualBox virtual machine. Using this, I’ve been experimenting with py2exe and Nullsoft Scriptable Installer System. Py2exe is an Open Source plugin to Python’s distutils makes it easy to bundle up a Python application with all its dependencies (including a Python interpreter, Python modules and dlls) so that it all lives in one directory and can be run on a Windows system without any installation of the application or its dependencies. NSIS, also Open Source makes it easy to create proper installers for Windows applications. Currently I’m using it to build a .exe that contains a compressed copy of all the OpenLander dependencies and runs without any manual installation or unpacking (the example scripts for this on the py2exe wiki made this easy!). My VirtualBox system has served well for packaging but due to a lack of 3D acceleration in the virtual machine I’m not able to actually run OpenLander there.
Both Anthony and I have now had OpenLander running on Windows from a single exe file!. There are some bugs in the package that make it crash sometimes when built in this way but I don’t think any of those should be difficult to “iron out” (no pun intended there, honest Anthony!). Anyhow, this looks like good progress for both projects. Things are certainly progressing faster in many ways now that there are two of us working on related stuff.
Anyhow, the upshot of all this is, thanks to the help of Anthony, a couple of my friends (thank you to Clare and Roger for testing the Windows exe on real hardware), py2exe and NSIS, the next preview release of OpenLander (and the upcoming first preview release of Flyin’ Irons) should be available for both Linux (through the old tarball mechanism for now) and Windows (through the all-in-one exe).
It’d be really nice to have someone volunteer to test / package these games on MacOS (hint, hint!).