MovingBlocks/Terasology — Issue #132: Fancy Options / Config architecture
Author: Cervator
Created: 2012-02-23 04:25:21+00:00
State: open

Thanks to Kai we have the shiny beginnings to a more proper options / config setup with categories and all sorts of stuff! \o/

But moving the options back out into an external permanent location the applet broke again (Begla did this to me once already, hehe!) and we have settings duplicated /o\

I've been wondering about how to best do something like this. I wonder if it is possible to keep the default setting definitions within the jar file (out of reach of evil users and within reach of the poor innocent applet) and at a particular time generate the external files from the internal copies so we only have one location to maintain (very important)

That could simply be on game startup if the external files do not exist yet (could probably check if running via applet and not do that then, simply load internally). Alternatively it could be done on demand via an Options menu in-game ("I want moar config! Give me external files plz!")

Thoughts? I'll be happy to do the applet-side tweaks over in #130 but last time I just did the quick hack that got us here just now, so I'm thinking I should let a proper developer do it right... :-)