Skip to main content

Module file

Module file 

Source
Expand description

Loose-file extraction primitives. Loose-file resource primitives.

This module provides a minimal typed wrapper around one on-disk resource file (*.utc, *.tga, etc.) without any archive/container semantics.

§Scope

  • Canonical path + identifier extraction.
  • Byte loading for downstream format parsing.
  • No installation discovery or search-order logic.

Structs§

ResourceFile
One loose resource file on disk.
ResourceFileData
Loaded loose resource-file payload.

Enums§

FileResourceError
Errors produced by loose-file primitives.

Functions§

read_resource_file
Reads one resource file and returns identifier + payload bytes.