mhif
mhif downloads Roblox assets referenced by .rbxm, .rbxmx, .rbxl, and .rbxlx files.
Usage
Flags
--out-dir DIR- Output directory for downloaded assets. Will output toDIR/<asset_id>/asset.<ext>. Defaults tomhif/in the current working directory.--jobs N- Maximum number of asset downloads to run concurrently. Defaults to4.--roblosecurity FILE- Use the Roblox security cookie inFILEfor authenticated asset downloads. If not provided, mhif will attempt to discover a cookie from the Roblox client or browser. The explicit cookie file may contain either the raw cookie value or a.ROBLOSECURITY=...assignment; keep it private.--verbose- Print discovered, downloaded, cached, and failed asset details.
Authentication
Asset delivery is attempted anonymously first. If Roblox returns 401 or 403, mhif retries with a cookie discovered through rbx_cookies.
Note that mhif will reuse work, so you do not need a cookie after you are done downloading your assets.
Library
We expose separate options for extraction caching and downloads:
use ;
let extraction_options = new.with_cache_directory;
let extraction = extract_asset_ids_with_options?;
let download_options = new.with_jobs;
let report = download_assets?;
println!;