UFO: Alien Invasion Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
OPEN  Feature request #4111  -  save only cvars that differ from default
Posted Dec 24, 2012 - updated Jan 29, 2013
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
mattn (tlh2000) has been working on this issue since January 28, 2013 (20:49)
Issue details
  • Type of issue
    Feature request
  • Status
     
    Accepted
  • Assigned to
     mattn
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     aduke1
  • Owned by
    Not owned by anyone
  • Category
    Engine
  • 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