Windows Mod installer with repo support

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

Windows Mod installer with repo support

by RAPHAEL » Thu Jan 17, 2013 07:17

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
Last edited by RAPHAEL on Thu Jan 17, 2013 08:19, edited 1 time in total.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Jan 17, 2013 07:55

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.
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Thu Jan 17, 2013 08:17

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
Last edited by RAPHAEL on Thu Jan 17, 2013 08:22, edited 1 time in total.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Thu Jan 17, 2013 08:28

+1 my friend.
I don't use windows to play MT, but may come in handy.
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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Jan 17, 2013 09:13

+1
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Thu Jan 17, 2013 17:00

Does it support Minetest Extensions repo?
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09

by RAPHAEL » Thu Jan 17, 2013 18:24

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.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 8 guests