Expand description
Unified Unity file model (UnityPy-aligned).
Unity distributes multiple binary container formats:
- AssetBundle containers (UnityFS/UnityWeb/UnityRaw)
- SerializedFile assets (
.assets) - WebFile containers (
UnityWebData*)
This module provides a single entry point to parse them into a tagged enum.
Enums§
Functions§
- load_
bundle_ file_ with_ options - Load an AssetBundle from a filesystem path with explicit parser options.
- load_
serialized_ file - Load a SerializedFile from a filesystem path.
- load_
unity_ file - Parse a Unity binary file from a filesystem path.
- load_
unity_ file_ from_ memory - Parse a Unity binary file from memory, returning a tagged
UnityFileenum. - load_
unity_ file_ from_ shared_ range - Parse a Unity binary file from a shared backing buffer + byte range.
- looks_
like_ bundle_ prefix - Return true if the provided byte prefix looks like an AssetBundle container signature.
- looks_
like_ serialized_ file_ prefix - Return true if the provided byte prefix looks like a SerializedFile.
- looks_
like_ uncompressed_ webfile_ prefix - Return true if the provided byte prefix looks like an uncompressed WebFile container signature.
- looks_
like_ unityfs_ bundle_ prefix - Return true if the provided byte prefix matches the UnityFS bundle signature.
- sniff_
unity_ file_ kind_ prefix - Classify a file by inspecting an in-memory prefix.