Menu

#10 All VDF tokens required to be in "quote marks"

open-accepted
5
2009-06-21
2009-06-20
Anonymous
No

VDF tokens only need to be wrapped in quote marks if they contain whitespace. However, DuctTape will refuse to load a file that isn't 100% quotemark-ed up!

When writing soundscapes, materials etc. I never waste time typing the quote marks unless they're needed, so this is bug really screwing me around.

Discussion

  • coder0xff

    coder0xff - 2009-06-21
    • labels: --> 1176672
     
  • coder0xff

    coder0xff - 2009-06-21
    • assigned_to: nobody --> ravhoorn
     
  • coder0xff

    coder0xff - 2009-06-21

    I assume your talking about Steam/config/SteamAppData.vdf? If not, please be more specific. I'm not sure why you'd need to edit that file. Nevertheless, you are right. It was set to reject non-quoted by design because Steam always writes it quoted. I have changed it to allow non-quoted tokens. (very easy change)

    The SVN has been updated to reflect the change (rev. 55).

     
  • coder0xff

    coder0xff - 2009-06-21
    • assigned_to: ravhoorn --> coder0xff
    • labels: 1176672 --> 1176674
    • status: open --> closed-fixed
     
  • Nobody/Anonymous

    • status: closed-fixed --> open-fixed
     
  • Nobody/Anonymous

    VDF is the name of the format Valve use for all their scripts. And thanks. :)

     
  • Nobody/Anonymous

    When you said you'd changed "it", did you mean script parsing in general or that particular file? :P My custom soundscape file still produces an error.

     
  • coder0xff

    coder0xff - 2009-06-21
    • assigned_to: coder0xff --> ravhoorn
    • labels: 1176674 --> Soundscape Editor
    • status: open-fixed --> pending-accepted
     
  • Nobody/Anonymous

    • status: pending-accepted --> open-accepted
     
  • Nobody/Anonymous

    Managed to fix this as well. Coding is fun. :D

    http://pastebin.com/m212f0d51

     

Log in to post a comment.

MongoDB Logo MongoDB