Compilation error 1.22 fixed

by Diebelz·v1.0·Updated 2019-02-17

Add the latest 'telemetryKeyword.ws' to the \scripts\engine directory.

Screenshots 1 screenshots

About this mod Machine translation

Add the latest 'telemetryKeyword.ws' to the \scripts\engine directory.

Please keep in mind that this "mod" only removes script compilation errors caused by the 1.21 patch.

It does not fix any mods that are not compatible with 1.21/1.22.

Please check out the author page for further support.

Status: 31.05.2016/Patch 1.21

Status: 16.07.2016 / Patch 1.22 // Cleaned scripts folder added and properly prepared.

If you're having trouble with compilation errors, you can try the following:

  • Place this folder in the Witcher 3 directory and try to launch it. if it doesn't work then
  • Back up and delete content\content0\scripts\game\behavior_tree\tasks\hacks <----folder "hacks" and try to start. if it doesn't work then
  • Delete the scripts folder and clear it.

############################################ ################################################## ##########################

If you want to do it yourself:

What I did:

Got the public fix from reddit and changed the "Import final version of "Function Log" line, like the author suggested.

1.Go to *(witcher directory)\content\content0\scripts\engine

  • Create a new text document
  • Paste the following:

/ *

Copyright © CD Projekt RED 2015

  • /

import class CR4TelemetryScriptProxy extends CObject

{

import final function LogWithName (eventType:ER4TelemetryEvents);

Import final function LogWithLabel(eventType: ER4TelemetryEvents, label: String);

Import final function LogWithValue(eventType: ER4TelemetryEvents, value: int);

Import final function LogWithValueStr (eventType: ER4TelemetryEvents, value: String);

Import final function LogWithLabelAndValue(eventType: ER4TelemetryEvents, label: String, value: int);

Import final function LogWithLabelAndValueStr (eventType: ER4TelemetryEvents, label: String, value: String);

Import final function SetCommonStatFlt(statType: ER4CommonStats, value: float);

Import final function SetCommonStatI32 (statType: ER4CommonStats, value: int);

Import final function SetGameProgress(value: float);

import final function AddSessionTag(tag:String);

Import final function RemoveSessionTag (tag: String);

import final function XDPPrintUserStats(statisticName:String);

import final function XDPPrintUserAchievement(achievementName:String);

}

  • Click "Save As", select "All Files", and name it "telemetryKeyword.ws"

Cash to go for original solution

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
编译错误1.22修复
File size
2.5 KiB
SHA-256
73d982ac1f23c306371f51308226f2d582bb8d8617b24d6b1ccea9c08d3c4888
Stored at
2026-10-07 23:53