To set up licensing, start the command line exe / app manually in the console without any render commands attached:
Error running authentication: No License Model defined [license_impl.cpp(129)]Choose the licensing method you want to use, and type in what's asked (license server connections / MyMaxon credentials). This must only be set up once. For MyMaxon, it might require a re-login if our terms and conditions change, though.
Enter the license method:
1) Maxon Account
2) Maxon License Server
- This will store your MyMaxon password in clear text, which is not secure and risky in many scenarios:
- Go to the Maxon Cinema 4D R21 > resource folder.
Open the config.txt (not the config.c4dpy.txt) with notepad running as administrator (if you try to open it with notepad, not as admin, it will not overwrite the current config.txt file and ask you to make a copy)
Scroll to the bottom of the txt file and type this code in:
g_licenseUsername="YourMyMaxonEmailAddress" (must be in quotes)
g_licensePassword=YourMyMaxonPassword (password does not have quotes)
If you're using a License Server, instead you will need to use g_licenseServerUrl="http://[ip adress]:[port]"
Note that on R21, the username and password flags were not available, so you'd use IP and portFor this reason, using a License Server can be much more secure as the passwords for your MyMaxon account will not be visible, only the password you set up yourself on the License Server. Finally, note that quotation marks are required. Similarly for RLM you could use g_licenseServerRLM="[servername]:[port]" *note that quotation marks are required Save the config.txt This will bypass the license manager and the need to enter which account you are using in the command prompt and automatically log you in.
*NOTE this is only if you are using your Maxon Account to license your command line licenses. If you are using the Maxon License Server or RLM, this will not work.
- If you are getting licensing errors with the command line using your *Maxon Account in Deadline, it could be your Commandline Render of Cinema 4D has no licensing set up.