Time Nick Message 07:42 nerzhul hello 07:42 nerzhul FYI i'm always working on irrlicht 1.8.4 with SDL, the graphics part, i'm slowling working, it compiled, it link on MT but currently crash on createDeviceEx, i'm in the debug phasis 19:10 kilbith 2 things 19:11 kilbith the "Loaded mesh: ..." log message must go as we have model[] now (this flood the console) 19:12 Krock #3255 19:12 ShadowBot https://github.com/minetest/minetest/issues/3255 -- Some Irrlicht messages bypass the Minetest log system 19:14 Krock 2nd thing? 19:14 kilbith https://github.com/EvidenceBKidscode/kidscode/commit/83dc7efa5fb46c07 19:15 kilbith 2nd thing: managing dependencies through mod.conf fucking sucks; it was more straightforward and easier to remember in depends.txt 19:15 Krock seems good 19:16 kilbith I always forget the `optional_depends` thing 19:16 kilbith it's too verbose 19:17 Krock which name would you prefer? compat code can be added, so that's not a problem 19:17 MTDiscord Don't do https://github.com/EvidenceBKidscode/kidscode/commit/83dc7efa5fb46c07 19:17 MTDiscord That's a dirty hack 19:17 Krock which log messages do you need from irrlicht, appguru? 19:17 kilbith it could have been narrowed down to: "depends: foo, bar?, foo2" 19:17 kilbith * depends = 19:17 Krock though that list sometimes gets very long. a problem that didn't exist in depends.txt though 19:18 kilbith yeah 19:18 MTDiscord TBH I'd advocate for: depends.1 = foo depends.2 = foo2 optional_depends.1 = bar 19:18 kilbith that's why depends.txt's still better 19:18 MTDiscord no 19:18 Krock multiline settings is possible too 19:18 MTDiscord TBH Lua would be optimal 19:18 Krock why do you need Lua for dependencies? 19:19 MTDiscord return {name = "foo", description = "bar", dependencies = {required = {foobar = "version"}, optional = {barfoo = "version"}}} 19:20 MTDiscord most packages don't have version info that could be used to do dependency version checks 19:20 MTDiscord we should get rid of our arbitrary formats in favor of all Lua 19:20 MTDiscord settingtypes.txt and minetest.conf are such arbitrary formats 19:20 MTDiscord although minetest.conf is quite acceptable in fact 19:20 MTDiscord in favor of Lua? Maybe ... but in favor of something that has existing parsers so we don't need to maintain our own? Yeah, definitely. 19:21 MTDiscord JSON or maybe YAML would be fine. conf would be okay if it used a standard INI-parser format that was also flexible enough to put in the level of structure we need... 19:21 MTDiscord settingtypes.txt is the biggest PITA IMO, so I'm using this to allow specifying my configuration schema in Lua: https://github.com/appgurueu/modlib/blob/master/schema.lua 19:21 MTDiscord such a solution should eventually be part of the engine though 19:22 MTDiscord example usage: https://github.com/appgurueu/disable_build_where_they_stand/blob/master/schema.lua 19:23 MTDiscord world.mt also has to be replaced 19:24 MTDiscord should for now be renamed to world.conf 19:24 MTDiscord force_loaded.txt should be force_loaded.lua 19:24 MTDiscord env_meta.txt should be replaced by a Lua format 19:25 MTDiscord ipban.txt probably too (although, to be fair, bans should be handled by the DB) 19:26 MTDiscord map_meta.txt already uses a Lua-ish format and should use proper Lua 19:26 MTDiscord that's about it 19:26 rubenwardy problem is that would require a lua interpreter to read it 19:26 rubenwardy not so bad for minetest, but bad for ContentDB 19:28 MTDiscord JSON would be a good compromise. MT and CDB both should have facilities to handle JSON. It also wouldn't be unprecedented to have a transition period where both mod.conf and mod.json are supported before mod.conf can be deprecated. 19:33 MTDiscord #10766 19:33 ShadowBot https://github.com/minetest/minetest/issues/10766 -- Get rid of variety of custom file formats 19:41 Krock appguru: there's only three types. Settings, settingtypes.txt format and plain Lua (force_loaded.txt) 19:42 Krock you forgot the mod storage which is JSON 19:42 rubenwardy JSON isn't a custom format 19:42 Krock and the favourite servers feature which is going to be replaced soon anyway 19:43 Krock right. it's just another thing we use among others 20:01 MTDiscord Krock: no, there's more than three types 20:02 MTDiscord env_meta and map_meta use custom formats 20:02 MTDiscord iirc player storage uses custom formats to if no DB is available, but that is rather unimportant 20:02 MTDiscord s/to/too 20:41 kilbith #10265 20:41 ShadowBot https://github.com/minetest/minetest/issues/10265 -- FormSpec: 9-slice images, animated_images, and fgimg_middle by v-rob 20:41 kilbith I actually need this for my new inventory, any reviewer? 20:42 kilbith v-rob should be more lobby'ing their PR on IRC 20:42 kilbith * do