Page 1 of 1

[Idea] Minetest Package Manager

PostPosted: Sun Mar 22, 2015 20:55
by Calinou
I had a quick idea today.

Basically, it'd work similarly to npm, but for Minetest. You could install mods, subgames, texture packs, utilities and maybe maps with it. It could work directly using Git or from archives. It could be made to handle dependencies automatically, too.

You could invoke it from a terminal using a command like mpm (with subcommands help, search, install, update, remove, …).

For this to work well, modders, subgame developers and texture pack developers might have to add a package.json file which would contain version information and other metadata.

Re: [Idea] Minetest Package Manager

PostPosted: Sun Mar 22, 2015 23:09
by Evergreen
This is a great idea! That is, if it would me integrated with mmdb.

Re: [Idea] Minetest Package Manager

PostPosted: Sun Mar 22, 2015 23:24
by Sokomine
For some users, we'll still need a graphical installer as they might be afraid of a blinking cursor.

It'd be great if mmdb could get usable again. A mod installer which is integrated into the game is far more helpful for most players. It just doesn't really work right now, and it does need categories. Perhaps it could interface with the installer you've got in mind?

Re: [Idea] Minetest Package Manager

PostPosted: Mon Mar 23, 2015 00:05
by TriBlade9
I'm a fan of this idea, but simply because I love npm. :P

Re: [Idea] Minetest Package Manager

PostPosted: Mon Mar 23, 2015 07:56
by rubenwardy
Minetest mods can already use mod.conf to specify their name, this could be expanded for descriptions and author name.

Within the last week, iqualfragile, the main mmdb developer, has identified the problem and emailed a list of instructions to thexyz. Hopefully it will be resolved in a matter of days, rather than a few more months to wait.

Re: [Idea] Minetest Package Manager

PostPosted: Mon Mar 23, 2015 09:14
by twoelk
rubenwardy wrote:Minetest mods can already use mod.conf to specify their name, this could be expanded for descriptions and author name....


Might be usefull if you also explain that in your manual at "Mod folder". As suggestion for good style for example.
Maybe also with an addition to what characters to avoid in the mod name and the danger of name-space clashes as is recently happening with the severall "mobs" mods around.

Re: [Idea] Minetest Package Manager

PostPosted: Mon Mar 23, 2015 14:40
by addi
i like the idea with the package.json file.
this could contain the dependencies and so the dependence.txt file gets obsolet.
it could contian, if its a normal mod or a modpack, so the modpack.txt gets obsolet.
it could also contain a mod description, so the description.txt file gets obsolet.
it could contain the modname, so mod.conf gets obsolet.

a json file can also read by the mod database, minetest itself or a npm (or just mod manager :-) ) wich can download, update, and delete the mods.
for that there have to be some additional information, eg. version number, and where to check for new versions, type of archive etc.

I hope something like that will in minetest!