FALLOUT 4 AFFINITY WINDOWS
You cannot use it for any Windows system program and certain programs specifically designed to run on all cores.Īmanda Furtado Posts: 3454 Joined: Fri 4:22 pmĪn eight core CPU would use an affinity value having two hexadecimal digits, the first digit mapping "core7 core6 core5 core4" similarly to a quad CPU. You might however want to run something on core 0, 1 and 2 and NOT core 3, then run something else on core 3 and NOT core 0, 1 and 2.īy the way, you can use the start command with the affinity switch for almost ANY program. If you use the affinity switch it is best to not choose core 0 because that core is best left to the Windows operating system which in some cases is required. Newer quadcores (like i5, i7 and i9) do not have this limitation since all four cores and caches are fully integrated. Therefore, ensuring that the program runs on the same hardware is important for the q6600.
Running on core 2 and 3 prevents the program from expensive context switching which happens when a thread needs to cooperate with another thread which is not on the same CPU hardware. A multithreaded program will run fastest if it does not split it's hardware resources. The q6600 has two separate 2Mb caches, one dedicated to core 0 and 1 the other dedicated to core 2 and 3. The q6600 is really two e6600 dualcores placed in the same chip. Only use the official launcher when you need to change options. Your SteamAppID may be different than above, find the official number in the properties for the official FNV launcher shortcut. Start Steam then double-click the shortcut. Make a shortcut to the file, put the shortcut on the Desktop. Put the file in the main New Vegas folder. Set SteamAppID=22380start /affinity C FalloutNV.exeĬopy and paste this into a plain text file, save it with a name like "run_NewVegas. The batch file for running FNV on core 2 and 3 (on a quad core processor): To force a program to use ONLY the hyperthreaded cores you would use an affinity value of "F0". In fact, on a hyperthreaded 4 core CPU, to prevent a program from using the hyperthreaded cores you would use an affinity value of "0F". So to run a program on an eight core CPU using only the last two cores the affinity value would be "C0" (without the quotes). I don't think it can damage your CPU - you have been warned.Īn eight core CPU would use an affinity value having two hexadecimal digits, the first digit mapping "core7 core6 core5 core4" similarly to a quad CPU. It probably just won't work or will ignore the affinity setting and just use all the available cores. You should never use an affinity value for which you do not actually have cores.
So to run a program on core 2 and 3 (the last two cores) on a quad core processor the affinity value is "C" (without the quotes). Cores are numbered 0, 1, 2, and 3 for a quad core CPU.Ĭore3 core2 core1 core0 affinityOFF OFF OFF ON = 1OFF OFF ON OFF = 2OFF OFF ON ON = 3OFF ON OFF OFF = 4OFF ON OFF ON = 5OFF ON ON OFF = 6OFF ON ON ON = 7ON OFF OFF OFF = 8ON OFF OFF ON = 9ON OFF ON OFF = AON OFF ON ON = BON ON OFF OFF = CON ON OFF ON = DON ON ON OFF = EON ON ON ON = F This value is then written as a hexadecimal value in the command line. The affinity value is a binary value with a bit set ON to indicate that core should be used.
Replace with the hexadecimal value representing the cores to be used (without the brackets). Replace with the name of the program (without the brackets). The affinity switch can be used with the 'start' start command to select which cores a program is allowed to use. The Windows command-line processor includes a number of useful commands. Steam MUST be running before the batch file is run, so start Steam then run the batch file.ĬPU affinity means that you can force a program to run on selected cores rather than running on all cores. One of those options is to automatically set CPU affinity by use of a switch.Ī batch file must be used, instead of the official launcher, because of the need to start the game itself with the affinity setting. One of them is the 'start' command which has a number of options. In Windows XP, Vista and Win 7 the command processor has some useful commands. Here is a way to set the affinity automatically by starting the game with a batch file. Whether this really reduces crashing may or may not be true but it's worth trying. Having done this manually it seemed to reduce the crashing but it is difficult and annoying to have to set CPU affinity manually using the Task Manager. So, I thought I might try setting the CPU affinity to force the game to run on two cores instead of 4. My quad core q6600 seems to crash a lot with New Vegas.