Dependency resolution
What are CNames? How do they work?
Summary
Published: Jan 05 2023 by manavortex
How are dependencies resolved?
rRef
Strongly recommended flags: Default
Represents a mandatory dependency that will be loaded together with the and is stored together with it. If reference fails to load, the resource holding it also fails to load.
If you use Soft
flag, you risk causing game crashes. The only acceptable use of Soft
flag in combination with rRef
is for dynamic paths used in ArchiveXL that start with *
character.
raRef
Compatible flags: Soft
Represents a dependency where the is only pointing at a resource.
Flags
Default
Used by: rRef
Indicates that the engine should load the requested resource together with the .
Default is a recommended flag when you're unsure which flag to use.
Embedded
Used by: rRef
When a resource is flagged as embedded, it is directly included in the holder resource. However, resources flagged as embedded might not work as expected if they live in inplace resources.
Soft
Used by: raRef
This flag is used for resources that are not immediately mandatory. It seems to be a more flexible reference that does not load the resource immediately but points to where it can be found when needed. It's used in root entities for referencing .app files, for example.
Obligatory
Unknown, but probably a legacy artifact from Witcher3
Template
Unknown, but probably a legacy artifact from Witcher3
Inplace
Unknown, but probably a legacy artifact from Witcher3
Last updated