why some duf file is ascii and other is binary?

hi, guy
I'am going to wrote some code to rewrite *.duf file. but when I save scnece in daz, the duf file saved is binary forme, not like json can text read. how to save duf file as ascii ?
thank you.
You currently have no notifications.
hi, guy
I'am going to wrote some code to rewrite *.duf file. but when I save scnece in daz, the duf file saved is binary forme, not like json can text read. how to save duf file as ascii ?
thank you.
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2025 Daz Productions Inc. All Rights Reserved.
Comments
The binary ones are compressed. You can uncompress them either from DS or usig a program like 7zip.
thank you
For scripting, use DzGZFile instead of DzFile and the decompression will be handled for you.
DzGZFile ?? what is that?
It's the same, more-or-less, as DzFile but handles compressed and uncompressed files - so you shoulldn't need to change much of your script other than the file opening section.