1024x768 debug problem

Started by Rd27, Mon 06/06/2011 17:34:08

Previous topic - Next topic

Rd27

Hi,

I have this strange problem:
If I use 1024x768 resolution in my game, the debug mode is not working, it give's me this error:

There was a problem initializing graphics mode  1024 x 768 (16-bit).
Problem: ' Window size not supported')
Try to correct the problem, or seek help from the AGS homepage.

Possible causes:
* your graphics card drivers do not support this resolution. Run the game setup program and try the other resolution.
* the graphics driver you have selected does not work. Try switching between Direcct 3d and directdraw.
* the graphics filter you have selected dows not work. Try anther filter.


It works fine when playing without debugger. And all other resolutions works fine too...

I have tried to change the possible causes but didn't help either.

Windows size not supported, what does that mean?

Any help is welcome :)

monkey0506

When you run it "without the debugger", are you running it full-screen or windowed? If you screen resolution is less than or equal to 1024px wide or less than or equal to 768px tall, then that's probably why your graphics card can't initialize it. The debugger always runs in windowed mode, with the inside of the window frame being the same as the game resolution. Most cards (if any at all) will not render a window larger than the screen resolution.

So, what is your exact screen resolution, as set in Windows?

Rd27

I have run it with fullscreen.
The resolution which my computer/windows use is 1366x768.

Khris

That's the problem right there (1366x768). If you can, change your desktop resolution to something higher. If you can't, you're out of luck.

monkey0506

Somewhat reiterating what I said in my prior post, but approaching it a different way..

The debugger always runs in a window which is larger than the resolution of your game. That's because the inside of the window has to be the resolution of your game, so the frame of the window, the title bar, etc. has to be outside of that area, making the overall window size that much larger.

So if either dimension of your game resolution is the same as, or larger than your system's resolution, your graphics card will not be able to render your game in an window. Since the debugger is always run in a window, this will prevent you from using the debugger if this is the case. Taking it a step further, if the overall size of the window (including all window elements) is larger than or the same as your screen resolution (in either dimension, or both) then you'll run into the same problem there as well.

Like Khris said, either increase your system resolution, decrease your game resolution, or don't use the debugger. This isn't anything to do with AGS, this has to do with the way that graphics cards and windows (the actual windows, not the OS) work.

Rd27

Well that solved it, thanks :)

SMF spam blocked by CleanTalk