Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's go through an example for the variable insertion method. Let: let's say you declared the following environment variables on your system or inside your 3D application:

Environment VariableValue
NSI_PATH_TEXTUREC:\textures
NSI_PATH_IMAGESC:\images
PROJECTDevoir1

Then, during the NSI export, the following exported paths will be transformed substituted as such in the NSI file:

Original PathResultExported Path (in NSI file)
C:\textures\JoshuaLeatherJacket.jpg${NSI_PATH_TEXTURES}\JoshuaLeatherJacket.jpg
C:\images\output\render.exr${NSI_PATH_TEXTURES}\output\render.exr
C:\images\${PROJECT}\grid.exr${NSI_PATH_TEXTURES\${PROJECT}\grid.exr

...