8000 zdxsv replay: match built-in patches by game and codes only by inada-s · Pull Request #808 · inada-s/pcsx2 · GitHub
[go: up one dir, main page]

Skip to content
8000

zdxsv replay: match built-in patches by game and codes only - #808

Merged
inada-s merged 1 commit into
zdxsv-masterfrom
ai/rematch-max5-once
Nov 21, 2026
Merged

inada-s merged 1 commit into
zdxsv-masterfrom
ai/rematch-max5-once

Conversation

@inada-s
@inada-s inada-s commented Nov 21, 2026
Copy link
Copy Markdown
Owner

Description of Changes

A replay or live stream now plays when each game patch it carries has the game and codes (size, address, original, changed) of a built-in patch. The patch name and write mode no longer have to match. Playback applies the file's patches as recorded, so the battle's write mode is kept.

Rationale behind Changes

The lobby sends rematch_max5 as write-once, but the built-in entry is every-frame. Every replay of a battle with that patch failed with game patch rematch_max5 is not built in. The replay child then exited right after start, which looked like a crash. Only the address and values decide what gets written, and a name is only a label.

Suggested Testing Steps

Tested (Devel, private rig): rplay.py on a production replay with rematch_max5, stopped after 40 s, before the end of the replay. rematch_max5 applied, 2 codes, once is logged, there is no not built in or not started, and playback goes past the second load.
Not run: the server_patches.json control (BAD=1). test-once has other codes, so it still fails the check.

Did you use AI to help find, test, or implement this issue or feature?

Yes. Claude Code found the cause in the replay child's log, made the change and ran the test.

🤖 Generated with Claude Code

…max5 replays (sent write-once) did not start

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@inada-s
inada-s merged commit bedfb99 into zdxsv-master Nov 21, 2026
4 checks passed
@inada-s
inada-s deleted the ai/rematch-max5-once branch November 21, 2026 15:54
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.

1 participant

0