Engine:CVAR lib path: Difference between revisions

 
(8 intermediate revisions by the same user not shown)
Line 16: Line 16:


  [name][platform][.os][.extension]
  [name][platform][.os][.extension]
namex86.dll


Platform names:
Platform names:
Line 27: Line 28:
* .osx - Mac OS, using the '.so' extension
* .osx - Mac OS, using the '.so' extension


The path is either a full OS file system path to the library location, or a path relative to the luanch location, which is the location of the executable for the engine.
The path is either a full OS file system path to the library location, or a path relative to the launch location, which is the location of the executable for the engine.


So, for an path executable path 'd:\install\engine.exe' and 'lib_path' of './lib/':
In some configurations the path is relative to the current directory and not necessarily the actual engine start location. The 'lib_path' will be concatenated verbatim to the calculated library file name to create the final library load path.
set lib_path './lib/'
becomes: ./lib/namex86.dll
with install in: d:\install\engine
effective OS load: d:\install\engine\lib\namex86.dll
 
== Examples ==
=== Default values ===
For the path executable path 'd:\install\engine.exe', and a 'lib_path' of './lib/':
  \install
  \install
     engine.exe
     engine.exe
Line 38: Line 47:
       ...
       ...


== Examples ==
=== Formatted names ===
=== Formatted names ===
<pre>
<pre>
namex86.dll
gamex86.dll
namex64.dll
gamex64.dll
namex64.linux.so
gamex64.linux.so
namex64.osx.so
gamex64.osx.so
gamea64.osx.so
</pre>
</pre>


== Notes ==
== Notes ==