UFO: Alien Invasion Issue Tracker
Please log in to bookmark issues
OPEN  Feature request #4111  -  save only cvars that differ from default
Posted Dec 24, 2012 - updated Jan 29, 2013
mattn (tlh2000) has been working on this issue since January 28, 2013 (20:49)
Issue details
  • Type of issue
    Feature request
  • Status
  • Assigned to
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
  • Owned by
    Not owned by anyone
  • Category
  • Priority
    2. Low
  • Targetted for
    icon_milestones.png Not determined
  • Complexity
    icon_customdatatype.png Not determined
Issue description
Item 627 imported from sourceforge.net tracker on 2013-01-28 20:23:02

The idea is that config.cfg should only contain cvars that user has explicitely set. That way, we could change defaults (like sv_threads recently) by just a commit and tell them "get latest HEAD" instead of telling them and often explain how to. I can't think of disadvantages.

I volunteer to implement it myself, but I wanted to hear a 2nd opinion. Any negative effects I didn't think of ?
Comments Ported from Sourceforge  ⇑ top
tlh2000 (2012-12-25 08:33:28.865000)  ⇑ top
A qsort call at save time would be Better. Keep in mind that they are stored in a (theoretically) unsorted hash and The creationorder is not sorted in The code, too.

But i second The feature request
natewr (2013-01-22 15:13:45.507000)  ⇑ top
- **status**: open --> accepted - **priority**: 1 --> 4