Dual version submition

Hello guys !

Trying to move on Deadline 8 while in semi-production (i have to render job, but it’s not critical)

I had a good setup on deadline 7, some scripts / even running and i think i will make it run (at least one day ^^)

But what’s bothering me is after installing Deadline_8 i still have access to the monitor_7, witch is great but it override the submiter and now i can’t have 2 submitter side by side. I can only submit to deadline8_repo. The only way i find to submit to the 7, is to re-install the submitter_7 and to reboot (but now i can’t submit to 8 ^^)

deadline.thinkboxsoftware.com/fe … -it-sounds
The ticket on the blog is good, but this double submission is not pointed.

I’ve tryed to change the DEADLINE_PATH global variable but doesn’t make the trick.
Any idea ?

Thanks !
-p-

What submitter are you talking about? In-Monitor submission, or some of the integrated submitters in 3D/2D applications? Which applications?

Sorry.

Talking about submiting 3dsmax (mostly 2016 and some few 2015 & 2017) directly with integrated submiter.

I have 2 submiters but they both open sur SMTD for deadline8
Deadline.JPG

Both SMTD launcher scripts for 7 and 8 use the line

deadlinePath = systemTools.getEnvVariable( "DEADLINE_PATH" )
to get the location of the DeadlineCommandBG.exe, which is then used to ask where the Repository is.
So if you change the DEADLINE_PATH environment variable, AND restart 3ds Max, I would expect both scripts to open whatever the DEADLINE_PATH is pointing at.

Note that the entries in the Customize UI dialog you show are both just simple synchronization scripts that connect to the Repository returned by DeadlineCommandBG.exe, copy all scripts from the \Submission\3dsMax\Main\ folder to the local Scripts folder, and then launch the real SMTD. So the Deadline 7 sync script with a DEADLINE_PATH pointing at 8 will launch 8, and the Deadline 8 script with a DEADLINE_PATH pointing at 7 will sync and launch 7…

There might be minor differences between the 7 and 8 launchers, but they are mostly identical. It is the content of the Repository that implements the actual SMTD you see.

Did you remember to restart 3ds Max when you changed the DEADLINE_PATH env. variable?

If you want to be sneaky, you can hard-code the location of your Deadline Binaries in the SMTD Launchers so they don’t go to ask for the DEADLINE_PATH. You can open the Submit Max To Deadline 7 MacroScript, find the line I posted above, and replace it with

local deadlinePath = @"C:\Program Files\Thinkbox\Deadline7\bin"
Save the file, press CTRL+E to reevaluate.
Then open the MacroScript for Submit Max To Deadline 8 and replace the same line with

local deadlinePath = @"C:\Program Files\Thinkbox\Deadline8\bin"
Save that script, and press CTRL+E to re-evaluate.

Now if you select the Deadline 7 item from a toolbar or menu, it should go looking for the DeadlineCommand of Deadline 7, while the Deadline 8 one will launch the DeadlineCommand of Deadline 8.

But only do this if you are comfortable messing with scripts :slight_smile: