Minetest Mod Creator

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

Minetest Mod Creator

by Lukeking » Post

Minetest Mod Creator

I'm sitting infront of my Netbook thinking of what I can do.
So I thought what it's like to write a Minetest Mod Creator - programme for modding-beginners.

Here's what I've done so far:
Image
..and some code in background :D

What's your opinion to this project?
Last edited by Lukeking on Tue Oct 07, 2014 17:31, edited 2 times in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

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

by rubenwardy » Post

Looks good. Nice work!

Is it a .lua file editor, or does it generate them for you?

A quite important thing to keep in mind in editors is KISS: make it as user friendly as you can, without making it stupid.

Also, it looks like Visual basic, which won't run in GNU+Linux :P

Finally, I suggest you release the code, a build, and/or make a youtube showing its functionality.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

For this appilcation I need a little minetest sandbox which runs minetest it self + activated mods. The sandbox-world only have to be 20x20x20 blocks big.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

by webdesigner97 » Post

Lukeking wrote:For this appilcation I need a little minetest sandbox which runs minetest it self + activated mods. The sandbox-world only have to be 20x20x20 blocks big.
Ah, you want to provide a preview for the user to help him "inspecting" his nodes? Hmm, not easy...

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

webdesigner97 wrote:
Lukeking wrote:For this appilcation I need a little minetest sandbox which runs minetest it self + activated mods. The sandbox-world only have to be 20x20x20 blocks big.
Ah, you want to provide a preview for the user to help him "inspecting" his nodes? Hmm, not easy...
Right :)
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

rubenwardy wrote:Looks good. Nice work!

Is it a .lua file editor, or does it generate them for you?

A quite important thing to keep in mind in editors is KISS: make it as user friendly as you can, without making it stupid.

Also, it looks like Visual basic, which won't run in GNU+Linux :P

Finally, I suggest you release the code, a build, and/or make a youtube showing its functionality.
1. I add a create and delete button - for creating and deleting the written mod -
you can select options write and edit code and create it
2. yes it's Visual Basic based and won't run on Linux or Mac OS X systems
Last edited by Lukeking on Wed Feb 19, 2014 15:09, edited 1 time in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

User avatar
onpon4
Member
Posts: 518
Joined: Thu Mar 21, 2013 01:54
GitHub: onpon4
In-game: diligentcircle
Contact:

by onpon4 » Post

I don't approve since you're choosing to make it proprietary, and I can't use it anyway since it's Windows-only. Re-do it in something that works on GNU/Linux systems (maybe Qt; try the Qt Designer, it's very nice) and release it as free/libre software, and I would be interested.
Last edited by onpon4 on Tue Feb 11, 2014 17:51, edited 1 time in total.

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

onpon4 wrote:I don't approve, because you're choosing to make it proprietary, and I can't use it anyway since it's Windows-only. Re-do it in something that works on GNU/Linux systems (maybe Qt; try the Qt Designer) and release it as free/libre software, and I would be interested.
1. it's version 0.1 !
2. maybe I'll teach myself python, so I can make it all-system-compatible

I'll make a german and english version first and on requests I also can add another language to it (maybe french, spanish)
Or I add a folder to it with *.LANG-files in it and in header a chance to change the languages
Last edited by Lukeking on Sat Feb 15, 2014 11:07, edited 1 time in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

Should I add syntax highlighting to it?
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

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

by rubenwardy » Post

If you want.

Syntax highlighting with rich text boxes in visual basic is a pain
Last edited by rubenwardy on Thu Feb 20, 2014 15:05, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

rubenwardy wrote:If you want.

Syntax highlighting with rich text boxes in visual basic is a pain
I don't think so... only 16 lines of code (but for every syntax)
Last edited by Lukeking on Thu Feb 20, 2014 15:24, edited 1 time in total.
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

User avatar
Novacain
Member
Posts: 285
Joined: Sat Aug 31, 2013 01:03
Location: Skaaro

by Novacain » Post

just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod

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

by rubenwardy » Post

Novacain wrote:just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).
It is not a requirement.

init.lua is the only requirement.
Lukeking wrote:I don't think so... only 16 lines of code (but for every syntax)
I probably did it the wrong way.

https://github.com/rubenwardy/VB_WebCre ... tor.vb#L48
Last edited by rubenwardy on Thu Feb 20, 2014 16:53, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

Novacain wrote:just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).
not for all mods, e.g. if you make a modification for spawning something on certain areas or change inventory view.... you mustn't need depends.txt
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

User avatar
Lukeking
Member
Posts: 54
Joined: Sun May 05, 2013 11:15
Location: Android Hell

by Lukeking » Post

rubenwardy wrote:
Novacain wrote:just noticed something. you list depends.txt as optional. it is a requirement for mods (I think).
It is not a requirement.

init.lua is the only requirement.
Lukeking wrote:I don't think so... only 16 lines of code (but for every syntax)
I probably did it the wrong way.

https://github.com/rubenwardy/VB_WebCre ... tor.vb#L48
I just used following lines of code:

Code: Select all

PrivateSub RichTextBox1(),KeyDown(ByVal sender As System.Object, ByVal a As System.Windows.Forms.KeyEventArgs) Handles RichTextBox1.KeyDown
        If e.KeyCode = Keys.Space Then
            Dim SelectionLength As Integer = RichTextBox1.SelectionLength
            Dim SelectionStart As Integer = RichTextBox1.SelectionStart
            Dim Letter As String = String.Empty
            Do Until Letter = " " Or RichTextBox1.SelectionStart = 0
                RichTextBox1.SelectionStart -= 1
                RichTextBox1.SelectionLength += 1
                Letter = RichTextBox1.Text.Substring(RichTextBox1.SelectionStart, 1)
            Loop

            If RichTextBox1.SelectedText = "hello" Or RichTextBox1.SelectedText = " hello" Then
                RichTextBox1.SelectionColor = Color.Blue
            Else
                'do nothing
            End If
            RichTextBox1.SelectionStart = SelectionStart
            RichTextBox1.SelectionLength = 0
            RichTextBox1.SelectionColor = Color.Black
        End If
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

This is a good project, however, I am working on an online version for dev.minetest.net That is if the moderators accept it.

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

by rubenwardy » Post

philipbenr wrote:This is a good project, however, I am working on an online version for dev.minetest.net That is if the moderators accept it.
dev.minetest.net is a wiki. Not sure about putting it there.

Would be cool to create an online Scratch 2.0 atmosphere.
(All update notifications in one place)

Maybe allow running of mods via:

minetest_mod://mod_download_url_to_run?conf=and_maybe_some_settings
Last edited by rubenwardy on Fri Feb 21, 2014 17:24, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

Amaz
Member
Posts: 354
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

by Amaz » Post

Do you have any plans to make this available to download in the nearish future? It looks really good! (And will save me a load of work!)

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

Re: Minetest Mod Creator

by jojoa1997 » Post

Will a download be made for this.?
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
lightonflux
Member
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof
Location: Germany

Re:

by lightonflux » Post

Lukeking wrote: I'll make a german and english version first and on requests I also can add another language to it (maybe french, spanish)
Or I add a folder to it with *.LANG-files in it and in header a chance to change the languages
I recommend using transifex (continuous localisation server), then the community can easily translate the project.

Their software is FOSS and the service is free to use for open source projects.

User avatar
aldobr
Member
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Re: Minetest Mod Creator

by aldobr » Post

We can try to make it using lazarus :

http://www.lazarus.freepascal.org

easy as visual basic, powerfull as C++ and the same exact code can run on linux, windows and mac with just a recompilaton.

ps.: It produces binary code in most platforms, besides android where it compiles to java bytecodes (generic java bytecode, can run on jre too).

User avatar
Zane
Member
Posts: 122
Joined: Fri Apr 19, 2013 20:28
In-game: Zane
Location: mars-JUST KIDDING!! XD

Re: Minetest Mod Creator

by Zane » Post

can you make it where you don't need to code? the mcreator is a minecraft mod maker that that doesn't need any knowlage of code.
perhaps you can do the same?

Shadowfire
New member
Posts: 1
Joined: Fri Jun 13, 2014 00:28
In-game: Shadowfire

Re:

by Shadowfire » Post

Lukeking wrote:
onpon4 wrote:I don't approve, because you're choosing to make it proprietary, and I can't use it anyway since it's Windows-only. Re-do it in something that works on GNU/Linux systems (maybe Qt; try the Qt Designer) and release it as free/libre software, and I would be interested.
1. it's version 0.1 !
2. maybe I'll teach myself python, so I can make it all-system-compatible

I'll make a german and english version first and on requests I also can add another language to it (maybe french, spanish)
Or I add a folder to it with *.LANG-files in it and in header a chance to change the languages

I agree with Onpon4. For crossplat form compatibility and ease of recreation, it would be wise to look in to and use QT5 and C++11. They work great together. Here is the link for both of them.

http://qt-project.org/wiki/Qt_5.0
http://woboq.com/blog/cpp11-in-qt5.html
C++11 actual website http://www.stroustrup.com/C++11FAQ.html


Videos of QT5 and C++11:
https://www.youtube.com/watch?v=HMcQM51FPFI --> QT5 Why you should be excited
https://www.youtube.com/watch?v=sajBj_eiH10 --> C++11 speed up QT5 programs
https://www.youtube.com/watch?v=BwXqJD- ... UaUlLRe5jQ --> QT C++ GUI

Hope this helps you out to make it availible for Mac and Linux as well.

Thanks,
-SF-

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

Re: Minetest Mod Creator

by rubenwardy » Post

C++ will probably be too advanced for him. Python will be more productive and easier.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

Re: Minetest Mod Creator

by Wuzzy » Post

Quote from the screenshot:
You're not allowed to modify and sell this programme in any way.
What justifies this?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests