http://pastebin.com/SNZsgGcz
==How to set up==
Install Python, if you haven't already.
Go to http://pastebin.com/download.php?i=SNZsgGcz and save the file as mm.py
Go to the Command Line and type ./mm.py add-repo sfan.sf.funpic.de
You just added my Reposity to ModManager!
Type ./mm.py config moddir "path_to_your_minetest_mod_folder".
Example: "./mm.py config moddir ~/.minetest/data/mods"
Type ./mm.py update to update the Package List.
Now try ./mm.py install coalmod
coalmod.zip should appear in your folder and the folder coalmod should appear in your minetest mod folder
==Host your own Repo==
Create a Folder called minetest in the root of your Website.
e.g. "yoursite.com/minetest" not "yoursite.com/myfolder/docs/minetest"
Create a file called "PackageList" with a List of your Packages in it(1 Line = 1 Package)
Create a File called Pkg-name for each.
Fill it with this Information and adjust the Name and so on.
Now, upload the tar.bz2/tar.gz/zip/tar of your mod folder to your Site.
You can try installing your Package now:
- Code: Select all
./mm.py add-repo mysite.com
./mm.py update
./mm.py install yourmod
Browse my Repo for Examples
===Creating a Package which downloads your Gitorious-Repo===
Delete the "File: ..." Line from your Pkg-yourmod
Add "Gitorious:project_name,repo_name,branch" to the file.
Example: http://sfan.sf.funpic.de/minetest/Pkg-worldedit
PS.: I can host your Mods on my Repo if you want: http://sfan.sf.funpic.de/minetest/