validate

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Command validate checks rumble files

Every file is parsed and validated against FORMAT.md. With one or more -region flags the watch addresses are also validated against those regions, the same check NewEngine performs when a host binds a file to a running system. Without -region flags the address check is skipped, since regions come from an emulator's memory map.

With -strict a file must also carry the game, gameid, and system metadata expected of a distributed file. The format leaves all of it optional, so this check belongs here rather than in the parser.

Usage:

validate [-strict] [-region name:start:size]... <file>...

Exit status is 0 when every file passes and 1 when any file fails.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL