Skip to content

Add replay recording and playback support - #1075

Open
11EJDE11 wants to merge 13 commits into
replays/local-lobby-optionsfrom
replays/replay-support
Open

Add replay recording and playback support#1075
11EJDE11 wants to merge 13 commits into
replays/local-lobby-optionsfrom
replays/replay-support

Conversation

@11EJDE11

@11EJDE11 11EJDE11 commented Sep 7, 2026

Copy link
Copy Markdown
Member

Adds replay recording and playback to the client, for packages whose spawner supports it.

A Replays tab in the Load Game window lists recorded games, info, and launches playback. Recording is switched on per game from the lobby or the campaign screen. The Storage tab gains replay retention controls.

Replay metadata is read from the spawn.ini embedded at the head of the replay file.

Enabled by setting ReplaySupport=true in ClientDefinitions.ini. Packages that do not opt in see no Replays tab, no replay storage controls, and no behaviour change.

Also writes the file hashes and client version into spawn.ini so a replay records what it was produced with.

image

@SadPencil SadPencil left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A partial review

Comment thread DXMainClient/DXGUI/Multiplayer/GameLobby/GameLobbyBase.cs Outdated
Comment thread DXMainClient/Domain/ReplayManager.cs Outdated
Comment thread DXMainClient/Domain/ReplayManager.cs Outdated
Comment thread DXMainClient/Domain/ReplayManager.cs Outdated
Comment thread DXMainClient/Domain/ReplayFileHashes.cs Outdated
Comment thread DXMainClient/Domain/ReplayFileHashes.cs Outdated
Comment thread DXMainClient/Domain/ReplayGame.cs Outdated
Comment thread DXMainClient/Domain/YRReplayGame.cs
Comment thread DXMainClient/Domain/YRReplayGame.cs
@11EJDE11
11EJDE11 force-pushed the replays/replay-support branch from b3ecd74 to 6c847e5 Compare September 8, 2026 02:36
@11EJDE11
11EJDE11 force-pushed the replays/replay-support branch from 6c847e5 to fa6dfc5 Compare September 9, 2026 22:55
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Nightly build for this pull request:

  • artifacts.zip
    This comment is automatic and is meant to allow guests to get latest automatic builds without registering. It is updated on every successful build.

Comment thread DXMainClient/Domain/ReplayFileHashes.cs Outdated
Comment thread DXMainClient/Domain/ReplayGame.cs Outdated
Update disallowed characters
Change GameClientVersion to GamePackageVersion
Replace min/max supported version with just SUPPORTED_REPLAY_FORMAT_VERSION
Change some methods to internal rather than public
@11EJDE11
11EJDE11 force-pushed the replays/replay-support branch from 51a6eba to b60b51a Compare September 10, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants