Module file_handling

Source
Expand description

Management of MAME data files, including downloading, reading, and unpacking.

Functionsยง

download_file
Downloads a specific MAME data file based on the provided data type and saves it to the workspace.
download_files
Downloads multiple files concurrently, with progress updates for each file.
read_file
Reads and processes a specific MAME data file based on the provided data type.
read_files
Reads and processes all MAME data files available for the specified workspace path.
remove_machines_by_category
Removes machines from the given HashMap based on a list of categories to remove.
remove_machines_by_filter
Removes machines from the given HashMap based on a list of filter criteria.
unpack_file
Unpacks a data file for a specific MameDataType into a designated workspace folder.
unpack_files
Unpacks multiple data files concurrently for all MameDataType variants into a designated workspace folder.
write_files
Writes machine data to the specified export file type.