Aller au contenu

Photo

Set Affinity Using ImageCFG


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Yawgn0r

Yawgn0r
  • Members
  • 18 messages

Unfortunately I had to redo my computer from scratch today, which of course means a reinstalling of the game. Before, I had it's affinity set permanently to one core using ImageCFG, but for the life of me, I cannot get it to work this time around. Now I'm an old geezer and tend to forget most things as soon as they happen, so most likely I'm just forgetting some nifty trick I used before.

Here's what I did this time around: extracted ImageCFG to C:\Windows\system32, and because the instructions say to add it to C:\Windows\system32\dllcache also, I created that folder (didn't have it to start), and added the ImageCFG to that folder as well. I then ran the application from cmd, typing in: imagecfg -a 0x40 "C:\Users\John Kingsbury\Games\Atari\Neverwinter Nights 2\nwn2main.exe" (I also tried: imagecfg –u "C:\Users\John Kingsbury\Games\Atari\Neverwinter Nights 2\nwn2main.exe"), and it says IMAGECFG: Unable to map and load C:\Users\John Kingsbury\Games\Atari\Neverwinter Nights 2\nwn2main.exe.

Any help?



#2
kevL

kevL
  • Members
  • 4 052 messages

.. sounds like it's not finding "nwn2main.exe". I think the problem might be Permissions/ User Access Control.

 

you could try creating a temp. working directory, eg: "C:\temp"
copy "nwn2main.exe" there, and run imagecfg against that shorter path: "C:\temp\nwn2main.exe"

This means less chance of typos, and you can do it without quotes.


(if it works, don't forget to manually back up your main executable in <users> before copying the altered file back in).

To make things really easy, put a copy of imagecfg in that working directory also, open a command prompt in C:\temp ...



#3
Yawgn0r

Yawgn0r
  • Members
  • 18 messages

I figured it out; needed to run cmd as administrator.

 

Thanks for the help kevL :)



#4
kevL

kevL
  • Members
  • 4 052 messages

ah  :)