#11
|
|||
|
I use the below from a batch file.
C:\Windows\System32\cmd.exe /C Start /affinity 1 N:\Games\Project1999\eqgame.exe patchme
__________________
From the dark ages : Knights of Nemesis, Lords of Truth, Ordained, Project Eon, Council of Grey
| ||
#12
|
|||
|
i have a 12 core 24 thread cpu, how does this work for me? just change maxcpu=24? can i still keep it at 6? to limit which cores it can use?
| ||
#13
|
|||
|
12 cores 24 thread
setlocal
SET _AppFolder=C:\YOUR_EQ_DIRECTORY SET _AppName=EVERQUEST SET _AppEXE=eqgame.exe SET _AppParams=patchme SET /a _MaxCPU=24 SET /a _rand=%RANDOM%*%_MaxCPU%/32768+1 SET _affinity=0x01 IF %_rand% EQU 2 SET _affinity=0x02 IF %_rand% EQU 3 SET _affinity=0x04 IF %_rand% EQU 4 SET _affinity=0x08 IF %_rand% EQU 5 SET _affinity=0x10 IF %_rand% EQU 6 SET _affinity=0x20 IF %_rand% EQU 7 SET _affinity=0x40 IF %_rand% EQU 8 SET _affinity=0x80 IF %_rand% EQU 9 SET _affinity=0x100 IF %_rand% EQU 10 SET _affinity=0x200 IF %_rand% EQU 11 SET _affinity=0x400 IF %_rand% EQU 12 SET _affinity=0x800 IF %_rand% EQU 13 SET _affinity=0x1000 IF %_rand% EQU 14 SET _affinity=0x2000 IF %_rand% EQU 15 SET _affinity=0x4000 IF %_rand% EQU 16 SET _affinity=0x8000 IF %_rand% EQU 17 SET _affinity=0x10000 IF %_rand% EQU 18 SET _affinity=0x20000 IF %_rand% EQU 19 SET _affinity=0x40000 IF %_rand% EQU 20 SET _affinity=0x80000 IF %_rand% EQU 21 SET _affinity=0x100000 IF %_rand% EQU 22 SET _affinity=0x200000 IF %_rand% EQU 23 SET _affinity=0x400000 IF %_rand% EQU 24 SET _affinity=0x800000 start /affinity %_affinity% eqgame patchme endlocal this should work if you have 12 cores and 24 threads | ||
#14
|
|||
|
expound upon
the point of all this is to choose a random thread out of the 24 threads that you have so EQ isn't always running on thread "7" or some hard-coded thread#
so u mite run the batch file once and it'll select thread #3 then you close EQ run the batch file and it'll select thread#18 keeps it random as possible to give your cores a chance to take a break between EQ sessions | ||
#15
|
|||
|
understood. it seems that since i’m running eq as admin the batch needs to run cmd.exe as admin as well to have to set affinity. was extra lines can i add to run cmd.exe in the batch as admin?
currently if i run the batch as you’ve written my affinity on eqgame.exe is still all cores enabled. if i uncheck run as admin in eqgame.exe properties, then your batch works as intended. but i was to keep eq in compatibility mode which requires admin. | ||
#16
|
||||
|
Quote:
[You must be logged in to view images. Log in or Register.] -Mcoy | |||
|
|