Assuming that you are submitting your jobs youself using DeadlineCommand.exe, you have to make these changes:
In the JobInfo file, you can add a new Key, for example called “pathFile” and assign to it the path of the MXP file.
If you want to submit the MXP file with the job, you could add it as auxiliary file to the submission arguments and possibly provide only the file name of the MXP to the pathFile key.
If you do not do this, you would have to place the MXP on a network location visible to all slaves and provide the FULL PATH to the MXP in the “pathFile” info key.
Finally, in the Deadline Repository, go into Plugins\3dsmaxCmd\ and open the file RenderArguments.ffs
This is where the command line arguments for the Max Command Line Renderer are specified. You can add the line
right after the -pixelAspect: line and before the last -rfw: line. This tells Deadline to provide the command line argument -pathFile: to the command line renderer if the pathFile key in the JobInfoFile is set, or skip it if it is blank or missing. According to the 3ds Max Reference, -pathFile: is the command line argument to pass an MXP file to.
Note that the MXP should contain paths that are resolvable from every slave, in other words network paths (UNC or mapped drives).
I have not tested this, but I think that is all you need to do to enable this command line option.
This is NOT the JobInfoFile, this is the SubmitInfoFile. The SubmitInfo controls the submission parameters and causes Deadline to create an XML file in the repository containing all these parameters. In contrast, the JobInfoFile is sent as auxiliary file to the repository and can contain custom key values - it is an ASCII file in the format of an INI file.
In your submission, for some reason you are specifying the .dlinit file as the jobInfoFile which is completely incorrect. You should create BOTH the submitInfoFile and the JobInfoFile yourself as described in the Online Documentation and place the pathFile key in the JobInfoFile.
Now there is an unfortunate misunderstanding in the documentation - the “job submission info file” is called “job_info.job” in the reference, which is misleading. The second file which I call “job info file” is called “max_info.job” which is the plugin-specific info. That’s the file you have to put the pathFile info into.
To submit a 3dsmax scene (ie. C:\MyScene.max) to Deadline, you must first create a job submission info file (ie. C:\job_info.job) and a 3dsmax plugin info file (ie. C:\max_info.job). More information on creating the job submission info file and the plugin info file can be found here.
Once the files are created, you can submit the scene to Deadline:
max_info.job would be the file containing the pathFile=… key.
It can also contain additional keys like
Padding=4
RemovePadding=0
IgnoreMissingExternalFiles=1
IgnoreMissingUVWs=1
IgnoreMissingDLLs=0
UseSlaveMode=1
UseSilentMode=0
RestartRendererMode=0
MaxVersionToForce=32bit
FailOnBlackFrames=0
BlackPixelPercentage=1
BlackPixelThreshold=0.1
ImageWidth=640
ImageHeight=480
and so on. These parameters usually have defaults internally and thus are not compulsory. Some of them will be shown in the plugin-specific tab of the Job Properties dialog (Ctrl+P).