Development tools (for both Minetest and mods)

User avatar
Wuzzy
Member
Posts: 3981
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Development tools (for both Minetest and mods)

by Wuzzy » Post

In the Minetest Developer Wiki you find a list of tools which can help you in the development of Minetest and mods for Minetest:

http://dev.minetest.net/Development_Tools

I think this list may be useful for developers all around Minetest. :-)

If you know of other tools useful for developers, please add it to the wiki page or just reply in this thread.
Last edited by Wuzzy on Sat Jun 02, 2018 13:56, edited 3 times in total.
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

User avatar
octacian
Member
Posts: 594
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: Development tools (for both Minetest and mods)

by octacian » Post

Good resources for newbies. Maybe you should include suggested code editors and such? Tools to check for Lua "style" errors?

huh, I'm pretty sure that I myself once had a tool installed on my computer to check my Lua styling, but can't seem to remember what it was.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
rubenwardy
Moderator
Posts: 6189
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Development tools (for both Minetest and mods)

by rubenwardy » Post

LuaCheck is good as a linter. Minetest uses it for travis (maybe add a tutorial for how to set up LuaCheck and Travis CI for a mod?)

Editors and style checkers are highly subjective. The best editor is obviously Atom.
I suggest finding a third party link that lists them in an objective way.

wilkgr76
Member
Posts: 833
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: Development tools (for both Minetest and mods)

by wilkgr76 » Post

The best editor is obviously Atom.
True.

Though I must say, Geany is a close second due to how well it runs even on toasters (I believe its the default IDE on Raspbian, but don't quote me on that)
N/A

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

My stuff: Projects - Mods - Website

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

Can you please mention my Schematic Creator there, as it's free.
Thanks in advance.
My stuff: Projects - Mods - Website

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

[...]
Though I must say, Geany is a close second due to how well it runs even on toaster
[...]
Geany is not a good editor in my opinion, due to the fact it creates characters that you don't see when editing, what gave me some very interesting Python errors..., and as I couldn't see their source, as I was only shown characters that were different from them written on the Hard Drive, it's definitely not a good choice.
My stuff: Projects - Mods - Website

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

LMD wrote:This may help :
viewtopic.php?f=14&t=18780
Could you please take Model Creator in again ? I changed the license to CC-BY-NC 3.0, and here's the source :
https://github.com/appgurueu/Model-Creator-v1.3
My stuff: Projects - Mods - Website

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

rubenwardy wrote:LuaCheck is good as a linter. Minetest uses it for travis (maybe add a tutorial for how to set up LuaCheck and Travis CI for a mod?)

Editors and style checkers are highly subjective. The best editor is obviously Atom.
I suggest finding a third party link that lists them in an objective way.
How to install LUA for Atom ?
My stuff: Projects - Mods - Website

User avatar
GreenXenith
Member
Posts: 1315
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
IRC: GreenXenith
In-game: GreenXenith
Location: SCP-3008
Contact:

Re: Development tools (for both Minetest and mods)

by GreenXenith » Post

rubenwardy wrote:The best editor is obviously Atom.
I beg to differ.
Sublime FTW!
Y▹uTube | Mods | Patre●n | Twitter | Minetest Discord | GreenXenith#3232

Hey, you. You're finally awake.
You were trying to view their profile, right? Found the rest of their signature, same as us, and that guest over there.

User avatar
Nathan.S
Member
Posts: 1009
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: Development tools (for both Minetest and mods)

by Nathan.S » Post

LMD wrote: How to install LUA for Atom ?
I cover installing luacheck and the lua-language packs for Atom in this lesson. http://www.nathansalapat.com/mmc/01-05-code-editors
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

Thanks.
My stuff: Projects - Mods - Website

JanLS
New member
Posts: 6
Joined: Thu Jun 21, 2018 23:26
In-game: JanLS

Re: Development tools (for both Minetest and mods)

by JanLS » Post

Just to throw out an idea I just flashed: alternative minetest - to build simple mods.

Almost nonexistent learning curve for user whom already familiar to minetest creativity mode.

Even thought there are already tools like NodeBoxEditor and Model Creator I have a idea/request for yet another one, hopefully easier to use, especially for noobs.

Basically creating new mod/model within the game in creativity-mode.

use-case: one desires to build an LCD clock. Opens an program that load the world like regular minetest (build staff as in creative-mode), and builds logic out of mesecons, illustrates exterior a bit with same casual blocks (just the same way as usual in minetest creative mode). Saves the result (but not as a world, but as a block/entity instead).

By default, size would be 16:1 (16^3 blocks = 1 block in mine-test as entity), this would be changeable turning saving process, e.g.: one block = 32 block instead or 1 entity measure two or eight blocks instead of one block (involves some limits for sizing of course - on performance reasons).

For performance: Mesecons logic shall be pseudo saved. instead of saving buttons/leavers, etc. One will be limited to interactive block sides instead. By default all sides will be non interactive as interactivity will be set by user with special button blocks:
* one block for one face
* block has a fixed face side, according to entity side
* right-clicking on paced block cycle through button modes: button; socket; etc.

Two special methods for saving: directly to game mods folder as a mod or to desktop as zip file ready for uploading (with option to select pleasing license in the process)

world name = mod name.

By default loaded "world" will be 8x8x8 cube of wood blocks

Designing entity this way helps to keep unified design. For example some of the simplest non interactive mod to create with this would be a decorative block as a bench, a cake, a miniature villager house, etc).

Later on could be added special features for textures.
* one can specify used texturepack manually.
* program generates automagically textures for all texturepacks it can find from corresponding directories
* custom handdrawn texture (as a wallpaper per block side).

---

I think easiest way to pull this off could be:
* one just builds the entity with creative-mode: involves dedicated game for minetest, which generate empty map with 16^3 cube filled with blocks of wooden boards by default for the player to edit.
* then runs a app which converts it into a mod.

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

Apparently you are searching for Wesh : viewtopic.php?f=9&t=20115
My stuff: Projects - Mods - Website

JanLS
New member
Posts: 6
Joined: Thu Jun 21, 2018 23:26
In-game: JanLS

Re: Development tools (for both Minetest and mods)

by JanLS » Post

LMD wrote:Apparently you are searching for Wesh : viewtopic.php?f=9&t=20115
Wow, people are already having it boiling, thanks!

I'll link mine post to Wesh tread.

-- Also just realized, I've probably posted this under wrong thread - ups!

JanLS
New member
Posts: 6
Joined: Thu Jun 21, 2018 23:26
In-game: JanLS

Re: Development tools (for both Minetest and mods)

by JanLS » Post

Posting a request here as did not figure out any more suitable thread for this:

Could you guys please pleace the explanation for the meaning of the "WIP" to somewhere more apparent, as one can easily get lost in the wikis and forum post queries searching for it.

Actually I figure a dedicated wiki page to serve as a definition list for some used terms would be nice, especially for newcomers.

User avatar
rubenwardy
Moderator
Posts: 6189
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: Development tools (for both Minetest and mods)

by rubenwardy » Post

Image

This is definitely not a suitable thread for that request

User avatar
Hybrid Dog
Member
Posts: 2761
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: Development tools (for both Minetest and mods)

by Hybrid Dog » Post

+ Spoiler

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
sorcerykid
Member
Posts: 1336
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Development tools (for both Minetest and mods)

by sorcerykid » Post

Hi, please add my Stopwatch mod to the dev wiki. Thanks!

viewtopic.php?f=9&t=20699

Ruggila
New member
Posts: 4
Joined: Fri Aug 31, 2018 09:29
In-game: Ruggila

Re: Development tools (for both Minetest and mods)

by Ruggila » Post

rubenwardy wrote:The best editor is obviously Atom.
No, Emacs :-)

dawgdoc
Member
Posts: 252
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: Development tools (for both Minetest and mods)

by dawgdoc » Post

Ruggila wrote:
rubenwardy wrote:The best editor is obviously Atom.
No, Emacs :-)
Every right thinking person knows Vim is the best. ;-p
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.

Brian Gaucher
Member
Posts: 76
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: Development tools (for both Minetest and mods)

by Brian Gaucher » Post

dawgdoc wrote:
Ruggila wrote:
rubenwardy wrote:The best editor is obviously Atom.
No, Emacs :-)
Every right thinking person knows Vim is the best. ;-p
Yes, Vim is what I use for LUA and C++.

P.S. Sometimes I use Kate
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak

User avatar
v-rob
Member
Posts: 752
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
Location: Right behind you.

Re: Development tools (for both Minetest and mods)

by v-rob » Post

You guys are all wrong. Notepad in Windows is obviously the best ;-P
Just kidding of course.

User avatar
LMD
Member
Posts: 908
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: Development tools (for both Minetest and mods)

by LMD » Post

BTW : You can also use IntelliJ with plugins for LUA...
My stuff: Projects - Mods - Website

Brian Gaucher
Member
Posts: 76
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: Development tools (for both Minetest and mods)

by Brian Gaucher » Post

LMD wrote:BTW : You can also use IntelliJ with plugins for LUA...
When I was a windows user, I used IntelliJ, coded in java, browsed with chrome and loved Minecr-
Now I use linux (Antergos, not arch btw), code in Vim (in dvorak), code in C++ (still learning it), browse with firefox, and play Minetest and SuperTuxKart.
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest