Forum: Poser Technical


Subject: Do we know how PMD files are encoded?

odf opened this issue on Jul 29, 2021 ยท 41 posts


odf posted Tue, 14 December 2021 at 9:04 PM

After all this time, I've finally gotten around to playing with adp001's PMD code. Not too much trouble converting to Python 3 so far.

One now needs to decode strings read from binary files in order to use them like regular Python strings, which is something I had not done too often and had to look up. Smooth sailing after that.

I tried the code on a very old PMD file that did not include UUIDs for morphs. I'm not sure how Poser itself handles the distinction, but only trying to read UUIDs if there's room between the end of the morph declarations and the first batch of morph data seems to work well enough.

Slightly off-topic, but relevant to how much time I spend on PMDs right now: has anyone checked if Poser can read pose files with embedded deltas for subdivision morphs? Because if it does, I think that's a slightly easier avenue for now for getting such morphs into Poser from external programs. If no one knows, I'll just try it myself.

-- I'm not mad at you, just Westphalian.