How to Set CPU Affinity at Launch on Steam
I'm trying to get Warhammer 40,000 Space Marine on Steam to play (before Space Marine 2 comes out.) The problem I found is that I have too many cores for it to start up. I have a 5950x CPU.
I know you can set affinity once a game launches however this won't even start up unless cores are disabled. I've been trying to create a custom launch protocol after googling and either I'm fucking up or that isn't working. I already verified integrity as well.
Syntax for launch target shortcut:C:\Windows\System32\cmd.exe /C start "" /affinity 0F "C:\Program Files (x86)\Steam\Steam.exe" -applaunch 55150
The tricky part here might be the core selection after /affinity, the "0F". I'm not sure if it's different for each CPU or what.
UPDATE and Resolved!
Since I couldn't find any way to set affinity at launch an easier way is to install "AMD Ryzen Master" and set it to Game Mode. It will set your affinity to 6 cores and when you're done you can reset it back to defaults. The game worked great after that.
Posted Dec 10, 2021, 4:48 PM UTC · edited
Hi, thanks for posting on r/pcgamingtechsupport.
Please read the rules.
##Your post has been approved.
For maximum efficiency, please double check that you used the appropriate flair. At a bare minimum you NEED to include the specifications and/or model number
You can also check this post for more infos.
Please make your post as detailed and understandable as you can.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.