Assassin's Creed

Assassin's Creed

Alakratt Dec 20, 2022 @ 10:05pm
1
Auto-set CPU affinity on launch
This fix uses a batch file to launch the game with the desired CPU affinity set. This has only been tested in Windows 11 w/ 7950X CPU.
  1. Create a windows batch file with the following line in a text editor, like notepad.
    • %comspec% /C start /normal /affinity 1ff AssassinsCreed_Game.exe

    • 1ff is for 8 cores, f is for 4, please set accordingly to your hardware.

  2. Save it, name it what you'd like, for this example I'll name it launchwaffinity.bat. Include .bat at the end of the name to create the batch file.

  3. Place the batch file in the game's install folder.

  4. Back in Steam, in the game's launch options type the following
    • <path-to-batch-file> %command%

    • i.e.
      "C:\Program Files (x86)\Steam\steamapps\common\Assassins Creed\launchwaffinity.bat" %command%

  5. Click Play and (hopefully) enjoy!

Note 1: The path to the batch file in the launch options needs to be wrapped in double quotes ("example"). This is to escape the spaces and slashes, there are other ways but just do it like this ok.

Note 2: The equivalent can be done in linux, instead of a batch it'd be a script. As for %command%, I don't remember if it's the same in linux.

Note 3: I did not have to set a compatibility mode, nor set the launcher(s) to run as admin, nor anything else, just this.

This also works for other games that need their CPU affinity limited to run, like The Witcher 2.
Last edited by Alakratt; Jan 26, 2023 @ 1:07am
< >
Showing 1-15 of 15 comments
demimoo Jan 16, 2023 @ 12:50am 
thanks bro
SkyQuake Jan 16, 2023 @ 8:40am 
thanks, follows the same approach I did like months ago. as in my solution the game at least starts, but the game crashes without an error during the initial Ubisoft video. Game runs for like 1-2 seconds, not more. :(
SkyQuake Jan 16, 2023 @ 10:06am 
Originally posted by SkyQuake:
thanks, follows the same approach I did like months ago. as in my solution the game at least starts, but the game crashes without an error during the initial Ubisoft video. Game runs for like 1-2 seconds, not more. :(


Nevermind, btw. second last note got my issue covered.

"Note: I did not have to set a compatibility mode, nor set the launcher(s) to run as admin, nor anything else, just this."

:) feels good to be able to play this masterpiece again. <3
Alakratt Jan 16, 2023 @ 1:08pm 
Glad I could help guys!
Æth of furbs Jan 20, 2023 @ 6:55pm 
Originally posted by Alakratt:
Glad I could help guys!
So if I have 12 cores would I put 1fff?
Alakratt Jan 21, 2023 @ 12:39am 
Originally posted by tino trimo trimo:
Originally posted by Alakratt:
Glad I could help guys!
So if I have 12 cores would I put 1fff?
Yeah but I haven't tried with 12.
SkyQuake Jan 21, 2023 @ 1:30am 
Originally posted by tino trimo trimo:
Originally posted by Alakratt:
Glad I could help guys!
So if I have 12 cores would I put 1fff?

My understanding is that you set the number of cores a process can use running within Windows. So for Dragon Age/AC1 8 (even 4 I think) should be suffiecient. Note that most games (DA:O/AC1 is pretty old) are not designed/implemented for massive multi core usage anyways.
Last edited by SkyQuake; Jan 25, 2023 @ 7:45am
Ubi-Thrupney  [developer] Jan 25, 2023 @ 7:43am 
Great to see this troubleshooting advice being shared, folks :) It's not the sort of steps we'd usually recommend, but if it works out, we're all for that. Many thanks, Alakratt :steamhappy:

- Ubisoft Support
SkyQuake Jan 25, 2023 @ 7:50am 
Originally posted by Ubi-Thrupney:
Great to see this troubleshooting advice being shared, folks :) It's not the sort of steps we'd usually recommend, but if it works out, we're all for that. Many thanks, Alakratt :steamhappy:

- Ubisoft Support


No offense, sir. But I would appreciate that old games are made compatible for new HW from time to time. :)
Alakratt Jan 26, 2023 @ 1:01am 
Originally posted by Ubi-Thrupney:
Great to see this troubleshooting advice being shared, folks :) It's not the sort of steps we'd usually recommend, but if it works out, we're all for that. Many thanks, Alakratt :steamhappy:

- Ubisoft Support
Thank you! I'm just glad I can help out fellow gamers
demimoo Jan 26, 2023 @ 6:18am 
theres also a program called dAffinity to launch it normally from steam if you want to use the steam overlay and update play time. it works with the free version
Last edited by demimoo; Jan 26, 2023 @ 6:19am
Alakratt Jan 26, 2023 @ 7:28am 
Originally posted by EL REY DEL SERVIDOR:
theres also a program called dAffinity to launch it normally from steam if you want to use the steam overlay and update play time. it works with the free version
I use the batch script with The Witcher 2 as well and with that game it does track its play time. I have no idea why it doesn't track it for this one but your suggestion sounds like another good option.
Last edited by Alakratt; Jan 27, 2023 @ 12:10am
Ubi_TheBerry  [developer] Feb 5, 2023 @ 8:38am 
Originally posted by SkyQuake:
Originally posted by Ubi-Thrupney:
Great to see this troubleshooting advice being shared, folks :) It's not the sort of steps we'd usually recommend, but if it works out, we're all for that. Many thanks, Alakratt :steamhappy:

- Ubisoft Support


No offense, sir. But I would appreciate that old games are made compatible for new HW from time to time. :)

Hey SkyQuake,

We'll happily pass this feedback on, but as many of these legacy titles have concluded development and are no longer receiving updates, a patch to make them compatible with modern hardware is unlikely at this stage.

If there's anything more we can answer at all, please do let us know!

- Ubisoft Support
EinHeriaR Sep 26, 2024 @ 5:54pm 
Eres un capo!! muchas gracias!
Eunostos Mar 30 @ 9:49pm 
May have just saved me over at Lara Croft and the Guardian of Light.

Or may coincidentally have been active when i got it working, it's hard to tell with how inconsistent what does and doesn't get that game started seems to be :p

Either way, thank you.
< >
Showing 1-15 of 15 comments
Per page: 1530 50