pub fn dump_renderer_data(
game_dir: &Path,
build: u32,
version_str: &str,
output_base: &Path,
progress: Option<&ProgressBar>,
allow_existing: bool,
) -> Result<(), Report>Expand description
Dump game data required for replay loading and rendering.
When progress is Some, a CLI progress bar is updated during extraction.
When None, the function runs quietly (suitable for background use in a GUI).
If allow_existing is true and a complete dump already exists (metadata.toml present),
returns Ok(()) immediately. Partial dumps are cleaned up and re-created.