libretro / libretro/RetroArch

REQUEST: command line switch to start game in paused state (--paused)

Open
#10,928 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

commandline
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Use Case: For arcade cores, I like to display the game-specific controls via an overlay using overlay_next and use a mapped button/key to switch between normal bezel and the same bezel that shows controls. This same button is also mapped to the 'pause' function.

I would like to start the game in a paused state and display the controls overlay/bezel. When the overlay_next button (also pause) is invoked, the game is unpaused and the normal bezel is displayed (transparent in the center). At any time during gameplay, the user can then use the overlay_next button to pause the game and show the controls.

This solution works well ATM (demo screen running in background) but would be optimal if the game could start in a paused state.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing RetroArch's command-line option parsing and the startup path that initializes the game pause state. Confirm how the existing pause function and overlay_next behavior are represented. Done means a --paused switch starts the game paused while preserving normal pause and overlay behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.