Error - The specified mode is not supported by this device
by Steve D · in Torque Game Builder · 08/18/2010 (9:16 pm) · 3 replies
Hello everyone, I did a forum search but didn't find any results this message. If a user of TGB gets this, what does it mean exactly and what is the solution? Is it because the TGB is trying to load up a resolution it can't support? Or does it have to do with using opengl vs directx?
Someone reported to me that my game starts up, they hear the music playing but then they get this message. If they hear the music playing that means the scripts are being executed but it's not displaying properly, any ideas guys? Should I just initially default my game to a lower resolution and let the user change it from there?
Someone reported to me that my game starts up, they hear the music playing but then they get this message. If they hear the music playing that means the scripts are being executed but it's not displaying properly, any ideas guys? Should I just initially default my game to a lower resolution and let the user change it from there?
#2
Going to answer your email now!
08/19/2010 (2:41 pm)
Thanks Ron, I've re-coded the startup resolution to go to 1024x600 which is the minimum I designed the screens for. I tried to design for 800x600 a while back but there just wasn't enough room.Going to answer your email now!
#3
getResolutionList("OpenGL");
or
getResolutionList("D3D");
Will do the trick. I think they're TAB separated?
-Tim
08/20/2010 (11:35 pm)
The resolution list is actually accessible by script:getResolutionList("OpenGL");
or
getResolutionList("D3D");
Will do the trick. I think they're TAB separated?
-Tim
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders
Also start windowed, no matter what, always! If the resolution is too high, at least windowed mode lets them see enough to adjust resolution, if you ensure the vital parts fit within the 640x480 upper left section of the screen.
I'm not sure if TGB stores a resolution list anywhere, but it should be easy enough to add. You can then ask for largest and find a best fit. A bit of work, but something you only do once and re-use for all your projects :)