Forums
Games
Cyberpunk 2077 Thronebreaker: The Witcher Tales GWENT®: The Witcher Card Game The Witcher 3: Wild Hunt The Witcher 2: Assassins of Kings The Witcher The Witcher Adventure Game
Jobs Store Support Log in Register
Forums - CD PROJEKT RED
Menu
Forums - CD PROJEKT RED
  • Hot Topics
  • NEWS
  • GENERAL
    THE WITCHER ADVENTURE GAME
  • STORY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 THE WITCHER TALES
  • GAMEPLAY
    THE WITCHER THE WITCHER 2 THE WITCHER 3 MODS (THE WITCHER) MODS (THE WITCHER 2) MODS (THE WITCHER 3)
  • TECHNICAL
    THE WITCHER THE WITCHER 2 (PC) THE WITCHER 2 (XBOX) THE WITCHER 3 (PC) THE WITCHER 3 (PLAYSTATION) THE WITCHER 3 (XBOX) THE WITCHER 3 (SWITCH)
  • COMMUNITY
    FAN ART (THE WITCHER UNIVERSE) FAN ART (CYBERPUNK UNIVERSE) OTHER GAMES
  • RED Tracker
    The Witcher Series Cyberpunk GWENT
THE WITCHER
THE WITCHER 2 (PC)
THE WITCHER 2 (XBOX)
THE WITCHER 3 (PC)
THE WITCHER 3 (PLAYSTATION)
THE WITCHER 3 (XBOX)
THE WITCHER 3 (SWITCH)
Menu

Register

GOGTHEWITCHER2 registry entry+affinity core

+
J

Jackalantern

Rookie
#1
Oct 2, 2011
GOGTHEWITCHER2 registry entry+affinity core

Hello guys I was tidying up my registry today and looking at some entries and came across this registry entry for the witcher:



My question is about the "AFFINITY" and "AFFINITYCORE" entries.

Quite simply, what does it mean when it is saying "affinity" is off. Probably nothing since I obviously know for a fact that Witcher 2 utilizes multiple cores. My main question is about the "affinitycore" entry. It is set to 3 but I have an Intel I5-750 CPU with 4 cores. Does this mean the game is only using 3 of my cores? Should I change it to 4? I am basically just looking for some information/confirmation on these two particular settings. thanks
 
M

mull54

Rookie
#2
Oct 2, 2011
This is really intresting. I can't answer your question but i want to know to :)
 
G

GuyNwah

Ex-moderator
#3
Oct 2, 2011
Only a developer, maybe only a developer for GOG, could give a definitive explanation. But it appears to correspond to the .NET notion of processor affinity. The game itself is not discernibly a .NET application, and changing these values does not affect the game's habit of using all the cores. The Launcher, however, appears to be; and the GOG Installer appears to be set up to set these values to safe settings.

In .NET, you can decide whether to bother with processor affinity at all; and you can set a bitmap of processors you will use. So my best guess is that AFFINITY=false vs. true determines whether to set the processor affinity, and AFFINITYCORE is a bitmap of the cores the .NET application will use (1 = core 0, 2 = core 1, 3 = cores 0 and 1, etc.)

But it doesn't affect the game at all, I'm not sure it even affects the Launcher, and it may just be a part of GOG's standard installer setup. The only other GOG game I have on this computer is Planescape: Torment, and it has the same registry values.
 
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Link
  • English
    English Polski (Polish) Deutsch (German) Русский (Russian) Français (French) Português brasileiro (Brazilian Portuguese) Italiano (Italian) 日本語 (Japanese) Español (Spanish)

STAY CONNECTED

Facebook Twitter YouTube
CDProjekt RED Mature 17+
  • Contact administration
  • User agreement
  • Privacy policy
  • Cookie policy
  • Press Center
© 2018 CD PROJEKT S.A. ALL RIGHTS RESERVED

The Witcher® is a trademark of CD PROJEKT S. A. The Witcher game © CD PROJEKT S. A. All rights reserved. The Witcher game is based on the prose of Andrzej Sapkowski. All other copyrights and trademarks are the property of their respective owners.

Forum software by XenForo® © 2010-2020 XenForo Ltd.