Skip to main content

Crate mhif

Crate mhif 

Source
Expand description

Extract and download Roblox asset references from Roblox files.

The library accepts individual Roblox files or directories. Supported file formats are .rbxm, .rbxmx, .rbxl, and .rbxlx.

Structs§

DownloadFailure
An asset that could not be downloaded.
DownloadOptions
Options controlling asset downloads.
DownloadReport
The result of downloading asset files from one or more IDs.
DownloadedAsset
An asset that was downloaded or reused from the output cache.
ExtractionOptions
Options controlling asset extraction.
ExtractionReport
The result of extracting asset IDs from one file or directory.

Enums§

DownloadError
Errors returned for an individual asset download.
MhifError
Errors returned while scanning Roblox files or preparing a download.

Constants§

DEFAULT_DOWNLOAD_JOBS
The default number of concurrent asset downloads.
DEFAULT_OUTPUT_DIR
The default directory used by the command-line application.

Functions§

download_assets
Downloads or reuses the files for the supplied Roblox asset IDs.
extract_asset_ids
Extracts unique, sorted asset IDs from a Roblox file or directory.
extract_asset_ids_cached
Extracts asset IDs while reusing extraction results under the output directory’s .fingerprint directory.
extract_asset_ids_with_options
Extracts asset IDs using the supplied extraction options.