so it would be good if mods could be written for it.
In minetest.conf, there is a setting "main_menu_script =",
but that requires an absolute path, as in
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
E:\temp\minetest-0.4.14_8a7dc83\builtin\mainmenu\init.lua
It looks like builtin/init.lua is calling the mainmenu, so how
to specify a path relative to the minetest-directory ?
This doesn't work:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
.\builtin\mainmenu\init.lua
So, I could specify an alternative for the mainmenu - init.lua,
but I would prefer to put a modified menu into the mods-directory.
Also, it would be nice to be able to select the script to launch
when minetest gets started with a commandline-parameter.
BTW, the current mainmenu has some special handling for Android,
but I don't see where PLATFORM gets set.