Page 1 of 1

Windows Mod installer with repo support

PostPosted: Thu Jan 17, 2013 07:17
by RAPHAEL
As per suggestions I decided to attempt a Windows based mod installer using what I already know. It ain't perty but it werks.

NOTE: Tis ugly but works...

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.

installer:
Edit and save REPO URL in installer.sh if you wish.
Edit and save INSTALLLOC location to point to your mod folder.
Run start.exe
Inside resulting window type:
./installer.sh modname
where modname is the name of a mod in the repo that
you want to install.
To see available mods go to:
https://raw.github.com/TheZenKitteh/minetest-bashmodinstaller/master/Repo/


packmod:
Put your mod with proper folder name (modname)
inside the Mod-Packing-Directory

Example:
Mod-Packing-Directory\fakeblocks

Then run RUN-ME.exe
In resulting window type:
.\packmod.exe modname modnamewithversion

Example:
.\packmod.exe fakeblocks fakeblocks_0.0.3

Resulting packed mod should now be in the Packed-Mods directory.


README (a must read):
https://raw.github.com/TheZenKitteh/minetest-windowsmodinstaller/master/README.txt

Download:
https://github.com/TheZenKitteh/minetest-windowsmodinstaller/archive/master.zip

Source:
https://github.com/TheZenKitteh/minetest-windowsmodinstaller/

License:
https://raw.github.com/TheZenKitteh/minetest-windowsmodinstaller/master/LICENSE.txt


For the bash based mod installer for linux go here:
http://forum.minetest.net/viewtopic.php?pid=64061

PostPosted: Thu Jan 17, 2013 07:55
by 4aiman
Cool!
Could I suggest making a shell script for windows? I'm not implying anything but internetz has taught every more/less skilled windows user to be suspicious about executables. Maybe there could be 2 utils: *.exe and *.bat?
Just a suggestion.

PostPosted: Thu Jan 17, 2013 08:17
by RAPHAEL
4aiman wrote:Cool!
Could I suggest making a shell script for windows? I'm not implying anything but internetz has taught every more/less skilled windows user to be suspicious about executables. Maybe there could be 2 utils: *.exe and *.bat?
Just a suggestion.

the start.exe is a batch script compiled to exe to launch the bash shell easier.

I will add source for start.exe when I get back on windows (likely tomorrow).

EDIT: Also the packmod.exe and run-me.exe are batch scripts compiled to exe. The source is here:
https://github.com/TheZenKitteh/minetest-windowsmodinstaller/tree/master/Mod-Packing-Directory/Source

PostPosted: Thu Jan 17, 2013 08:28
by kaeza
+1 my friend.
I don't use windows to play MT, but may come in handy.

PostPosted: Thu Jan 17, 2013 09:13
by 4aiman
+1

PostPosted: Thu Jan 17, 2013 17:00
by rubenwardy
Does it support Minetest Extensions repo?

PostPosted: Thu Jan 17, 2013 18:24
by RAPHAEL
rubenwardy wrote:Does it support Minetest Extensions repo?

No but might look into it. Also will be doing some updates to the Windows mod installer later today or tomorrow when I have the time to work on it.