Description

Simple plugin for Mod Organizer 2 that will optimize CPU affinity for Anomaly.exe to reduce stutters and may improve performance in CPU bound cases. It will force Anomaly to use only physical cores and avoid core 0 or E-cores.

Preview
[MO2 Plugin] Anomaly CPU Affinity
Post comment Comments  (0 - 50 of 53)
GaRRuSS Author
GaRRuSS - - 59 comments

Mod Organizer just released update 2.5.0 with significant changes to the backend.
Be aware that updating MO will delete all third-party plugins!

Anomaly CPU Affinity plugin Update 1.1 is up!
- Added support for ModOrganizer 2.5.0
- Plugin is backwards compatible with previous MO versions.

Reply Good karma+8 votes
FireVasilisk
FireVasilisk - - 9 comments

I actually wanna hear is this thing actually work and how it affect others computers.
I have an old PC so i dont wanna risk(

Reply Good karma Bad karma+6 votes
Yozhia_Phryabzkir
Yozhia_Phryabzkir - - 235 comments

me too

Reply Good karma Bad karma0 votes
GaRRuSS Author
GaRRuSS - - 59 comments

I released this mod on GAMMA discord sever yesterday and got positive feedback. Plugin working as intended on variety of hardware.

Reply Good karma+5 votes
Daiviey
Daiviey - - 32 comments

Works as intended for me. Thank you :)

Reply Good karma Bad karma+2 votes
Johnspartan919
Johnspartan919 - - 148 comments

Aye good on ya for this. Maybe this will help with all the people who cant read basic instructions in those servers lol

Reply Good karma Bad karma+3 votes
StupidTrooper
StupidTrooper - - 20 comments

I have a i7 12700k and with this script I get huge 4-5 seconds freezes every once in a while

Reply Good karma Bad karma+5 votes
GaRRuSS Author
GaRRuSS - - 59 comments

Can you tell me which cores are assigned to Anomaly.exe?

Open Task Manager, select "Details" tab, right-click on Anomaly.exe and select "Set affinity". You can see there which cores are used by the application.

Reply Good karma+2 votes
StupidTrooper
StupidTrooper - - 20 comments

Cores 2, 4 ,6 ,8 ,10 ,12 ,14

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

That's seem correct. hmmm... you can try to enable core 0.
Are you sure that without this plugin there were no freezes? I had one tester with an i7 12700kf and he reported no issues.

Reply Good karma+2 votes
StupidTrooper
StupidTrooper - - 20 comments

I have tiny microfreezes without the script. But with the script it literally freezes for several seconds wich had never happened before.
Still the same with core 0 enabled

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

Then it may be scheduler in new Intel architecture messing with affinity. Unfortunately looks like you won't get anything from this plugin. Thanks for feedback tho.

Edit: After deeper googling seems like new Intel architecture (12th and 13th gen) don't like changing affinity. It works best with all cores enabled.

Reply Good karma+3 votes
StupidTrooper
StupidTrooper - - 20 comments

No worries, thank you for trying. I hope one day we get Anomaly to play nice with modern cpus

Reply Good karma Bad karma+4 votes
SilverBlack78
SilverBlack78 - - 1,916 comments

I think you need Windows 11 to make your CPU deal with the scheduler properly.

Reply Good karma Bad karma+2 votes
StupidTrooper
StupidTrooper - - 20 comments

I am on win 11

Reply Good karma Bad karma+1 vote
etyczny
etyczny - - 68 comments

same things

Reply Good karma Bad karma+2 votes
skilldex
skilldex - - 171 comments

If only there would be the way, so it will start automatically with anomaly it would be absolutely amazing. Either way it's a great tool that really boosts fps.

Reply Good karma Bad karma+4 votes
GaRRuSS Author
GaRRuSS - - 59 comments

I tried, but after few hours of dragging my face through mo2 documentation I gave up. It should be possible but need someone who knows mo2 environment well.

Edit: If anyone knows any plugin for MO2 that run automatically with game launch, I can reverse engineer it and try to implement in to this plugin.

Reply Good karma+3 votes
Daubert1151
Daubert1151 - - 55 comments

we need the help of Skyrim mod lords

Reply Good karma Bad karma+11 votes
Guest
Guest - - 692,918 comments

This comment is currently awaiting admin approval, join now to view.

thunder12843
thunder12843 - - 19 comments

Can I use JSGME insted of Mod organizer?

Reply Good karma Bad karma+1 vote
GaRRuSS Author
GaRRuSS - - 59 comments

Unfortunately no. This plugin relays on Mod Organizer 2 libraries.

Reply Good karma+3 votes
KraizerX
KraizerX - - 186 comments

its year 2023 why people still use that outdated apps

Reply Good karma Bad karma+13 votes
Private_Pirate
Private_Pirate - - 183 comments

Isn't this more like a save some clicks type of plugin rather than an automated one since you still have to manually start the script by clicking "Anomaly CPU Affinity" everytime you run the game? I am currently using a free version of Process Lasso which does the job automatically. If you figure out how to run the script automatically then this plugin is a full 10/10.

On the other hand I don't know if Process Lasso is able to make Stalker Anomaly avoid the E cores and virtual cores. So I guess I'll give this a try and see if Stalker Anomaly performs better than with Process Lasso.

Reply Good karma Bad karma+3 votes
GaRRuSS Author
GaRRuSS - - 59 comments

For now it's only "save some cilicks" type of plugin, but it sets affinity automatically depending on your CPU. It's quite user friendly and don't require any external software.
If you have process lasso already installed and have some well working setup there is no reason to use this plugin.

I'm looking for solution to automatically run this plugin with game start. Maybe this will be possible in future.

Reply Good karma+2 votes
Tosox
Tosox - - 303 comments

Well, I know a way to automatically load custom dlls on game start (if you don't find any other solution)

Reply Good karma Bad karma+2 votes
caviarus
caviarus - - 20 comments

A task scheduler in windows should be able to launch it after anomaly starts. One can even create a delay for the task. Quite possibly same scheduler could launch a powershell script setting affinity.. idk, it needs googling.

Reply Good karma Bad karma+2 votes
MarkColt
MarkColt - - 432 comments

Tested this with AMD Ryzen 7 4800H, no dice. Still stuttering, maybe even worse. /cry.

Reply Good karma Bad karma+2 votes
Aphrodite_child
Aphrodite_child - - 104 comments

Tested on AMD Ryzen 5 4600G with Radeon Graphics and in really improves, because i think stalker dont run very well with AMD but this helps a lot! thanks!

Reply Good karma Bad karma+2 votes
YuriVernadsky
YuriVernadsky - - 428 comments

Removed the stutters! Sometimes i were playing with 40fps but it seemed 20 just because of the sttuters, now they are gone! Tks for it!

Reply Good karma Bad karma+4 votes
Katarina_the_Mid
Katarina_the_Mid - - 154 comments

Hey so, the plugin always fails to load upon MO2 loading. With this error: Imgur.com

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

This error is covered in Troubleshooting section on modpage. TLDR you have incomplete/corrupted installation of Mod Organizer 2

Reply Good karma+2 votes
Wiz3rd
Wiz3rd - - 32 comments

This fixed all my problems. I can't thank you enough.

Reply Good karma Bad karma+2 votes
XRAYIII
XRAYIII - - 33 comments

thanks i play with zcp and varous other mods that introduced some stutter but affinity thing helped before so this makes it less annoing to restart my game
thanks again

ryzen 5600x btw

Reply Good karma Bad karma+2 votes
PKx_Phant0m
PKx_Phant0m - - 122 comments

My setup right now is an MSI Gaming Trio RTX-2080ti and an AMD Ryzen 9 3950x, both overclocked. Do you think this mod would even be necessary for me?

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

The fact is, the newer hardware, the plugin should give more, as game were never optimized for modern CPUs.
Give it a try, it's not invasive and after all you can just not use it.

Reply Good karma+1 vote
vthpeke
vthpeke - - 3 comments

Приветствую! Подскажите, что делать если плагин перестал работать ? Было 35-45 фпс на минимальных настройках, а с использованием плагина 130 -150 фпс на максимальных настройках , но после вылета игры и включении плагина снова фпс не растет выше 35-45 fps . Иногда вырастает до 50 -65 fps в зданиях (Greetings! Tell me what to do if the plugin stopped working? It was 35-45 fps at the minimum settings, and using the plugin 130-150 fps at the maximum settings, but after the game crashes and the plug-in is turned on again, the fps does not grow above 35-45 fps. Sometimes it grows up to 50 -65 fps in buildings)

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

It seems that something else is going on, cause this fps differences are too drastic.
Try turning off unnecessary applications while playing. Alternatively fps drops may be caused by some mod conflicts or poorly written scripts.

Reply Good karma+2 votes
vthpeke
vthpeke - - 3 comments

I play on a clean version of Anomaly without mods, only your plugin.
my pc spec:i5-8400 gtx 1060 6gb 16 gb ram

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

I have almost identical CPU as you (9400f) and never had issues like that.
I assume without using plugin fps is still low?
Try to start game without using plugin, disable core 0 affinity manually and check if anything change.

Reply Good karma+2 votes
vthpeke
vthpeke - - 3 comments

40-45 fps

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

Well, then something else must have broken. Sorry, but I don't know how to help you and this problem is not related to the plugin.

Reply Good karma+2 votes
vgndx
vgndx - - 13 comments

Hello, I was seeing if a name swap in the file would work due to me using the game with Nvidia filters through GeForce Experience (renamed exe in use to anselintegrationtestapp.exe) but it wouldnt work. I was wondering if there is a way to get it to work with your file.

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

Yes it is possible, but I don't have GeForce Experience and never used Nvidia filters.

If you really want to, dm me and I can tell you how to modify plugin.
With your help, maybe I will add support for Nvidia filters.

Reply Good karma+2 votes
vgndx
vgndx - - 13 comments

thanks for responding. I sent you a message I think. I am not sure how to dm on here compared to nexus

Reply Good karma Bad karma+2 votes
Aurum12
Aurum12 - - 5 comments

Freeze and lags after 20 min of playing sometimes, useless unfortunately (tryed both AVX and not, all the same) Ryzen 5500

Reply Good karma Bad karma+2 votes
Mikagu
Mikagu - - 147 comments

This causes massive lags from time to time on my R7 5800 X3D. Like, MASSIVE. 0 FPS for like 30 seconds.

Reply Good karma Bad karma+2 votes
GaRRuSS Author
GaRRuSS - - 59 comments

Can you check if affinity is properly applied? On your CPU active cores should be: 2,4,6,8,10,12,14
If not then some software is messing with affinity.

Reply Good karma+1 vote
mxmln
mxmln - - 4 comments

Tested on an i5-11400H. The CPU load went from being at 100% all the time to being more dynamic depending on the scenario. I ******* love you!!!

Reply Good karma Bad karma+1 vote
odavans
odavans - - 5 comments

Is it possible to used it without MO2(

Reply Good karma Bad karma+1 vote
Guest
Guest - - 692,918 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Tags