Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Versioned config files  (Read 511 times)

katana0182

  • Bay Watcher
    • View Profile
Versioned config files
« on: December 23, 2007, 10:05:00 am »

First, what a great game! Thanks for all your hard work, Toady. It's brought me and no doubt countless thousands of others millions of hours of enjoyment.

I have a minor suggestion to make. Every new DF version overwrites the previous consolidated config file (init.txt) if it's unzipped uncautiously, and old config files don't have the new features introduced by new config files. This is the cause of (very minor) annoyance to me, but to someone not used to editing plaintext files and dependent on GUIs, this might result in lots of trouble.

I was wondering if it would be possible to have separate config files for separate versions; to perhaps create a new config filename for each version (e.g. init.txt becomes init.0.27.169.33g.cfg). The same could be done for interface.txt and graphics_*.txt files.

It would then be a relatively simple operation for the DF executible to read the old config files upon the first run of a new version, and update the new config files with the old ones' settings.

Logged

PTTG??

  • Bay Watcher
  • Kringrus! Babak crulurg tingra!
    • View Profile
    • http://www.nowherepublishing.com
Re: Versioned config files
« Reply #1 on: December 23, 2007, 08:25:00 pm »

Umm, It's actually probably a better idea to extract new versions in fresh folders, because sometimes new raws get consolidated or added or removed and a few other little problems, so sometimes overwriting the old version can lead to a few problems. I think there where some weird glowing or burning items previously.
Logged
A thousand million pool balls made from precious metals, covered in beef stock.

DDouble

  • Bay Watcher
    • View Profile
Re: Versioned config files
« Reply #2 on: December 24, 2007, 03:36:00 am »

Yes weird things happen if we don't do clean installs. In the older versions it used to cause certain things to burst into flame if a fort was loaded in a new version.
Logged