Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: warn about invalid values in config files  (Read 684 times)

Su

  • Bay Watcher
    • View Profile
    • Angel Island Zone
warn about invalid values in config files
« on: March 15, 2022, 06:53:12 am »

dwarf fortress just crashed on us after many, many hours of progress. fortunately, we turned autosaving on! so all we have to do is loa-

Code: [Select]
[AUTOSAVE:YES]
[AUTOBACKUP:NO]

*screams*

please consider warning the user if they attempt to run df with invalid values in config files.

context, for anyone who doesn't know what this means: in d_init.txt, "AUTOSAVE can be set to NONE, SEASONAL or YEARLY", and apparently that means "YES" is functionally equivilent to "NONE".
Logged

voliol

  • Bay Watcher
    • View Profile
    • Website
Re: warn about invalid values in config files
« Reply #1 on: March 15, 2022, 09:33:01 am »

I think this will be less necessary in upcoming version, as these settings will be made configurable somewhere within the game, presumably by selecting options instead of typing in text fields. But even then, messing around with the init files in unexpected ways should lead to warnings.

+1