|
|
|
![Reply](images/styles/Shrap/buttons/reply.gif) |
![Old](images/styles/Shrap/statusicon/post_old.gif)
September 23rd, 2006, 05:51 AM
|
Corporal
|
|
Join Date: Dec 2002
Location: Lithuania
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
SEVdemo: why does it eat up 100% cpu?
1. Start taskmanager.
2. Open SEVd game. ALT+TAB from it.
3. Open Space Empires V Demo/Data/DebugSettings.txt
4. Set TRUE to 'Generate Game Debug Log' and 'Debug Section Main Drawing Loop'.
5. ALT+TAB into the game. Wait for 10 secs doing nothing. Dont move the mouse or press any key.
6. ALT+TAB from it.
7. Go to taskamanager. You should notice your processor has just been at 100% cpu. Why? You did nothing.
8. Go to Space Empires V Demo/Backup/SE5Game_Log.txt
9. Count, how many strings 'Adjust camera position' does this log file have?
10. Mine has got several thousand.
11. So here is the answer. The game moves the camera, though you dont.
|
![Old](images/styles/Shrap/statusicon/post_old.gif)
September 23rd, 2006, 09:55 AM
|
![Arralen's Avatar](image.php?s=53bd4d3afbeb861bb2970db159680dce&u=696&dateline=2008) |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: SEVdemo: why does it eat up 100% cpu?
Turn off loging and debugging routines and you'll be fine ![](http://forum.shrapnelgames.com/images/smilies/rolleyes.gif)
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|
![Old](images/styles/Shrap/statusicon/post_old.gif)
September 23rd, 2006, 01:48 PM
|
![NullAshton's Avatar](image.php?s=53bd4d3afbeb861bb2970db159680dce&u=6300&dateline=2008) |
Major General
|
|
Join Date: Nov 2004
Location: Floating in space.
Posts: 2,297
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEVdemo: why does it eat up 100% cpu?
Most games take up 100% CPU even at the menu. It's nothing much.
|
![Old](images/styles/Shrap/statusicon/post_old.gif)
September 23rd, 2006, 04:11 PM
|
General
|
|
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEVdemo: why does it eat up 100% cpu?
It'll use 100 percent of CPU even without the debug settings. This is true of all 3D 'real time' games. They are designed to go for maximum performance in all situations. Every bit of available CPU will be claimed to keep those frames updating as fast as possible. And yes, the main display is a real-time 3D image. If you zoom in you can see the planets rotating.
|
![Old](images/styles/Shrap/statusicon/post_old.gif)
September 23rd, 2006, 07:14 PM
|
Colonel
|
|
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEVdemo: why does it eat up 100% cpu?
Quote:
NullAshton said:
Most games take up 100% CPU even at the menu. It's nothing much.
|
Yep, that's the reason : they can't eat up *more* than 100%, else they'll do ! ![](http://forum.shrapnelgames.com/images/smilies/laugh.gif)
|
![Old](images/styles/Shrap/statusicon/post_old.gif)
September 23rd, 2006, 07:17 PM
|
First Lieutenant
|
|
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEVdemo: why does it eat up 100% cpu?
Does it change if Vsync is on?
|
![Old](images/styles/Shrap/statusicon/post_old.gif)
September 24th, 2006, 01:31 PM
|
![NullAshton's Avatar](image.php?s=53bd4d3afbeb861bb2970db159680dce&u=6300&dateline=2008) |
Major General
|
|
Join Date: Nov 2004
Location: Floating in space.
Posts: 2,297
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEVdemo: why does it eat up 100% cpu?
No... it's just where it's rendering your beautiful 3D graphics! Try that on any game. You'll find that it still takes up 100% of your CPU doing nothing. That's because the CPU is processing the data for the next frame to send to the GPU once it's done with the current frame. Something like that, I think.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|