This is the website shelf page for docs/ps1/scripted-input-harness.md. It exists because the project has hundreds of Markdown files and the website should not pretend the interesting work only happened in the polished essays.

Why this file matters

Active PS1 reference. This is active engineering documentation for the PS1 port. It is close enough to the code that stale claims here become real bugs.

The scripted input harness lets the PS1 build press its own controller buttons during a headless DuckStation run. It is used first for the pause menu screenshot guide, but the useful idea is broader: any reproducible controller route can become a test script, a TTY trace, and a set of captured frames.

File facts

Field Value
Source path docs/ps1/scripted-input-harness.md
Lines 256
Approx. words 1245
Code fences 12

Outline

  • PS1 Scripted Input Harness
  • Why it exists
  • Runtime model
  • Key files
  • Running the menu harness
  • Script syntax
  • Screenshot markers
  • Direct custom route
  • Debugging failures
  • Guardrails
  • Current generated artifacts

Read it in context