Login

russian armor

Get your replays to work!

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

Posts: 264

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: 84

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
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

630 users are online: 1 member and 629 guests
Vriligyy60
19 posts in the last 24h
47 posts in the last week
101 posts in the last month
Registered members: 44654
Welcome our newest member, Vriligyy60
Most online: 2043 users on 29 Oct 2023, 01:04 AM