fonsleenaars / tqdb

Python parser for the Titan Quest Anniversary Edition, Ragnarok, Atlantis, Eternal Ember DLC database.
https://tq-db.net
MIT License
50 stars 15 forks source link

Template parsed setup #41

Closed fonsleenaars closed 6 years ago

fonsleenaars commented 6 years ago

The new setup that's been in the works for a while since the Ragnarok DLC now parses DBR files by iterating over their templates (which are defined in Toolset\Templates.arc, and can be extracted by the ArchiveTool in the TQ install directory).

This new setup allows parsers to be mapped to templates, which handle the variables they're responsible for, and pass on the result for the next parser to go over.

This new setup allows for easier expansion to solve the reported issues, and the website is being updated with the result of this new setup.

Since I'm the only maintainer on this project, I've decided I'll push to master for now, should that ever change I'll revert back to a branch based development process.