Share via

Older Steam game CTD on launch due to CPU having too many cores.

Anonymous
2020-10-11T17:50:54+00:00

I'm trying to get Child of Light to run without having to limit my cores through MSCONFIG.EXE. The game will simply CTD upon launch if there are more than 16 logical cores available. Is there a way to set processor affinity for the game before it launches?

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

11 answers

Sort by: Most helpful
  1. Anonymous
    2020-12-06T10:39:06+00:00

    Okay, it took me quite a while to get back to this issue...

    So, I found a program that manages processor affinities and installed it. Then I started up Child of Light; it CTD'd. I open the processor affinity management program and change the number of allowed cores that Child of Light can use to 8. Then I started up the game again and it still CTD'd. I double checked to make sure it was only using cores 0-7. It was. Stranger still, the process was still running despite the CTD and I was able to start the game with the process still running.

    This game seems to crash if there are more than 16 CPU threads, irregardless of how many it's allowed to use. I have no idea how to fix this.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-10-12T20:01:03+00:00

    That would look like this:

    c:\windows\system32\cmd.exe /C start /affinity FFFF D:\SteamLibrary\steamapps\common\Child of Light\childoflight.exe

    Unfortunately, I have no idea how to properly input that since cmd.exe doesn't parse the "Child of Light" folder name. Putting it in quotes just opens  Command window and tells me that "Windows cannot find 'D:\SteamLibrary\steamapps\common\child'. Make sure you typed the name correctly and try again."

    It would be really nice if Processor Affinity was something we can set in the Compatibility Options. None of this hassle would be occurring if it were.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-10-12T19:20:45+00:00

    you need to add the path, I suspect - may need some experimentation as I don't have the game etc,

    see this external article

    https://www.computerhope.com/issues/ch000549.ht...

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    I hope that helps you progress the issue, please do let me know your feedback and if your issue is resolved please let us know also - as the feedback is very valuable.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-10-12T12:34:28+00:00

    Okay, so I created a test .bat using notepad and setting the affinity to FFFF for the first 16 logical cores of my CPU and that worked fine. Then I tried it with the game's .exe file but it didn't open. I used the following:

    c:\windows\system32\cmd.exe /C start /affinity FFFF "D:\SteamLibrary\steamapps\common\Child of Light.exe"

    Is this incorrect somehow? All this did was open a Command window titled "D:\SteamLibrary\steamapps\common\Child of Light.exe" with a prompt at "C:\Users\Steve\Desktop>". The last time I messed around with .bat files was with MS-DOS. Also, the Steam app has Launch Options under game properties. Is there a way to set affinity there?

    Edit:

    Never mind, acording to the link at the end of the sentance you have to run a game via Steam using the Steam URL. https://gaming.stackexchange.com/questions/326173/can-i-run-a-steam-app-with-a-batch-script

    Supposedly, according to this you need to use the Steam command line functions found here: https://developer.valvesoftware.com/wiki/Command\_Line\_Options#Steam\_.28Windows.29

    That should mean then that my batch file for Child of Light looks like this:

    c:\windows\system32\cmd.exe /C start /affinity FFFF steam: -applaunch 256290

    or

    c:\windows\system32\cmd.exe /C start /affinity FFFF steam.exe steam: -applaunch 256290

    Unfortunately, that just doesn't do anything.

    Edit 2:

    Removing the "/affinity FFFF" portion of the batch file lets the game run. Any ideas?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-10-11T18:18:55+00:00

    Hi - I am independent expert in the Microsoft community, let me see if I can help you with this, I like helping fellow PC folks with their issues.

    Before we do anything I want to check that you have your important files backed up to somewhere other then your PC - for example OneDrive or an external drive - this is always a good idea and I want to make sure YOU do not lose anything that is important to you.

    You might also want to check out how to use File History in Windows 10 to help you in this

    https://support.microsoft.com/en-gb/help/402740...

    Lets take a look at the issue you are having

    You can use a command like the following to start the application with only one cpu

    c:\windows\system32\cmd.exe /C start /affinity 1 notepad.exe

    you may need to provide a HEX vaule for the processor core value as detailed in this external article

    https://www.tenforums.com/performance-maintenan...

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Good luck and I hope you get to enjoy your game

    Tip - I would find the exe for the game or create a shortcut for it from steam - you don't always need to launch it from steam first

    I hope I have been helpful, I will mark your issue as resolved, but be sure to reach back out if you have any questions. I am an independent expert offering support to the Microsoft community to help fellow windows users, and appreciate your feedback. Please be sure to indicate your issue is resolved as this helps me know when I have helped someone and I can move on to next person. Have a great day.

    Was this answer helpful?

    0 comments No comments