Skip to content
  • Antoine Le Gonidec's avatar
    Use a new system to get the path to an archive · 617a4d42
    Antoine Le Gonidec authored
    Expose a new variable to set an archive path: ARCHIVE_xxx_PATH
    
    Deprecation notice:
    The archive path should no longer be set using the legacy variable ARCHIVE_xxx. This will trigger a warning on game scripts targeting a compatibility level ≥ 2.26.
    
    The archive path can be queried using a new dedicated function:
    Get the path to a given archive
    WARNING: No check is done that this path actually exists.
    USAGE: archive_path $archive
    RETURN: the path to the archive,
            throws an error if no path can be found
    617a4d42