Hi there!
I'm definitely a newbie, just running a virtual machine with Ubuntu server 14.04/Minetest on my home server for my son and his friends.
I did an install as on a wiki site, don't remember which one, though, like:
root@mine:/# apt-get install python-software-properties; add-apt-repository ppa:minetestdevs/stable; apt-get update; apt-get install minetestc55; nohup minetest --server &
And I could without any problem log in to the server from a client and everything seemed to work properly.
But the directory tree isn't created the way it should, as per the wiki @: http://wiki.minetest.net/Subgames
It should look like this:
minetest/
├── bin/
├── builtin/
├── cache/
├── client/
├── doc/
├── fonts/
├── games/
│ ├── minetest_game/
│ ├── minimal/
│ └── … (installed extra games)
├── locale/
├── mods/
│ └── … (installed extra mods and modpacks)
├── textures/
│ ├── base/
│ │ └── pack/
│ └── … (installed extra texturepacks)
└── worlds/
└── … (saved worlds, some with exclusive world mods)
But it actually looks like this:
root@mine:~/.minetest# ls -al
total 1136
drwxr-xr-x 3 root root 4096 Sep 15 21:08 .
drwx------ 4 root root 4096 Sep 19 15:37 ..
-rw-r--r-- 1 root root 1143603 Nov 8 14:23 debug.txt
drwxr-xr-x 4 root root 4096 Sep 19 15:49 worlds
root@mine:~/.minetest#
So why?
and what's wrong?
I now also have another virtual machine running(ubuntu server 15.10), that I plan to test suggestions I get from this list.
Should I install in any different way?
Or do I need to create the directory tree myself? If so, why?
Help is very much appreciated!
Regards Johan
default installation doesn't create necessary directory tree
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Re: default installation doesn't create necessary directory
You don't have a "run in place" version, since you installed Minetest properly with the package manager. The directory structure you quoted above is only like this in the run in place version.
Just create the mods folder in ~/.minetest and everything should work like expected.
Just create the mods folder in ~/.minetest and everything should work like expected.
Re: default installation doesn't create necessary directory
And what about all the other directories?
I mean, there is no "games" dir, so where are the games?
And if I want more games, where do I put them? Do I need to create all these dir's myself to get a fully populeted tree?
And how do I select the game I want to run?
And when it comes to worlds(I installed another world as well), how do I choose which world I want to run?
Can't find any documentation of CLI server commands.
Regards Johan
I mean, there is no "games" dir, so where are the games?
And if I want more games, where do I put them? Do I need to create all these dir's myself to get a fully populeted tree?
And how do I select the game I want to run?
And when it comes to worlds(I installed another world as well), how do I choose which world I want to run?
Can't find any documentation of CLI server commands.
Regards Johan
- kaeza
- Moderator
- Posts: 2162
- Joined: Thu Oct 18, 2012 05:00
- GitHub: kaeza
- IRC: kaeza diemartin blaaaaargh
- In-game: kaeza
- Location: Montevideo, Uruguay
- Contact:
Re: default installation doesn't create necessary directory
You must create any needed directories under `~/.minetest`.
Since you installed the game using your package manager, the default game(s) are probably in `/usr/share/minetest/games`. This is the "system" path. It's not recommended to add stuff to this location. Just create `~/.minetest/games` and put your downloaded games there.
Once you have everything set up properly, to select a game, use `--gameid NAME` (e.g. `--gameid BFD`). To select a world, you can use `--world path/to/world` or `--worldname NAME`. You can also specify a different configuration file with `--config FILE`.
So for example, let's say you have a game named "custom", and a world named "foobar":
Edit: For more info, try `minetestserver --help`, or see Command line on the wiki.
Since you installed the game using your package manager, the default game(s) are probably in `/usr/share/minetest/games`. This is the "system" path. It's not recommended to add stuff to this location. Just create `~/.minetest/games` and put your downloaded games there.
Once you have everything set up properly, to select a game, use `--gameid NAME` (e.g. `--gameid BFD`). To select a world, you can use `--world path/to/world` or `--worldname NAME`. You can also specify a different configuration file with `--config FILE`.
So for example, let's say you have a game named "custom", and a world named "foobar":
Code: Select all
minetestserver --worldname foobar --gameid custom
# Or alternatively:
minetestserver --world /home/user/somewhere/foobar --gameid custom
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!
Check out my stuff! | Donations greatly appreciated! PayPal
Check out my stuff! | Donations greatly appreciated! PayPal
Re: default installation doesn't create necessary directory
Thanks, that was exactly the information I was looking for!
Rgrds Johan
Rgrds Johan
Who is online
Users browsing this forum: No registered users and 10 guests