[Mod] Schematic Editor [1.1.0] [schemedit]

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby Lone_Wolf » Fri May 18, 2018 12:24 am

Wuzzy wrote:Note that anything outside the world directory is taboo, this is a restriction dictated by Minetest's mod security system.
And I don't plan to violate that, I don't want my mod to be able to write on any directory.

The only leeway I might have is changing the directory inside the world directory, but this doesn't seem too helpful.

Maybe this should first be discussed with Minetest developers, the mod security system only allows us to write into a very few specific locations.

Please tell me your specific use case for this feature, and how you would use it. Maybe I'll understand your motivation then.

I'm using this mod to create schematics for a mod that adds items which you can use to instantly build saved structures (Right-click the ground with the item and it spawns the building). Right now I have to save the schematic, pause Minetest, and drag the schematic file into my mod.
It won't make a very large difference if you did allow me to just set the file destination to my mod. But it would be useful. My current method works
Lone_Wolf
Member
 
Posts: 2143
Joined: Sun Apr 09, 2017 5:50 am
GitHub: LoneWolfHT
In-game: Lone_Wolf

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby Wuzzy » Fri May 18, 2018 1:40 am

Yeah, this is writing into a foreign mod directory. Sorry, this is a no-go area.
Wuzzy
Member
 
Posts: 3429
Joined: Mon Sep 24, 2012 3:01 pm
GitHub: Wuzzy2
In-game: Wuzzy

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby zing269 » Fri May 18, 2018 2:33 am

Could both mods share a directory in the world directory?
zing269
Member
 
Posts: 71
Joined: Sat Apr 30, 2016 7:10 pm

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby Wuzzy » Fri May 18, 2018 2:53 am

Yes, but only if they are in the same world.
Wuzzy
Member
 
Posts: 3429
Joined: Mon Sep 24, 2012 3:01 pm
GitHub: Wuzzy2
In-game: Wuzzy

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby texmex » Tue Jul 17, 2018 10:44 am

Would you consider supporting the Minecraft .schematic file format? It's already supported in this mod, here, so perhaps it's not that hard?
texmex
Member
 
Posts: 1291
Joined: Mon Jul 11, 2016 9:08 pm
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby Wuzzy » Fri Jul 20, 2018 10:13 am

No.

First of all, this mod only seems to analyze .schematic files and return them as Lua table. That's not enough, I would also need a converter which converts from .schematic to .mts.

Ideally, there would be a separate program that converts .schematic files to MTS. Then you can make those files work for all mods.

Therefore, I think such a conversion is out of scope for schemedit.
Wuzzy
Member
 
Posts: 3429
Joined: Mon Sep 24, 2012 3:01 pm
GitHub: Wuzzy2
In-game: Wuzzy

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby texmex » Fri Jul 20, 2018 1:46 pm

Okay, thanks for your answer.
texmex
Member
 
Posts: 1291
Joined: Mon Jul 11, 2016 9:08 pm
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby BrunoMine » Fri Dec 28, 2018 1:57 am

This mod saved me a lot of time. Thanks for the simplicity and the good work. I use several of your mods, you're an excellent developer in minetest. thank you.
BrunoMine
Member
 
Posts: 1039
Joined: Thu Apr 25, 2013 5:29 pm
GitHub: BrunoMine

Re: [Mod] Schematic Editor [1.0.0] [schemedit]

Postby runs » Sun Feb 10, 2019 1:11 am

How to convert to lua instead of mts?
runs
Member
 
Posts: 369
Joined: Sat Oct 27, 2018 8:32 am
GitHub: runsy

Version 1.1.0 is out!

Postby Wuzzy » Tue Mar 26, 2019 11:16 am

Version 1.1.0 is out!

Changelog:
  • Mod is now ready for Minetest 5.0.0
  • Mod now depends on Minetest 5.0.0
  • Mod is now translatable
  • Add German translation
  • Make border box glow in the dark
  • Disable repair recipe for the node probability tool
  • Fix some typos
Wuzzy
Member
 
Posts: 3429
Joined: Mon Sep 24, 2012 3:01 pm
GitHub: Wuzzy2
In-game: Wuzzy



Return to Mod Releases



Who is online

Users browsing this forum: Bing Bot [Bot] and 0 guests