Skip to content

Record the last 30 seconds from the session menu (NVIDIA Instant Replay / Highlights) #77

Description

@lippdev

Idea

The session menu (Select + Y) already shows Record last 30 s as Soon. Make it work: one press saves the last 30 seconds of gameplay, without leaving the game. Ideally also a controller shortcut, and a toast in the corner when the clip is saved.

NVIDIA first

  • Instant Replay (NVIDIA app / GeForce Experience): when it's on, the driver keeps a rolling buffer and Save the last N minutes (default Alt+F10) writes the clip. Console Mode can trigger that shortcut. Needs: detect that the NVIDIA app is installed and Instant Replay is enabled, and read the user's shortcut if they changed it.
  • NVIDIA Highlights SDK: made for games to mark moments (a kill, a win) that the NVIDIA overlay turns into clips. A third-party app like ours may not be allowed to request highlights for another process; worth checking the SDK terms and whether it works outside the game's process before relying on it.

Fallbacks for everyone else

  • Xbox Game Bar: Record that (Win+Alt+G) when background recording is on. Works on any GPU.
  • AMD Adrenalin (ReLive): Instant Replay save (Ctrl+Shift+S by default).
  • OBS: replay buffer through obs-websocket (SaveReplayBuffer), for people who already use OBS.

Sketch

  • Settings → "Recording": automatic (NVIDIA → AMD → Game Bar) / pick one / off.
  • The session menu tile saves the clip, closes the menu and shows Clip saved (or Instant Replay is off with a hint to turn it on).
  • The menu closes before the key press, so the clip doesn't show the menu.

Open questions

  • Is sending the shortcut reliable while the game has the foreground (it should be, the menu already works there)?
  • Can we tell the save actually happened (new file in the capture folder)?
  • 👍 this issue and say your GPU and which recorder you use.

Not planned for a specific version yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestroadmapPlanned feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions