Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

Post Reply
User avatar
Nitro
Member
Posts: 15
Joined: Thu Dec 27, 2018 10:56
GitHub: henry9836

Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Nitro » Post

A.M.C.T.F.M

While I was creating a mod while I was in a call with a friend of mine on discord and I was screensharing. He was watching as my nodes and items were being added to the game and he wanted to do that too, I showed him the modding beginner tutorial but he couldn't wrap his head around it so I made this for him instead. After it helped my friend add his own nodes to the game, I thought maybe some other people might want this too and here we are.

Features:
Node Creation
Normal nodes
Ores
Transparent nodes

Item Creation
Normal Items
Custom Crafting Recipes
Talk to player in chat


Source Code: https://github.com/henry9836/Just-MineT ... .M.C.T.F.M

Download: https://github.com/henry9836/Just-MineT ... s/releases

Everything is licensed under MIT
Last edited by Nitro on Mon Dec 31, 2018 23:49, edited 4 times in total.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Napiophelios » Post

Not all textures are making it to the textures folder,
several end up in the media folder.

It would also be nice if it renamed the textures to the proper names,
right now its just copying them over.

User avatar
Nitro
Member
Posts: 15
Joined: Thu Dec 27, 2018 10:56
GitHub: henry9836

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Nitro » Post

Haven't run into a problem with textures going into the media folder what steps did you do to encounter the bug?

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Clyde » Post

Sadly it don't work:

Code: Select all

 
#>python ./setup.py 
Traceback (most recent call last):
  File "./setup.py", line 2, in <module>
    import py2exe
ModuleNotFoundError: No module named 'py2exe'

Code: Select all

 #>python ./setup.py 
Traceback (most recent call last):
  File "./setup.py", line 2, in <module>
    import py2exe
ModuleNotFoundError: No module named 'py2exe'
What do i wrong?
Working on Arch-Linux.

Greetings, Clyde.
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
Nitro
Member
Posts: 15
Joined: Thu Dec 27, 2018 10:56
GitHub: henry9836

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Nitro » Post

If you're running on linux no need for setup.py :) (assuming you already have python 2.7 installed), the setup.py is for py2exe (windows users). If it doesn't run try these commands

Code: Select all

python auto_mod.py
# you cannot do ./auto_mod.py as I didn't add the Hash-Bang at the top of the file

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Clyde » Post

Python is installed, because so far it works but now:

Code: Select all

python auto_mod.py
Welcome to the Automatic Mod Builder For Minetest
Verison: V1.0
~Built by Henry Oliver

Traceback (most recent call last):
  File "auto_mod.py", line 198, in <module>
    inp = raw_input("Make a New Mod [Y/n]: ")
NameError: name 'raw_input' is not defined
I've checked Python2 in my system, the Problem is, Python2 has a lot of Packages ..
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
Clyde
Member
Posts: 222
Joined: Sat Jul 30, 2016 14:23
GitHub: acmgit
In-game: clyde

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Clyde » Post

-- Doublepost ---
My Server: Welcome to Zeitsprung - deadsoft.org:49152 Jungle The next Gundul - jungle-tng.deadsoft.org:49152

User avatar
Nitro
Member
Posts: 15
Joined: Thu Dec 27, 2018 10:56
GitHub: henry9836

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Nitro » Post

If you want python2 I believe this should work for you: https://www.archlinux.org/packages/extr ... 4/python2/
or you can go to the official download page: https://www.python.org/downloads/source/

you need python2 as raw_input is a python2 thing, you can try and replace "raw_input" with "input" I did that for you here: https://pastebin.com/QLfSCrMs

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Linuxdirk » Post

People should stop using Python 2.

User avatar
Mantar
Member
Posts: 585
Joined: Thu Oct 05, 2017 18:46
Contact:

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Mantar » Post

Linuxdirk wrote:People should stop using Python 2.
spidermom.jpg
spidermom.jpg (32.82 KiB) Viewed 486 times
Lead dev of Exile, git repo: https://codeberg.org/Mantar/Exile

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by sofar » Post


User avatar
Nitro
Member
Posts: 15
Joined: Thu Dec 27, 2018 10:56
GitHub: henry9836

Re: Automatic Mod Creation Tool For Minetest (A.M.C.T.F.M)

by Nitro » Post

Linuxdirk wrote:People should stop using Python 2.
you can't tell me what to do mum

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests