-
Notifications
You must be signed in to change notification settings - Fork 9
Description
A nice addition would be CLI tool, mostly for analysis and inspection of DFF and TXD files. It should be able to display structure names and optionally data that are contained within structures. Since data in some sections are large, this will be omitted by default. The tool should also be able to display errors during parsing.
I was thinking it should output something akin to RWAnalyze tool by Steve-M. Example output:
+-- Clump (0xADDRESS)
+-- Frame List (0xADDRESS)
+-- Frame (0xADDRESS)
+-- Frame (0xADDRESS)
+-- Geometry List (0xADDRESS)
A chunk of code will probably have to be rewritten, so the structures are parsed on-the-fly, not all at once. Maybe this issue will also pave the way for GLTF/GLB/OBJ exporters. The point is, there should be logic separation between parsing the file and the output. Parser would hand out the data, exporters or outputs would declare what to do with the data.