Reading Compressed duf Files
SuperiorComputations
Posts: 0
I'm working on a plugin that needs to read the DSON within my asset files. I've found that some files are compressed & appear as binary, so I can't parse them the way I do with the normal text files.
I found this post about the same topic in the Scripting forum that suggests using DzGzFile: https://www.daz3d.com/forums/discussion/412911/why-some-duf-file-is-ascii-and-other-is-binary
Is there anything similar in the Daz SDK or in QT that could be used the same way? Or has anyone else found a good way to decompress these files into text for parsing?
I've tried using QByteArray's qUncompress function, but that didn't seem to work.
Comments
With the SDK, I think you need use DzFile with DzGzIO