Login

russian armor

Get your replays to work!

15 Jun 2022, 18:13 PM
#1
avatar of ZaneyZap

Posts: 261

The latest patch "broke" the old replays.
All credit goes to slserpent and his thread here: https://www.coh2.org/topic/27518/screenshot-helper-script

However! Since this update didn't affect balance and only "art" you can still watch your replays, even without the "Sync Error detected"

First set your coh2 launch options in steam, it should be set to the following: -dev -allowIncompatibleReplays
-dev is what we need to hide the "Sync Error detected" message that sits right in the middle of your screen.
-allowIncompatibleReplays will allow you to see/view the old replays.

Next open notepad and past in the following code.

bind("f10", "toggle_screen_mode()")

screenmode = 0

function toggle_screen_mode()
if screenmode == 0 then
UI_SystemMessageShow(Util_CreateLocString(""))
screenmode = 1
else

UI_SystemMessageHide(Util_CreateLocString(""))
screenmode = 0
end
end

function Util_CreateLocString(text)
local tmpstr = LOC(text)
tmpstr[1] = text
return tmpstr
end

print("localexec.lua executed")


Save the file in your game's root folder (C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2) as localexec.lua

Launch coh2, find and old replay and load it. Once in, press F10 and the error message disappears
Again all credit goes to slserpent and his thread here: https://www.coh2.org/topic/27518/screenshot-helper-script

All my +150 replays are intact :D
18 Jun 2022, 02:49 AM
#2
avatar of Elpern

Posts: 83

Oh zaney you absolute god. Thank you for digging this up
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • Oberkommando West flag Oziligath
  • The British Forces flag T.R. Sidewinder
uploaded by Oziligath

Board Info

227 users are online: 1 member and 226 guests
Vermillion_Hawk
49 posts in the last 24h
166 posts in the last week
800 posts in the last month
Registered members: 34895
Welcome our newest member, Freudenstein45283
Most online: 1221 users on 25 Feb 2020, 12:03 PM