VRimg2Eer gui with batching capabilities - Maxscript

http://www.scriptspot.com/lele/VRImg2Exr\_GUI.rar

Allows for selective channels and folder (non-recursive) conversion.
Have a go, and let me know if you want something else/different.
It is tested to find the exe automatically, independently from the max /OS version-BITness (8/9 32/64), provided the vray install is at it’s default for what regards the tools.
There may still be some bug to squash, but it HAS been tested by a few forum users already.
Blame them, in case :lol:

Lele

Re: VRimg2Eer gui with batching capabilities - Maxscript

luckily i didn t have any time to squeeze this in!so no blames on me! :lol:
will try it a soon as possible!
:wink:
thanks lele

Yes, i ought to thank you, Kameleon, Jonnybefree and Thorsten for the costant help and encouragement sorting the many odd issues out.

Thanks, guys, from the bottom of my heart.
Wouldn’t have managed without you :smile:

Lele

There IS an issue with the script, which however shouldn’t be a problem for most: Since it has to write text files on disk to read vrimage infos, make sure you have the images in NON-SYSTEM folders.
Desktops, my documents\my received files and so on, will NOT work.
Nothing i can do about it in a direct way.
But if you have the files as good practice requires, in a properly writable folder (like on a data only-drive) it works well, no matter how complex/long the path is.

Thanks to jonny and kameleon for the pointers.

Lele

Hmm, guess you didn’t use any of the code I sent :stuck_out_tongue:

LOL Eric!
I am burnt :stuck_out_tongue:
No, i didn’t use any of it, to be honest.
Even though i tried to make it work, i never actually managed to have it do anything else than spit errors in the listener :lol:
So I started from scratch with the OS/Max version and bitness checker, so to retrieve automatically the path to the EXE.
I tried to send that part back to you, but desisted after three days trying: i though you were well into racing :wink:
Then moved on to the actual retrieval of the channel infos (that’s likely similar, as there’s that one way to get variables from the dos commands in maxscript), and then the fun started for real, as the EXE wouldn’t get any doscommand straight from maxscript, while the same command run through a dos window would work flawlessly.
So i had to get even more creative in sillier ways.

Many thanks for the gesture nevertheless, unasked for and welcome.
And sorry for not mentioning you in the thanks…
I can safely say those four guys got HAMMERED in the past 4 days, hence their predominance in my mind :slight_smile:
As per usual, you are most welcome to the unencrypted code. :slight_smile:

Lele

Heh, cool, too bad I wasn’t there to talk, I did have the fn to read the data from the exe in there and working nicely :stuck_out_tongue:

Had to do the dos commands all in one line using the “&&” command to link them together, or something like that.

eh, i resorted to .bat files
Got stressed REALLY hard for a day…
And then it dawned on me, and lucky me it worked…
I already had a post up saying i gave up on the whole GUI, but deleted it :stuck_out_tongue:
The nice thing of the batch files is that there’s a way to retrieve what’s going on, and pause them at the end to review what worked and what didn’t.
It could be made better, likely, by piping the output to a logfile, and read it back, but as a workaround it did the trick.

Get online on msn later, and i’ll send you the beast (all those damn strings drove me nuts…)

Lele