Author Topic: user.config  (Read 5081 times)

iceblast

  • Sr. Member
  • ****
  • Posts: 374
user.config
« on: December 21, 2016, 06:16:31 AM »
Sorry, but, I don't see any kind of user.config file. Where can I find it?

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: user.config
« Reply #1 on: December 21, 2016, 01:33:30 PM »
Your user.config file is in a subfolder of "%localappdata%/voiceattack.com/".

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: user.config
« Reply #2 on: December 21, 2016, 02:24:14 PM »
user.config file doesn't have a ToolTipDuration in it. Also, the newest dated user.config file I have is 12-01-16. There is no other newer dated file. So, if this is newly added to the config file, I don't appear to have it.

I have the new beta installed. Either I'm doing something wrong, or .......

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: user.config
« Reply #3 on: December 21, 2016, 02:57:44 PM »
Ah. I checked mine, that setting is indeed missing.

For now, you can manually add it at the bottom of the "<VoiceAttack.Properties.Settings>" block:
Code: [Select]
            <setting name="ToolTipDuration" serializeAs="String">
                <value>10000</value>
            </setting>
Will set the duration to 10 seconds.

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: user.config
« Reply #4 on: December 21, 2016, 04:30:33 PM »
Apparently, it's having no effect. It's still 7 secs.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: user.config
« Reply #5 on: December 21, 2016, 05:05:06 PM »
Did you only have one "VoiceAttack.exe_" directory? From what I've seen "user.config" is saved every time VoiceAttack starts or shuts down, so the last modified date should be much more recent. It's likely the file you added that section to isn't the one VoiceAttack is reading.

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: user.config
« Reply #6 on: December 21, 2016, 05:30:23 PM »
I've done a hard drive search for user.config I've got 6 different ones, and the newest one is 12-01-16

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: user.config
« Reply #7 on: December 21, 2016, 06:14:54 PM »
Yikes.  Well, scratch that.  I forgot that if it's the default value, it's not written.  I'll add a command line option.

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: user.config
« Reply #8 on: December 21, 2016, 06:16:15 PM »
Cool!