General > Discussion
Ufo.exe process priority
Markus Ramikin:
Is there any reason why it needs to run itself as high priority by default? For some reason that eats 99% of my CPU and makes alt-tabbing out of it and accomplishing while tabbed out anything a huge pain in the behind. No other game I've played in years ever pulled that on me before, they all start as normal priority processes.
Destructavator:
I vaguely recall some discussion about this with the game a long time ago, but first: What version of the game are you playing?
Markus Ramikin:
The newest stable one, I presume, downloaded like yesterday... lemme take a look. 2.2.1 it seems like.
What's more, even if I set the shortcut to run via cmd /c start and make it run in /normal or /low priority, the game STILL overrides that and insists on running as /high. This goes beyond the merely disturbing into the 'wrong' territory.
I don't want to sound ungrateful or anything, I appreciate this game and I know it's free and all. But still. Unless this is needed for some obscure reason I cannot imagine, this is a Bad Idea.
Destructavator:
OK, first, the last stable release 2.2.1 is over a year old as the upcoming 2.3 is taking a lot longer than expected, although 2.3 has so many new features and changes its almost a whole different game. I'll try to help you out here with 2.2.1 although it has been a long time and I'm mainly doing this from memory. :P
Second, I remember in the SVN logs that at some point during the development of 2.3 (after 2.2.1 came out), the code was updated to make the game run at normal priority by default - I think - Its really been a while so I could be remembering wrong.
Third, to change how the game runs at the command line you don't use a slash followed by "low" or "normal" or anything, to tell the game to set itself at the priority you want you add (this is from memory, I hope I'm close enough) "+set" followed by the name of the cvar you want to change and then the value.
Fourth, ...well - I have more I could say, but please excuse me for a few min while I go to my other computer with UFO: AI set up on it and try a few things, then I'll come back here to the forum, hopefully with more information.
Be right back...
Destructavator:
...OK. Try this:
--- Code: ---ufo -set sys_priority 0
--- End code ---
Hopefully that should work for 2.2.1.
0 == normal
1 == high
2 == realtime
We also have test builds of 2.3 if you want to try them, although they have bugs and are not finished.
Edit: If you plan on running other apps at the same time, you can also play with "sys_affinity" on a multi-core machine and make the game use only one specific core instead of all available ones.
Navigation
[0] Message Index
[#] Next page
Go to full version