• formatuq
    #2118
    en irtam egy .bat file-t, ami inditja a coh.exe-t, beallitja az affinity-t meg a priority-t. bemasoltam a coh folderba, es ezt inditom.


    rem This is the really simple and straight forward batch file I wrote that sets the affinity for me.
    rem It will start the reliccoh.exe with CPU 0 and CPU 1 and HIGH priority
    rem Reason:
    rem In multi-processor or multi-core systems the default process affinity
    rem is set to all processors and this is normal and desirable behavior since it
    rem allows the operating system to dynamically move processes between
    rem processors to equalize load. However some games and applications
    rem experience undesirable behavior, such as jittering graphics, unstable
    rem sound, network disconnections, freezes, crashes, and other weird behavior
    rem when their processes are executed on one processor moved to execute on
    rem another processor while the process is still running.
    rem 1 uses CPU0
    rem 2 uses CPU1
    rem 3 uses CPU0 and CPU1
    rem 4 uses CPU2
    rem 5 uses CPU2 and CPU0
    rem 6 uses CPU2 and CPU1
    rem 7 uses CPU2, CPU1, and CPU0
    rem 8 uses CPU3
    rem 9 uses CPU3 and CPU0
    rem Convert the number to hex and reverse it to see which CPUs are to be used.
    rem Priority: low, belownormal, normal, abovenormal, high, realtime
    @echo off
    start /affinity 3 /high RelicCOH.exe
    exit