Rules
Rules is the decision layer between catalog identity, running games, emulators, controllers, and cabinet hardware. It decides what ArcadeStudio detected, which route should win, and what to do when a preferred route is unavailable.
Start with Stack
Section titled “Start with Stack”Open Rules → Stack and choose an area. The page shows only the rules that belong to that area; search narrows the selected list.
| Area | Change it when… |
|---|---|
| Detection | A running game is not identified correctly |
| Emulator Routing | An emulator needs a route other than the default |
| Controller Priority | A controller type should win, lose, or be avoided |
| Fallback Behavior | The preferred route is missing, unsafe, or unsupported |
| Controller Availability | A platform or emulator should prefer another controller family |
Official rules are already active for these areas. Most cabinets do not need a local override. See Identification for the existing default detection and target-rule package contracts.
Official and my override
Section titled “Official and my override”Official rows are read-only. Select Override to copy a rule into your own draft, or select Add my rule to open Author with a new local override. Editing your copy does not rewrite the official package.
The effective stack is layered by priority:
- Required official rules
- Recommended rules
- Community rules
- My override
- Game-specific overrides
Higher-priority matching rules win. Turning off My override returns that area to the lower layers instead of deleting the official baseline.
Write, validate and export an override
Section titled “Write, validate and export an override”- In Stack, choose the affected area and inspect the selected rule’s source.
- Select Override on an official row, Edit on your row, or Add my rule. This opens Author; official content stays read-only.
- Use Add rule row inside Author when more than one condition is needed. Inspect Applies to, Do this, Priority and Which rule wins for each row.
- Open Package identity when you need to review Package id, Version, Description and Author. Keep the package identity stable between revisions.
- Select Save draft to retain the local authoring state.
- Select Validate and read the Check results. Resolve blocking items and validate again after editing. A saved draft has not necessarily passed validation.
- Select Export .arcadepack. Read the export result and retain the package file it reports. Export also saves the draft; it does not publish a cabinet bundle.
- If the package is not installed, use Import .arcadepack in Data Packs, review its validation result and inspect its state in Rules. Confirm the intended layer and scope before continuing to Publish.
| Action or result | What it establishes | What still needs checking |
|---|---|---|
| Save draft | Local authoring state was written | Validation, package export and cabinet activation |
| Validate / Check | The draft passed or failed the reported checks | A passing check is not a package install or a Server observation |
| Export .arcadepack | A distributable file was created at the reported location | Whether it was installed locally and whether it reached the intended cabinet |
| Installed locally and enabled in the Rules Center registry, if reported | Local import/enable state for that package | Effective publish content and active Server behavior |
The normal Author export and a local import are separate outcomes. An export path can additionally report a local install; read the result instead of assuming either outcome. This does not add a new rule list or bypass the existing Rules stack.
Use Discard draft to abandon Author changes. Unsaved edits can block leaving Author until you save or discard them. Turn off my override changes the local layer; publish the intended result and verify the cabinet before calling recovery complete.
Publish to ArcadeServer
Section titled “Publish to ArcadeServer”ArcadeServer consumes a snapshot; it does not read the Rules editor live.
- Studio resolves the active layers for each area.
- Publish writes identification, emulator routing, controller routing, fallback behavior, and validation results into the cabinet bundle.
- Check the effective cabinet source after publishing. Automatic activation of the target-identification artifact in the Host catalog is not established by a successful bundle upload; see Identification.
Rules → Runtime includes locally generated expectations from the current stack and draft snapshot. Its source, drift and hash rows are not independent readback of installed Host files or a recorded last launch. Use them to review intended content, then verify the selected Server separately with Publish checks. Do not treat In sync or Published source ready in this view alone as cabinet proof.
Rules do not rebuild Master.db or replace catalog identity. If detection cannot match a running game against the published catalog, ArcadeServer records an observation for Data Management → Inbox.
Keep other jobs in their workspace
Section titled “Keep other jobs in their workspace”- Install rule packages in Data Packs.
- Rebuild catalog identity in Data Management.
- Map and test physical inputs in Controllers.
- Use Rules → Advanced only when you need to inspect how an area is layered.
- Use Support diagnostics for package inventory, hashes, drift, and runtime proof.
Next: Overlay or ArcadeServer.
Trace the effective identification source
Section titled “Trace the effective identification source”Identification distinguishes the official detection package, target rules, Host catalog and catalog game. Check the effective cabinet source after publishing; a successful bundle upload alone does not prove target-catalog activation.