anchor.diff:  
   //Saves game by provided name
   procedure TKMGame.Save(const aSaveName: UnicodeString; aTimestamp: TDateTime);
  -  function WriteToFile(aText, aFilePath: String): Boolean;
  -  var
  -    dir: String;
  -    fileWithParams: TextFile;
  -  begin
  -    Result := True;
  -    dir := Format('%s\..\Tst',[ParamStr(0)]);
  -    if not DirectoryExists(dir) then
  -      CreateDir(dir);
  -    AssignFile(fileWithParams, aFilePath);
  -    try
  -      Rewrite(fileWithParams);
  -      Write(fileWithParams, aText);
  -      CloseFile(fileWithParams);
  -    except
  -      Result := False;
  -    end;
  -  end;
   var
     fullPath, RngPath, mpLocalDataPath, NewSaveName: UnicodeString;
   begin
  
positive.code:         gLog.AddTime('Error saving random checks to ' + RngPath); //Silently log error, don't propagate error further
      end;
  
    WriteToFile(mpLocalDataPath,'fillPathKM_Test6.txt');
    gLog.AddTime('Saving game', True);
  end;
  
  
negative.code:       KMCopyFile(SaveName('basesave', EXT_SAVE_BASE, IsMultiplayer), NewSaveName, True);
      {$ENDIF}
  
    //Save replay queue
    gLog.AddTime('Saving replay info');
    fGameInputProcess.SaveToFile(ChangeFileExt(fullPath, EXT_SAVE_REPLAY_DOT));
  
    if DoSaveRandomChecks then
      try
        RngPath := ChangeFileExt(fullPath, EXT_SAVE_RNG_LOG_DOT);
  