Files
WT-Offline/patches/gui/battle/open-replay-from-battle-log/patch.jsonc
T
N0VAN0M4LY 6c55c64222 feat(replays): open local replays from battle reports
Store the offline session ID in native replay metadata. Match the battle report to its recording and reuse the native player, queue check, and return flow.

Verified TypeScript, GUI and executable patch checks on 2.61.0.37 and 2.61.0.43, and a temporary 2.61.0.43 build. In-game verification is pending.
2026-12-01 11:10:05 +08:00

35 lines
925 B
JSON

// Add a local replay link to a battle log entry when its recording is available.
// The stock battle log only links to the official server replay page.
// Without this link, players must find the recording in the separate Replay list.
{
"id": "battle/open-replay-from-battle-log",
"title": "Open the local recording from its battle log entry",
"features": [
"M-Replays"
],
"variants": [
{
"written_for": "2.61.0.37",
"file": "scripts/userlog/userlog.nut",
"edits": [
{
"find": "find-state.nut",
"replace": "replace-state.nut"
},
{
"find": "find-refresh.nut",
"replace": "replace-refresh.nut"
},
{
"find": "find-row-link.nut",
"replace": "replace-row-link.nut"
},
{
"find": "find-click.nut",
"replace": "replace-click.nut"
}
]
}
]
}