Archive Support

ROM Validator reads ROM files directly from archives. You do not have to extract them yourself.

Supported archive formats

Format Read Internal rename Notes
.zip Yes Yes (repacked as zip)  
.7z Yes Yes (repacked as 7z)  
.rar Yes Yes (repacked as zip) RAR creation is not supported by any open library, so repacked RAR archives become zip files

Only files with these extensions are treated as archives. Everything else is hashed as a plain file.

How archives are processed

  1. The archive is opened with SharpCompress and every non-directory entry is hashed.
  2. If SharpCompress cannot read the archive, the 7-Zip fallback is used when available: the archive is extracted to a temporary folder and the extracted files are hashed.
  3. When a file inside an archive must be renamed to match the DAT, the archive is extracted, the entry is renamed and the archive is repacked:
    • zip and 7z archives are repacked with SharpCompress,
    • if SharpCompress cannot create the archive, the 7-Zip fallback is used,
    • RAR archives are converted to zip.

Large entries are streamed; the application does not load a whole ROM into memory.

7-Zip fallback executables

SharpCompress is the primary archive engine on every platform. A standalone 7-Zip command-line tool is used as a fallback for operations SharpCompress cannot handle:

Platform Fallback
Windows 7za.exe (x64) or 7za_arm64.exe (ARM64), 7-Zip 26.03, shipped next to the application
Linux system 7zz, 7z or 7za, found next to the application or on the PATH
macOS system 7zz, 7z or 7za, found next to the application or on the PATH

On Windows the correct bundled executable is selected automatically based on the operating system architecture. On Linux and macOS the fallback is optional: install 7-Zip with your package manager to enable it. If no fallback executable is present, archive creation falls back to SharpCompress only and the application continues to work for zip archives and for reading all supported formats. The missing fallback is logged at startup.

Disk space

Repacking an archive requires temporary disk space:

  • the application estimates the uncompressed size of the archive and requires roughly twice that size plus twice the archive size,
  • the default temporary drive is tried first, then the drive of the archive, then any other ready drive,
  • if no drive has enough free space, the archive is skipped and the run stops with a clear message instead of failing halfway.

Temporary folders are tracked and cleaned up automatically, including a background retry for files that are briefly locked by other programs.

Cloud-only files

Files that are placeholders for cloud storage (for example OneDrive “online-only” files) are reported as user errors and skipped. Download the file locally before validating.

Corrupt archives

A corrupt or unsupported archive is reported as a failed item; the run continues with the next file. Per-entry corruption is reported for the affected entry only.