

Image Export LogĪnd here's the log from a simulated image export (Save Image As » "FAKE"): I was wondering whether this has to do with the fact that PMNG has multiple File I/O interfaces (image import/export, animation import/export, palette import/export, and so on), which would explain why these are called multiple times - although it would make more sense to call them once and store the returned values, or memoize these calls to avoid redundancy (I've noticed that when there are more than 3 plugins PMNG startup can get quite slow).
#New version of cosmigo promotion full
Here's the full log from when the DLL is attached to PMNG's process up to the end of all initialization calls:ġ3:48:43 | initialize(*language, *version, *animation)Īs you can see, getFileBoxDescription() is called multiple times (10 times!), and so is getFileTypeId() (29 times), as well as others (but not all). In any case, I though it was worth providing you with the latest logs, in case these redundant calls are not supposed to occur, and also because I'm curious about them since I've noticed that their occurrence is not fixed and might change depending on how many plug-ins are present in the plugins/ folder. I'm not sure why this happens, and whether it's caused by the fact that the plug-in causes a slight delay in its responses due to the visual logging, or whether that's the way the interface is supposed to work. that PMNG seems to call some initialization functions more than once. This plug-in has helped me get a better insight about how the File I/O interface actually works in real case scenarios, and provided me with the order in which DLL functions are called.īut it also shows some strange things, i.e.

NOTE - You'll always find the pre-compiled DLL of the latest version on our shared GDrive folder, which is automatically deployed when I build the final DLL. fake format (doesn't actually save anything) as an excuse to log all the DLL calls that PMNG executes to the plug-in, both at initialization time as well as when exporting. FAKE Plugin v0.0.9 | PMNG the Fake plug-in is a proof-of-concept File I/O plug-in which fakes exporting images to the.
