Author Topic: Restoring commands from previous custom configuration?  (Read 1285 times)

0 Members and 1 Guest are viewing this topic.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Restoring commands from previous custom configuration?
« on: January 11, 2014, 11:56:28 AM »
So let's say, hypothetically ( ::)), I decide to apply a standard configuration from the File menu without remembering to back up my current configuration. Is there any way to then retrieve my old custom commands?

I can see that there are old command group names listed in the srgs folder as *.cfg files. Are those of any use to me now?

... I've tried searching the forum and the wiki but haven't found any tips on this situation, except the obvious: "Make a backup first, dumbass".  :bonk
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7715
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Restoring commands from previous custom configuration?
« Reply #1 on: January 11, 2014, 01:28:12 PM »
The cfg files by themselves are not useful.  They are just the cached precompiled speech recognition files (used to speed up loading VC), but they need to match a voicecommands.xml file to work.

If you have windows recovery properly configured you can use "previous versions" to get your xml back.  I find this extremely useful!

http://windows.microsoft.com/en-ca/windows/previous-versions-files-faq#1TC=windows-7

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Restoring commands from previous custom configuration?
« Reply #2 on: January 11, 2014, 01:42:22 PM »
Ah yes. Well. Ahem. Er. ...

I don't have that enabled.

BUT: Good news. I was able to rename the file called 'voicecommands.backup' which had a date modified time stamp from a couple hours ago (i.e, renamed it to voicecommands.xml), and that successfully restored my previous commands. Hurrah!  ::banana

I assume that if I'd edited the new command tree and saved it, however, that would have overwritten that backup file, though, right? So it's not something to count on.

If this happens to others: I also had to re-enable the various plugins that my previous custom commands used, since my options.xml file was also overwritten when I applied the standard configuration.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)