Routine to check for minimum capability of machine
by Steve Lamperti · in Torque Game Engine · 03/14/2006 (3:04 pm) · 8 replies
I'm trying to find, or write if it doesn't already exist, a routine in C++ that checks the basic hardware of the machine (Video card, processor speed, etc,) to see if it will support running my TGE based project. (I open the Torque window as a separate window from my existing app, so checking the hardware status before trying to open the window would be cleanest for me.)
If anyone could point me in the direction of some code in the TGE that either already does this, or would be the right stuff to look at to do it myself, I would appreciate the suggestion.
If anyone could point me in the direction of some code in the TGE that either already does this, or would be the right stuff to look at to do it myself, I would appreciate the suggestion.
#2
I guess I will try to take apart that code, and try to write a routine like that myself.
03/14/2006 (3:18 pm)
Thanks ron, what I was really hoping for was a pass fail type of routine that just returned a bool with a true value if the hardware was ok, and false if it wasn't after popping up an error message.I guess I will try to take apart that code, and try to write a routine like that myself.
#3
if you come across the section to detect Video card, could you post it ?
i'd like to include that info in console.log.
03/14/2006 (3:48 pm)
Steve,if you come across the section to detect Video card, could you post it ?
i'd like to include that info in console.log.
#4
03/14/2006 (4:17 pm)
Found a bit of a flaw in my logic. I need to run something that is fairly TGE independent, as I want to run this to see if I should open the window at all, or not. All the code I was looking at in the TGE was fairly interrelated, so I can't run it before starting to load the engine, so I think I'll have to look else where for my code.
#6
03/19/2006 (11:24 am)
Orion? It is already being used for the same purpose. Quote:
Renderer: MOBILITY RADEON 9700 x86/MMX/3DNow!/SSE2
#7
my name's Orion, and i'm totally blind !
..yep.
thanks stefan.
i'd assumed it would be at the top of the log.
03/19/2006 (12:17 pm)
Hi! i don't believe we've been introduced !my name's Orion, and i'm totally blind !
..yep.
thanks stefan.
i'd assumed it would be at the top of the log.
Associate Ron Yacketta
For TSE I belive their is even a shader version check
-Ron