I've wrote an exporter for 3Dsmax using MaxScript.
File into which content is exported to is in a binary format, not a text file.
I would like to, at the end of the export, compress binary content using zip (for example, some equivalent to php's gzencode).
Is there a way that MaxScript can natively do this?
Or if not, is there a way maxscript can call an .exe or a .bat file with parameters, in which case I could then have an external tool to do compression?
Yes, there are the
maz/unmazcommands (for max zip):