.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Bronze- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old September 26th, 2013, 08:10 AM

Tim James Tim James is offline
Private
 
Join Date: Sep 2013
Posts: 11
Thanks: 0
Thanked 3 Times in 2 Posts
Tim James is on a distinguished road
Default Suggestion: borderless windowed mode

Have you, the developers, considered this as a way to render the game fullscreen but still in windowed mode?

We could do it ourselves if we had more control over the window size. Is there a technical reason why the game only supports a limited set of resolution widths, and the desktop mode is locked to a certain size that it determines at startup?

If we were able to create a custom resolution, we could create an oversized window. For example, I'd like to configure the game to display 1920x1200 pixels, PLUS the normal Windows title bar and borders. The full window would not fit completely on my 1920x1200 monitor. But I could use a utility like ShiftWindow to automatically move that oversized window so the upper left pixel of the game was in the upper left pixel of my screen. The Windows title bar and borders would be off my screen at that point. But that's okay because I can still alt-tab or exit the game normally. This also draws over the taskbar. The game looks full screen but is rendered in a window.

Unless something prevents this implementation, I think it's the way forward to create a fullscreen look with the more robust windowed mode. You'd still need fullscreen mode for people who want to use a lower resolution and let their graphics card scale it up to fit the monitor. This would work best for people who play windowed mode at the desktop resolution.
Reply With Quote
  #2  
Old September 26th, 2013, 11:39 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,926
Thanks: 439
Thanked 1,851 Times in 1,216 Posts
Mobhack is on a distinguished road
Default Re: Suggestion: borderless windowed mode

If you would like to rewrite the third-party graphics engine, then by all means it might be do-able.

However as it stands, it only really was written for full-screen applications back in the days of DOS, before being uplifted to a Windows version at some point. The non-fullscreen mode only included was for the purposes of debugging back in the day as that mode was simply too slow to allow proper game play back in the day (2000 or thereabouts?).

The engine is probably written using Directx 5 or maybe 6, back before DX knew of such things as that, I suppose. Its also written in old Microsoft C++ wrapped around a version of MASM that's not available any more. So its source is not compilable on modern systems. (I did try back in 2004 or so in order to get rid of its bug that does not allow resizeable windows. The outer window frame will resize if the graphics engine flag is set - , but the play area remains constant and so can only be resized on the initial Directx set-up call. Hence the separate GameOptions launcher programme).

I could allow you to enter your own custom pixel coordinates - but if you get the aspect ratio wrong, or its too big for the screen space, or is not one of the pixel multiples the engine likes (or whatever) then you'll get the "squashed screen" display that most end users will see if they didn't read the game guide and left the windows task-bar in "pop-up" mode.

However the only windowless mode it allows is the full-screen mode with a title. Windowed mode must be a regular window and not a full-screen border-less dialogue box.

Andy
Reply With Quote
  #3  
Old September 26th, 2013, 07:31 PM

Tim James Tim James is offline
Private
 
Join Date: Sep 2013
Posts: 11
Thanks: 0
Thanked 3 Times in 2 Posts
Tim James is on a distinguished road
Default Re: Suggestion: borderless windowed mode

Quote:
Originally Posted by Mobhack View Post
The outer window frame will resize if the graphics engine flag is set - , but the play area remains constant and so can only be resized on the initial Directx set-up call. Hence the separate GameOptions launcher programm
Constant play area is okay if it's just a black border around the play area within the expanded window size. If it works like what it sounds like, you could use ShiftWindow (or equivalent) to at least have a dark screen without having to look at the window title bar and borders, or the taskbar.

Just thinking out loud. It seems like you guys are so close. I'm okay with windowed mode (never even considered it at first because I usually go immediately to fullscreen in any game) but then I started thinking about borderless windows.

If you want to create a test version that allows custom coordinates, I'd be happy to mess around with it. But I understand if you don't think it will work. I don't know anything about the innards.
Reply With Quote
  #4  
Old September 27th, 2013, 02:14 AM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: Suggestion: borderless windowed mode

Most cards & their drivers are optimised to deal with standard screen resolutions, using none standard settings will at the least cause them to work a lot harder & may well cause frame rate & tear issues.
Also if you don't get the alignment perfect your mouse might leave the monitor area before scrolling is initiated.
Alt Tab may also become a bit unstable or at least cause a complete screen refresh
__________________
John
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:09 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.