A variety of Extension Pack tools can be controlled via Environment Variables. Below is a list of Environment Variables, Extension Pack will read.
If you are unsure how to use an Environment Variable you can find the usage steps here
- Licensing
- Internet License Connection Time Out
- Splash Screen
- Internet Splash Screen Connection Time Out
- Hotkey Conflict Resolve Dialog
- Online/Offline Help
- Lock Mari Main Window on load
- TDR Check
- Error Logging
- Default Node Visibility - Node Manager
- Material Template Visibility
- Project Templates
- 'Add Channels from Node' Presets
- Adding shared Shelf Tabs to the Preset Browser
- Adding shared Shelf Tabs to the Icon Library
- Adding shared Shelf Tabs to the Default Objects Library
- Substance Baker Bridge
- Substance File Support
- Environment Map Import to Shelf
- Linux Ramp Editor - Color Picking Black Screen Fix
Extension Pack can be licensed for multiple users using an Environment Variable pointing to a (floating) license file.
A license file can be generated after successful activation via the Licensing Dialog in the Help menu.
🞙MARI_EP_LICENSE_FILE_PATH
If you are experiencing SSL Errors during Licensing, it is possible to disable the SSL requirements using the Environment Variable
🞙MARI_EP_NO_SSL
Extension Pack will try to verify your license via a License Server. The Environment Variable below determines the Number of Seconds, before
the Connection times out. By default Extension Pack will wait 4 seconds for a License Server response.
Setting a higher value can help when you have a slow connection, setting a lower value can reduce Time it takes to load Extension Pack.
Minimum Value is 1.
🞙MARI_EP_CONNECTION_TIMEOUT
You can prevent Extension Pack's Splash Screen from appearing by setting the following Environment variable to "true" or "1"
🞙MARI_EP_NO_SPLASH_SCREEN
Extension Pack's Splash Screen will try to load content from the web. If you have a slow connection you might want to increase the default timeout.
By default the Connection timeout is set to 0.5 seconds. To force the Splash Screen into Offline Mode set it to 0.0 which can speed up load times of Extension Pack.
The setting can also be defined in the Mari Preferences Misc Tab "/Internet/Splash Screen Time Out" Setting.
If an Environment Variable is set, the Environment Variable will override the Preference Setting
🞙MARI_EP_SPLASHSCREEN_CONNECTION_TIMEOUT
Extension Pack might show a Dialog after the Splash Screen, prompting the User to resolve some Hotkey conflicts. You can prevent this dialog from appearing (even if there are conflicts)
by setting the following Environment variable to "true" or "1"
🞙MARI_EP_NO_SHORTCUT_RESOLVER
Extension Pack allows for its Online Help to be localized to your network or disc.
For detailed instructions on how to do this follow the link above.
Several Environment Variables are available to facilitate the process:
•MARI_EP_HELP_LOCATION
.. specifies the Location of the Mari Extension Pack Help Folder on disc.
You will need to turn off the PREVENT_LOCAL_HELP_SERVING flag as described in the Localize Help Files Topic, for this to work
•MARI_EP_HELP_PORT
.. specifies a local Port for Extension Pack's Local Web Server for serving offline helps files. Defaults to "8080".
Can be a string or integer.
•MARI_EP_HELP_LOCAL_WEBSERVER_FILE
.. allows you to specify a custom file that should be executed to launch the local webserver, instead of Extension Pack's default
•MARI_EP_HELP_LAUNCH_COMMAND
.. allows you to specify a custom launch executable or executable path that will be used to launch the Webserver File. Defaults to python.
|
|
If you do not have the python executable in your System Paths, you can use this environment variable to define a path to it (python) or any other executable such php, perl etc. |
Mari's Main Window will be responsive already even before Mari Extension Pack fully loaded. This can lead to Users opening Projects that require Extension Pack before it is fully initialized.
You can prevent this by locking the Mari Application Window during Extension Pack Load. This can be achieved by setting the environment variable
🞙MARI_EP_DISABLE_MAIN_WINDOW_DURING_LOAD
Extension Pack on Startup will check your Windows Registry for Settings related to Display Driver Timeouts called 'TDR Value'.
To prevent this TDR Check from happening permanently an Environment Variable can be set to 'True' (alternative: 1) or 'False' (alternative: 0)
🞙MARI_EP_PREVENT_TDR_CHECK
Extension Pack registers exception hooks to Mari, in order to log any python errors caused by Extension Pack into dedicated log files.
The exception hooks can be prevented from being registered by setting the Environment Variable below to 'True' or 1
🞙MARI_EP_PREVENT_EXCEPTION_LOGGING
Extension Pack allows you to hide nodes it registers from menus, in order to declutter the interface. If you wish to do this globally, you can use the environment variable
•MARI_EP_NODE_MANAGER
Point it to a json file exported from the Node Manager
Define the visibility of Material Templates by assigning an Environment Variable to 'True' (alternative: 1) or 'False' (alternative: 0)
🞙MARI_EP_MATERIAL_TEMPLATE_3DELIGHT
🞙MARI_EP_MATERIAL_TEMPLATE_BRDF
🞙MARI_EP_MATERIAL_TEMPLATE_PRINCIPLED
🞙MARI_EP_MATERIAL_TEMPLATE_VRAY
🞙MARI_EP_MATERIAL_TEMPLATE_ARNOLD
🞙MARI_EP_MATERIAL_TEMPLATE_PIXARSURFACE
🞙MARI_EP_MATERIAL_TEMPLATE_UNREALADVANCED
The Project Template system allows you to save and reimport projects (default Nodegraphs/Channel Setups, Light rigs etc.)
•MARI_EP_PROJECT_TEMPLATES
...should point to one or multiple Paths containing Template Folders.
Templates contained in those Folders will be visible to the user in the various Project Template Dialogs;
•MARI_EP_DEFAULT_PROJECT_TEMPLATE
... should point directly to a specific Template Folder. The Template will be automatically imported when the User creates a new Project.
The default Template does not have to be in a folder defined by the other Environment Variable MARI_EP_PROJECT_TEMPLATES
however it is strongly recommended to place the Template to Import into a Location exposed by this Environment Variable to allow
the user to see the recommended Import Template.
Automatically add presets to the Channels From Node Tool by pointing this Env Var to a path containing a preset file
•MARI_EP_CHANNELS_FROM_NODE
Automatically add shelf tabs linking to folders to the Preset Browser by pointing this Env Var to a path containing shelf presets
•MARI_EP_SMART_MASK_FOLDER
Automatically add shelf tabs linking to folders to the Icon Shelf by pointing this Env Var to a path containing shelf presets
•MARI_EP_ICONSHELF_FOLDER
Automatically add shelf tabs linking to folders to the Default Object Shelf by pointing this Env Var to a path containing meshes
•MARI_EP_CUSTOM_DEFAULT_OBJECTS_FOLDER
The Substance Baker Bridge allows you to utilize the High Speed Baking Architecture of Substance 3d by Adobe © from within Mari.
•SAT_INSTALL_PATH
... should point to the Installation Folder of the Substance Automation Toolkit or Substance Designer
The following files are being looked for (either, depending on Version):
○sbsbaker
○substance3d_baker
•MARI_EP_SUBSTANCE_BAKER_PRESET_FOLDER
... can be used to automatically add Pipeline Bake Presets to the Substance Baker Bridge
•MARI_EP_SUBSTANCE_BAKER_PREFERRED_PRESET
.. can be used to point to a Substance Baker Preset File which will be the default pipeline preset to load when the Baker Bridge opens
Extension Pack adds native support for loading Substance .sbsar files ( Substance 3d by Adobe © ) from within Mari. This requires a Substance Install.
•SAT_INSTALL_PATH
... should point to the Installation Folder of the Substance Automation Toolkit or Substance Designer.
This will unlock the support for the Substance Palette inside Mari.
The Environment variable is a native Substance3D variable and is in shared use with the Mari Substance Baker Bridge
The following files are being looked for (either, depending on Version):
○sbsrender
○substance3d_render
•MARI_EP_SUBSTANCE_PREVIEW_CACHE
Allows you to define a custom, shared Thumbnail cache for SBSAR previews generated by the Substance File Browser.
Use this to define a shared Cache for multiple artists. For more information see "Substance File Browser" and "Customizing Substance Previews"
•MARI_EP_SUBSTANCE_ICON_PREVIEW_PRESET
Point to a Preview JSON File defining the look of Substance previews inside the Image Manager.
For more information refer to "Customizing Substance Previews"
Extension Pack automatically creates an Environment shelf, that gets filled with some standard HDRIs such as
oMari's Standard HDRIs from its Install directory
oHDRIs from Folders specified in the Preferences / Paths / Environments Tab
Extension Pack automatically adds certain paths from other applications (e.g Substance Painter or Substance Designer) to the
Preferences Path tab, so if you have these applications installed, their HDRIs also get added to the Shelf
There are some Environment Variables to control these behaviors
•MARI_EP_PREVENT_MARI_HDRI_LOADING
... if 'True' or '1' Extension Pack will not automatically add Mari's own HDRI's to the Shelf
•MARI_EP_PREVENT_3RDPARTY_HDRI_LOADING
... if 'True' or '1' Extension Pack will not automatically add 3rd Party HDRI paths to the Preferences / Paths / Environments Tab
The Ramp Editor allows color picking anywhere on Screen (even outside of Mari's Application window). To do this, usually the Operating System's Transparency Management needs to be active.
On older Linux Distros (e.g. CentOS 7) this is not the case, which can result in a black screen when entering color pick mode.
To allow users on older Linux Distros to utilize the color pick features of the Ramp Editor, an alternative algorithm exists ("Legacy Mode"), that does not rely on Window Transparency but takes a Screenshot of the Desktop first.
This option can be turned on in the Ramp Editor Colorspace Settings.
To turn this option on globally, use the Environment Variable below:
•MARI_EP_ALTERNATE_RAMP_PICKING_STYLE
... if "True" or "1" the option will be auto-enabled in the Ramp Editor Colorspace Settings


