Page 1 of 1

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

Posted: Fri Dec 28, 2018 23:23
by Nitro
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

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

Posted: Sat Dec 29, 2018 02:39
by Napiophelios
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.

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

Posted: Sat Dec 29, 2018 04:29
by Nitro
Haven't run into a problem with textures going into the media folder what steps did you do to encounter the bug?

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

Posted: Mon Dec 31, 2018 12:11
by Clyde
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.

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

Posted: Mon Dec 31, 2018 23:40
by Nitro
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

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

Posted: Wed Jan 02, 2019 18:54
by Clyde
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 ..

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

Posted: Wed Jan 02, 2019 20:04
by Clyde
-- Doublepost ---

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

Posted: Fri Jan 04, 2019 10:58
by Nitro
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

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

Posted: Fri Jan 04, 2019 11:52
by Linuxdirk
People should stop using Python 2.

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

Posted: Fri Jan 04, 2019 18:45
by Mantar
Linuxdirk wrote:People should stop using Python 2.
spidermom.jpg
spidermom.jpg (32.82 KiB) Viewed 504 times

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

Posted: Fri Jan 04, 2019 18:49
by sofar

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

Posted: Mon Jan 07, 2019 07:58
by Nitro
Linuxdirk wrote:People should stop using Python 2.
you can't tell me what to do mum