Game Development Community

Resolution Options not showing up.

by Trevor Gordon · in Artist Corner · 11/18/2001 (1:17 pm) · 23 replies

I am working on Crimeforce, and have always thought that the build didnt have support for resolutions higher then 640x480. Thats the only res that appeared in the options tab. Anyway, at this res, it seems that a portion of the Torque editor is cut off, specificaly the Creator tab. This is, needless to say, rather crippling as I am a mapper.

I have been told that the game DOES support higher resoltuions, but they arnt showing up as an option to me. I heard others have encountered this problem, what should I do?

About the author

Recent Threads

  • How do I make Decals?
  • Page «Previous 1 2
    #1
    11/18/2001 (3:06 pm)
    A couple of questions...

    What kind of video card are you using?
    Do you have the most recent drivers for it?

    As far as changing the video resolution - it should be detected by the software for you. You could try to overwrite its choice by changing the video resolution in the prefs files, but I would advise against that until you have established that your card is correctly supported and can go to the resolution you want.
    #2
    11/18/2001 (5:13 pm)
    my specs:

    850 Athlon
    375 megs RAM
    GeForce 2 MX400 64 megs with Detonator 4 drivers
    running Windows ME until I can afford XP.
    ($%#@% blue screen of doom)
    #3
    11/19/2001 (9:43 am)
    I have a similar problem, whereas I only see three options. However, I can get all the resolution options to show up by switching to full screen or a different resolution than the one I'm using, selecting d3d, then selecting openGL. The full list should show up then.

    I'm using a gf2, latest detonator drivers from Nvidia, and win98.
    #4
    11/25/2001 (5:02 pm)
    I am having the same problem. I only get 640x480 and 800x600 for my choices. I tried the fix mentioned above, but it does nothing for me.

    I am using a Diamond Viper 770Ultra w/latest drivers.

    Any other solutions?


    Thanks,
    -Jeff
    #5
    11/25/2001 (5:18 pm)
    [edited]see below

    noesc.dhs.org/ss/display2.jpg[added]
    oh ya , i have a 1.7 p4 and a geforce 3,,
    heh nevermind how the buttons look i am redoing that :)
    #6
    11/25/2001 (5:22 pm)
    My Desktop is always set to 1024x768 32bit.
    #7
    11/25/2001 (5:38 pm)
    ok after further checking ,,(set my desk to 600x800) and still got that high setting,,,it must be based on how good your vid or vid drivers are,,,i have not edited anything to get those setting (just upgraded to a geforce3 with drivers off the cd.)
    #8
    11/25/2001 (5:43 pm)
    Interesting. My card is great. It's not "top of the line" anymore, but it will well run Tribes 2 in its highest resolution with all its detail.

    Is this a bug?
    #9
    11/25/2001 (5:53 pm)
    sounds like a bug i never tried it above 600x800 with my tnt2 and just now did for the first time with my geforce3 ,,so i dont know :/

    [added]

    ijust did it on my wifes geforce2 and it does the same thing you describe except it went to the highest setting but showed the desktop tool bar about mid screen so it must be a config bug???weird.
    noesc.dhs.org/ss/display3.jpg
    #10
    12/03/2001 (6:53 am)
    In windowed mode, the game window can only be run at a smaller resolution than your desktop. For example, if you are running 1024x768 on your desktop - the game window can only be 800x600 or 640x480. That's because the borders for the window would exceed 1024x768. This detection is built into Torque and hence why you are not seeing any higher resolutions in the video options when running the game in windowed mode.

    When you switch to full screen, all video resolutions that your card supports should be available.

    Justin Mette
    21-6 Productions
    #11
    12/03/2001 (7:57 am)
    Nope, I always run in full screen. Am I the only one experiencing this without a fix?


    Thanks,
    -Jeff
    #12
    12/03/2001 (9:00 am)
    Jeff, did you say that Tribes 2 recognizes higher resolutions, but Torque does not? or you get the same for both? The resolution list is basically optained directly from D3D or OpenGL. We don't do much with it, though that doesn't mean there isn't a bug in the Torque code somewhere.

    You could trace through the code that builds the resolution list and see if the drivers are returning higher resolutions. For d3d, the code is in engine/platformWin32/winD3DVideo.cc, function D3DDevice::initDevice(), on line 51. OpenGl is in engine/platformWin32/winOGLVeideo.cc, function OpenGLDevice::initeDevice(), line 377.
    #13
    12/03/2001 (4:19 pm)
    Thanks Tim, I will take a look when I get home.
    #14
    12/03/2001 (4:45 pm)
    My torque returns only as max resolution 840x484
    Tho im using opengl and i have a geforce2, which supports much higher resolutions on opengl...
    #15
    12/04/2001 (6:39 am)
    Ok, I double Checked and Tribes 2 *does* infact support a much higherscreen resolution (Mine was set to 1024x768).

    I am using OpenGL as I have a Viper 770Ultra with all its latest drivers.

    Here is the code I found, but truthfully, I am too new to C++ to understand it. Here is the code from the location you stated:
    //---------------------------------------
    void OpenGLDevice::initDevice()
    {
    // Set the device name:
    mDeviceName = "OpenGL";

    // Set some initial conditions:
    mResolutionList.clear();

    // Enumerate all available resolutions:
    DEVMODE devMode;
    U32 modeNum = 0;
    U32 stillGoing = true;
    while ( stillGoing )
    {
    dMemset( &devMode, 0, sizeof( devMode ) );
    devMode.dmSize = sizeof( devMode );

    stillGoing = EnumDisplaySettings( NULL, modeNum++, &devMode );

    if ( devMode.dmPelsWidth >= 640 && devMode.dmPelsHeight >= 480
    && ( devMode.dmBitsPerPel == 16 || devMode.dmBitsPerPel == 32 ) &&
    ( smCanSwitchBitDepth || devMode.dmBitsPerPel == winState.desktopBitsPixel ) )
    {
    // Only add this resolution if it is not already in the list:
    bool alreadyInList = false;
    for ( U32 i = 0; i < mResolutionList.size(); i++ )
    {
    if ( devMode.dmPelsWidth == mResolutionList[i].w
    && devMode.dmPelsHeight == mResolutionList[i].h
    && devMode.dmBitsPerPel == mResolutionList[i].bpp )
    {
    alreadyInList = true;
    break;
    }
    }

    if ( !alreadyInList )
    {
    Resolution newRes( devMode.dmPelsWidth, devMode.dmPelsHeight, devMode.dmBitsPerPel );
    mResolutionList.push_back( newRes );
    }
    }
    }
    }

    //-------------------------------------------------
    #16
    12/18/2001 (8:23 am)
    Hello, I have the same problem. In Torque Engine SDK, when I run in fullscreen mode, I could only switch between two resolutions in the options.

    640x480
    800x600

    I have a geforce 2 GTS 32 mb, and I'm pretty sure it could go above 800x600. Btw, in Tribes 2 I could run at much higher resolutions, but not in the torque engine SDK.

    Thanx for your time.
    #17
    12/18/2001 (10:39 am)
    It is exactly as Justin says above: you won't get resolutions options >= to your desktop settings. I have a GeForce2 GTS 64 that I normally set to 1024x768. The options I get from Torque at that setting are 800x600, 640x480. If I increase the desktop res to 1152x864, then I get 1024x768, 800x600, and 640x480 as options in Torque.
    #18
    12/18/2001 (6:12 pm)
    Desktop resolution is not always the culpret. My Desktop is set to 1024x768 and the most Torque will give me is 800x600. And thats with all the updated drivers. AND just as he mentioned (and I mentioned before), Tribes 2 works great, I get all the resolution options I can eat.


    -Jeff
    #19
    12/19/2001 (5:37 am)
    Could it be that the software initially comes up in "windowed" mode and therefore only selects video modes that are less than the current screen size? That would explain why it always offers screen modes less than the desktop size.
    #20
    12/19/2001 (6:41 am)
    Good call, thats exactly what happend. Thanks!

    :)
    Page «Previous 1 2