Skip to content

feat(replay): Check CRC messages from all players in replays#2649

Draft
Caball009 wants to merge 1 commit into
TheSuperHackers:mainfrom
Caball009:feat_replay_check_all_crc
Draft

feat(replay): Check CRC messages from all players in replays#2649
Caball009 wants to merge 1 commit into
TheSuperHackers:mainfrom
Caball009:feat_replay_check_all_crc

Conversation

@Caball009
Copy link
Copy Markdown

@Caball009 Caball009 commented Apr 23, 2026

The original behavior wrt replays is that only the CRC messages from the player that recorded the replay are checked. This means that players can experience a 'live' mismatch, but the game won't show the mismatch for their replay if they didn't cause it.

This PR changes the default behavior so the CRC messages from all players are checked. I also added an opt-out command line -replayLocalPlayerCRC because developers with large replay collections may want to rely on the original behavior. As a small bonus the name of the mismatching player is now displayed on screen if it's possible to determine which player is responsible.

Before:

replay_crc_before.mp4

After:

replay_crc_after.mp4

TODO:

  • Replicate in Generals.
  • Split into smaller commits.
  • Add comments?

@Caball009 Caball009 added Enhancement Is new feature or request Minor Severity: Minor < Major < Critical < Blocker Gen Relates to Generals ZH Relates to Zero Hour labels Apr 23, 2026
@Caball009 Caball009 force-pushed the feat_replay_check_all_crc branch 4 times, most recently from 6b0ab7d to b2e84cd Compare April 24, 2026 19:28
@Caball009 Caball009 force-pushed the feat_replay_check_all_crc branch 4 times, most recently from ea2f91d to 2bf436a Compare June 4, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Is new feature or request Gen Relates to Generals Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant