Main Page » My Games » Villainmad »

2013/01/21 (Villainmad): So I spent the last month sort of messing around with the config system

Created:

Always use secure-HTTP / Secure HTTP / Permanent Link

The problem was one of indecision: whether to use the built-in system for saving configurations in .settings files, which was causing a gigantic host of problems, or whether to create a system for saving INI files from scratch, which is reinventing the wheel, and if the latter, precisely how I should go about doing it.

I went with the one that wasn't causing problems and just picked a straightforward implementation, and I got it done in two days.

WELL THAT WASN'T SO HARD, NOW, WAS IT, PAST ME!?

4 Comments (auto-closed) (rss feed)

Mr. Vareel

Sounds like that went well. Oh, by the way. Λs a fledgling programmer, I'm curious: what language are you using?

Dizzy H. Muffin

C#. I'm now using MonoGame, which is an open-source port of Microsoft's XNA framework. (See also: most of the rest of this blog)

Joe4evr

If you hadn't already picked the way you were going to tackle this, I would've suggested to take a look at Serializable classes which can be used to really easily read/write settings from/to XML.

Dizzy H. Muffin

For my purposes, that is just seriously way overthinking what I'm trying to do.