Thanks for the input, Rob.
I’ve managed to make some good progress, but will be calling it a night. All reverse-engineering and no sleep makes Jon a dull boy.
After I got past the 3.0 issue with the “class” code, (the issue I was having in Jan 2012, old forum post):
class DsSettings{... etc etc
class DsInterface{... etc etc
I guess my 3.1.1.73 IDE doesn’t like “class” as it was throwing errors, so I converted each “class” to:
function DsSettings() {... etc etc
function DsInterface() {... etc etc
With a few other tweaks I was able to get the script to render to file, (no errors in the IDE this time), but it kept churning out JPG files in my:
C:\Users\jondcruz\AppData\Roaming\DAZ 3D\Studio3\temp\RenderAlbumTmp
directory.
Looking at the script, that’s the default directory that is setup from the “App.getTempPath()” value.
I had a look at the Version 4.0 script that you posted and found it pretty much does the same thing as my 3.0 alterations, but following “better practices”.
So I started to use that script and came to the same result, successful renders to the
C:\Users\jondcruz\AppData\Roaming\DAZ 3D\Studio3\temp\RenderAlbumTmp
directory, but this time of PNG type.
Where I left off tonight is on/around Line 416 of the Version 4.5 file:
// Adjust the render options
oRenderOptions.renderType = oRenderOptions.Software;
oRenderOptions.renderImgToId = oRenderOptions.DirectToFile;
oRenderOptions.renderImgFilename = sRibPath + ".png";
oRenderOptions.showPreview = false;
I see that “PNG” is being set there.
Taking it out and I get the attached screenshot.
I’ll be continuing my work tomorrow. Thanks again for the help.
Jon