Page 1 of 1
user data directory

Posted:
Sat Oct 08, 2016 14:01
by rgh
I'm wanting to set up minetest for users of a windows network. The minetest folders would reside on a read-only server share, from which users can invoke minetest.exe.
Problem is, I think minetest expects users to have write permission on the minetest folders and to be able to create a 'user data directory' somewhere within them. I've looked through minetest.conf.example & can't see any way to specify that the user data is to be saved at some other location, say h:\minetest, where the user does have write permission.
Is this possible?
Re: user data directory

Posted:
Sat Oct 08, 2016 19:34
by sfan5
Generally all Windows builds of Minetest are compiled with RUN_IN_PLACE=1 which means that they expect to save user data in the same folder as the binary. What would be possible is to compile a custom Minetest build with RUN_IN_PLACE=0 and hard-coded paths for user data.
Re: user data directory

Posted:
Sun Oct 09, 2016 07:41
by rgh
Thanks sfan5.
I'm afraid compiling from the source is probably beyond my ability, I'm not a C programmer.
As with the previous thread, I'm wondering if the game is playable in a school environment. It's all Windows. Students are given a home H drive, where they do have write permission, but not permission to invoke executables.
Re: user data directory

Posted:
Sun Oct 09, 2016 10:57
by Linuxdirk
sfan5 wrote:… which means that they expect to save user data in the same folder as the binary.
Holy fuck … who in the right mind wants that?
Re: user data directory

Posted:
Sun Oct 09, 2016 14:03
by twoelk
Linuxdirk wrote:sfan5 wrote:… which means that they expect to save user data in the same folder as the binary.
Holy fuck … who in the right mind wants that?
anybody who runs minetest from a portable device
but being able to specify the location of more folders or files is something I have wished for for a long time.
Re: user data directory

Posted:
Mon Oct 10, 2016 07:10
by red-001
Could you use a symbolic link?
Re: user data directory

Posted:
Mon Oct 10, 2016 08:16
by addi
Or you could simply use my installer.
viewtopic.php?f=42&t=14109The minetest folder is then C:\Users\<username>\minetest\ where you can store mods, games texturepacks and config.
I wish that minetest would make use of a correct installation in future versions. The current official installer is just a self extracting archive.
Re: user data directory

Posted:
Fri Oct 14, 2016 03:39
by srifqi
sfan5 wrote:Generally all Windows builds of Minetest are compiled with RUN_IN_PLACE=1 which means that they expect to save user data in the same folder as the binary.
Are you sure? I think Minetest save user data and world data in separate folder. Like normal compile.
Re: user data directory

Posted:
Fri Oct 14, 2016 11:27
by Napiophelios
I believe he is referring to the root folder.