Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Wed 20/10/2004 05:38:42

Title: Window mode does not work
Post by: on Wed 20/10/2004 05:38:42
First off, I'm not working on a game, just trying to play some.  No matter what AGS game I try (and I have gone through the AGS tutorial and tried that as well), I can tick the "Run in a window" box, but then the game just goes full screen anyway. Furthermore, games only work in full screen if I have the letterbox option ticked (which I assume must just have to do with supported resolutions).

I'm running WinXP with up to date drivers and DirectX.   Am I missing something?  Might I have accidentally set a global option somewhere?  Any ideas?

Thanks,
Joshua  ???
Title: Re: Window mode does not work
Post by: Edwin Xie on Wed 20/10/2004 06:15:48
Did you click "save" or "save and run"?
Title: Re: Window mode does not work
Post by: Scorpiorus on Wed 20/10/2004 09:29:14
Hmm, if you tick the windowed mode, save & exit and then re-enter the setup program is it still turned on or does it get reset?

Does the window mode not work in any resolution?

What about other directX-based applications, does windowed mode work there?
Title: Re: Window mode does not work
Post by: on Thu 21/10/2004 00:49:16
Thanks for the replies.

1.  I've tried both save and "save and run".  Both put me in full screen.
2.  All other DirectX programs that I use (emulators) do run in window mode.
3.  The setting IS saved when I shutdown and re-enter the setup.  I've even looked in the CFG files and it has "windowed=1"  (or however it's phrased).
4.  No, window mode won't work in any resolution.

It's strange, because I KNOW that I've played the LSL2 remake in a window before.  I tried to download that to double check, but the aga-whatever-it-is website is down.  I guess I'll poke through every video setting I can find on my computer this weekend.

If I had at one time configured an AGS game to always run full screen (via Windows Properties) would it affect all other games? 
Title: Re: Window mode does not work
Post by: Scorpiorus on Thu 21/10/2004 11:40:53
Quote from: hitop on Thu 21/10/2004 00:49:16If I had at one time configured an AGS game to always run full screen (via Windows Properties) would it affect all other games?
I believe, it is a possibility, but I'm on Win2k and there is no such a property to set options on a per game basis.

BTW, what color depth your desktop at? Try toggling between different color depths and see if it behaves the same way.

You can also try making a shortcut with extra parameter, it's basically the same as setting it via game setup, but just in case:

gamename.exe -windowed -letterbox
Title: Re: Window mode does not work
Post by: SSH on Thu 21/10/2004 12:42:40
Have you tried downloading the latest engine and placing it beside the game. You then rename the game to something I can't remmeber and run it with a more up-to-date engine.

Which game is it exactly that you're trying to run? If it is a DOS-engine game, it wont be able to run full-screen anyway.
Title: Re: Window mode does not work
Post by: on Fri 22/10/2004 00:46:23
Well I got it working today.  It seems that AGS and Windowblinds don't play well together.  As long as I edit the game's properties to have "Disable Visual Styles" ticked, I can play in a window fine.  When I don't have Windowblinds loaded though, there's no problem not having that ticked.  Easy enough fix.  Thanks for the help!
Title: Re: Window mode does not work
Post by: Scorpiorus on Fri 22/10/2004 12:33:46
I'm glad the problem is sorted out.
Thanks for letting us know what it was. ;)