Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: [How-To] Playing Customs on PS3 #513432

    It’s XML-ish, or maybe more accurately, JSON-ish, but it’s not really either one. Like Alternity said, it’s its own thing, but it does have a syntax that someone could write a parser for if they were so inclined. Like XML and JSON, DTA files are built on nested key-value sets, but sometimes a given set of parentheses doesn’t hold a key and its values, but rather a collection of values for a previously defined key. There’s no way to know without the context of the surrounding file, which is what makes DTA its own special beast.

     

    Having said that, the simplest parser could at least make sure every opening parenthesis has a closing partner, and that could be enough to find what is breaking your customs.

     

    I think I could build a dta validator, but it’ll be terminal-only, built with Python and PyParsing. If anybody knows which sections are required (I would guess almost everything?) and which are optional (solos/comments?), please let me know!

Viewing 1 post (of 1 total)
Back to top button