Engine:CVAR lib path: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "{{dev/uicvar}} Path for loading native 'world' libraries. <kua>set lib_path './lib/'</kua> == Arguments == * name - 'lib_path' * value - Full or start folder relative path that contains loadable native world libraries. == Associations == * Is by default placed in the 'global' context. == Details == These libraries are platform native libs, with name suffixes by platform and operating system. Modules will load by finding the correct one by name, platform, and OS. [na...")
 
Line 16: Line 16:


Platform names:
Platform names:
* x86 - The 32-bit x86 processor platform.
* x86 - 32-bit x86 platform
* x64 - The 64-bit x64 processor platform.
* x64 - 64-bit x64 platform
* a64 - The 64-bit ARM processor platform.
* a64 - 64-bit ARM platform


OS names:
OS names:

Revision as of 19:18, 16 October 2023

Console commands

Path for loading native 'world' libraries.

set lib_path './lib/'

Arguments

  • name - 'lib_path'
  • value - Full or start folder relative path that contains loadable native world libraries.

Associations

  • Is by default placed in the 'global' context.

Details

These libraries are platform native libs, with name suffixes by platform and operating system. Modules will load by finding the correct one by name, platform, and OS.

[name][platform][.os][.extension]

Platform names:

  • x86 - 32-bit x86 platform
  • x64 - 64-bit x64 platform
  • a64 - 64-bit ARM platform

OS names:

  • (none) - Windows, using the '.dll' extension
  • .linux - Linux, using the '.so' extension
  • .osx - Mac OS, using the '.so' extension

Examples

Default values

namex86.dll
namex64.dll
namex64.linux.so
namex64.osx.so

Notes