So I finally got around to making what I've been wanting to make since minetest got mods.. a bash script based mod installer/updater that can download mods from a repo.
NOTES: This ONLY works on Linux based operating systems. It has been tested and confirmed to work on Puppy Precise and Linux Mint 13. You MUST read the readme file and understand it. Also I'm not responsible for anything. The current test repo is also hosted within the github account.
To see a list of available mods to test go to:
https://github.com/TheZenKitteh/minetest-modrepo/tree/master/
A NOTE: This installer technically can use any mod archive format
supported by 7z which includes zip 7z tar.gz tar.bz2 etc.
These scripts allow you to easily install and
update mods from a repo. packmod also is used
to pack your mod for use with the installer and
compresses to 7z archive.
mtmodinstall:
# How to use:
# Edit the INSTALLLOC varible to point to your mod folder
# Update REPO URL if needed then
# chmod u+x nameofscript
# issue ./nameofthisscript modname
#
# Example:
# ./mtmodinstall.sh industrial
mtmodinstall-git:
# How to use:
# Edit the INSTALLLOC varible to point to your mod folder
# chmod u+x nameofscript
# issue ./nameofthisscript modname
#
# Example:
# ./mtmodinstall-git.sh industrial
packmod-7z:
# Packs your mod to work with the modinstaller script included here
#
# How to use:
# chmod u+x scriptname
# then
# ./scriptname modname modname_version
#
# Example:
# ./packmod-7z.sh industrial industrial_0.0.5
#
# IMPORTANT: your mod folder must be properly named
# such as industrial and not industrial-master or anything else
packmod-zip:
# Packs your mod to work with the modinstaller script included here
#
# How to use:
# chmod u+x scriptname
# then
# ./scriptname modname modname_version
#
# Example:
# ./packmod-zip.sh industrial industrial_0.0.5
#
# IMPORTANT: your mod folder must be properly named
# such as industrial and not industrial-master or anything else
make-packageslist:
Just run it to make a packages.txt
Download: https://github.com/TheZenKitteh/minetest-bashmodinstaller/archive/master.zip
Source: https://github.com/TheZenKitteh/minetest-bashmodinstaller
License: https://github.com/TheZenKitteh/minetest-bashmodinstaller/blob/master/LICENSE.txt
For the Windows based installer go here:
http://forum.minetest.net/viewtopic.php?pid=64225