I thought it might be fun to run minetest as a Linux application on my Windows box in order to test os.execute() commands. (I have mainly developed on Windows previously) I achieved this using the Microsoft "bash" shell for Windows 10. This is actually a partial port of Ubuntu, so it's capable of compiling and running our favourite game.
If you would like to follow in my footsteps, here's what to do:
1. Install the Windows 10 Anniversary Update
http://www.windowscentral.com/how-get-w ... ary-update
2. Enable the Bash Windows Feature
http://www.howtogeek.com/249966/how-to- ... indows-10/
Note: I tried just "apt-get"ting minetest binaries for ubuntu, but these failed.
3. Install an XServer
To run graphical applications, install a Windows XServer.
I used xming:
https://sourceforge.net/projects/xming/
(There is also XServer : https://sourceforge.net/projects/vcxsrv/)
4. Follow the "Compiling on GNU/Linux" instructions
http://dev.minetest.net/Compiling_Minetest
NOTE: Unfortunately sound support failed. To Compile, use this commandline:
cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DENABLE_SOUND=0
5. Run minetest (and get dizzy from the mouse being too sensitive)
6. Tune mouse sensitivity:
I am using the following minetest.conf setting
mouse_sensitivity = 0.008
That's it!
As I said previously I think this will be great for ensuring your mods work on both linux and windows using the same environment.
If you're a Linux compilation person, perhaps you could comment on the mouse sensitivity issue or sound support?