Page 1 of 1

minetest config..why?(and much more)

PostPosted: Fri Jan 13, 2012 13:45
by jordan4ibanez
why does mine test use a config file? why not make all of the values tables? fov slider? doesn't that sound nice? :] what about if your playing on high settings and it starts lagging and you want to turn down the settings without resetting the game? frame rate cap? a slider switch for that? 30-300 :D but lets make this a double post because this involves the config menu too!

what if we had a new setting? instead of the game just rendering out more and more of the map until the frame rate is severely cut (this happens on my machine) why not make preset limits?? you know what can make that possible? a new rendering engine (engine? or is it code? anyway..) should be implimented the limits the number of chunks (in all 4 directions and on each axis) that can be loaded..this will allow faster rendering and will remove the "chunk flicker" that happens very frequently...and why do i have to stop here LETS GO EVEN FURTHER!

i noticed that you have to be near the chunks for it to load..i can see why..because if it loaded up every visual chunk (right now) it would be a low-fps irrlicht rendering nightmare...but the fix above would make this work without being a disaster! also no more annoying "pathways" of rendered "floating land" just to clearify... THIS would render all the chunks within a certain distance without having to look around..so it gives a more..natural feeling..also the fog should be a lot stronger..all of this would give the feeling (or illusion) of not being on a nod or a thin piece of land floating above nothingness..and it would give the ground more of a definitive feeling of being on actual "ground." BUT lets keep going with this...
EDIT: the way this works is if a person enters a chunk on 1 axis..the chunks on the opposite spectrum become unloaded..so lets just say you walk +1 on the x axis.. and this loads up a new set of chunks on that axis (it loads +1 x chunk and all the chunks across the y axis on that x axis within range) and removes the set of chunks on the opposite side of the "render box"


what if within a certain distance..the textures STOP LOADING COMPLETELY (sharply)! and there is just a blurred image so that the pc and rendering engine does not have to work hard..but a few nodes out from that..what if the texture does not load at all?? but the irrlicht engine supplies a color to each node that was supposed to have a texture...so far away sand would have "beige" color and grass block would have a green top and brown for the rest

what are my sources you say?? how do i know this will work??

this is what the gta series uses..other wise the xbox would not even be able to start playing gta 4

AND the minecraft optifine mod:http://www.minecraftforum.net/topic/249637-100-optifine-hd-d3-fps-boost-hd-textures/

PostPosted: Fri Jan 13, 2012 14:07
by neko259
Minetest uses config because it is the best way to store and edit settings.

PostPosted: Fri Jan 13, 2012 14:08
by jordan4ibanez
neko259 wrote:Minetest uses config because it is the best way to store and edit settings.

thats why i'm asking WHY because why should it be?! we should make it so it has a temp setting..which stores the setting but the main way to configure it is IN GAME :D

PostPosted: Fri Jan 13, 2012 14:09
by neko259
Editing config is faster and it can be done by scripts or through SSH.

PostPosted: Fri Jan 13, 2012 14:11
by jordan4ibanez
neko259 wrote:Editing config is faster and it can be done by scripts or through SSH.

but what i'm saying is THE CLIENT..should have these settings that effect the game play :) because it is a little tedious for this stuff and i've offered for my friends to play this game and then they ask..where are the settings? and i say "in this file" and their like -face palm- this games ghetto ..and they instantly drop it >.<

PostPosted: Fri Jan 13, 2012 14:19
by neko259
Well, what do your friends say when you tell them to compile the game from git? :P

PostPosted: Fri Jan 13, 2012 14:20
by jordan4ibanez
they use windows not linux lol

PostPosted: Fri Jan 13, 2012 14:21
by Hackeridze
neko259 wrote:Well, what do your friends say when you tell them to compile the game from git? :P

They would say: "Okay."

PostPosted: Fri Jan 13, 2012 14:22
by jordan4ibanez
if i did tell them that..they'd probobly go.. "ummm..nah"

PostPosted: Fri Jan 13, 2012 14:24
by Hackeridze
jordan4ibanez wrote:if i did tell them that..they'd probobly go.. "ummm..nah"
[ru transcription=true]
nah? nahui? :D[/ru]

PostPosted: Fri Jan 13, 2012 14:32
by redcrab
The issue is not about to have a setting in file, but be obliged to restart the software to be able to use new settings..

At server side it is also an issue..

for instance ...

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
port = 30000

it' is not an issue ... because that make sense to restart the server to use a new port

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
motd=Welcome to my server

This is an issue because why to restart the server if we want to set another "Message of the day" ... a lua api to change the motd ?
otherwise motd should be rename mottv (message to visitor) ... because current "of the day" involved a downtime for each refresh..

Can you imagine to have to restart your apache server each time you add a post to the forum ...
:D

my two cents..

PostPosted: Fri Jan 13, 2012 14:47
by neko259
You don't need to restart the server. You can use the 'setting' command in-game.

PostPosted: Fri Jan 13, 2012 19:38
by jn
jordan4ibanez wrote:why does mine test use a config file? why not make all of the values booleans? fov slider? doesn't that sound nice? :] what about if your playing on high settings and it starts lagging and you want to turn down the settings without resetting the game? frame rate cap? a slider switch for that? 30-300 :D but lets make this a double post because this involves the config menu too!

You basically propose a nice config GUI. We don't need kill the config file, though, it's still a nice thing to have around when playing with new options, or on a headless server. (Aside from that, the configuration needs to be stored on disk either way; plain text happens to be quite a sane option)


As to the other ideas, I hope someone will play with the rendering code and implement them, to see how well they work. (It probably won't be me, though)

PostPosted: Fri Jan 13, 2012 21:31
by sdzen
neko259 wrote:You don't need to restart the server. You can use the 'setting' command in-game.

dead true and quite a nice feature.

PostPosted: Fri Jan 13, 2012 23:16
by sapier
You know that inactive areas are not even loaded by server! I haven't implemented it but i assume that is done for following reasons:

1) less ram usage on server (might not be that expensive today)
2) reduce ANY search operation in game logics. You don't have to look if an unloaded block is involved in anything
3) entities! all inactive entities aren't handled anymore You think entities aren't a big deal? Consider animals entities each of them has to handle movement ai fighting ai etc ... having hundreds and thousands of them all active (which is no big deal on large worlds) will kill any server.

I don't understand how you want to get any possible setting in booleans? Whats wrong with a standard settings menu? Just because (some) smartphones do only know yes or no not every application round the world has to switch to that limited sort of configuration ;-).
At least thats my opinion :-)

PostPosted: Sat Jan 14, 2012 00:28
by jordan4ibanez
sapier wrote:You know that inactive areas are not even loaded by server! I haven't implemented it but i assume that is done for following reasons:

1) less ram usage on server (might not be that expensive today)
2) reduce ANY search operation in game logics. You don't have to look if an unloaded block is involved in anything
3) entities! all inactive entities aren't handled anymore You think entities aren't a big deal? Consider animals entities each of them has to handle movement ai fighting ai etc ... having hundreds and thousands of them all active (which is no big deal on large worlds) will kill any server.

I don't understand how you want to get any possible setting in booleans? Whats wrong with a standard settings menu? Just because (some) smartphones do only know yes or no not every application round the world has to switch to that limited sort of configuration ;-).
At least thats my opinion :-)

good point about booleans ..changed