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

This Month's Specials

The Falklands War: 1982- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old April 29th, 2010, 02:00 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 6,007
Thanks: 497
Thanked 1,956 Times in 1,263 Posts
Mobhack is on a distinguished road
Default Re: If designers are interested...

The DirectX calls are all in the third-party graphics library, WinVFX, which we cannot recompile. So anything to do with palette trickery etc is not doable.

In any case I have an alpha test EXE that allows any window size to be used, full screen or windowed. It all seems to work fine too and so it should be ready for next year's patch.

Windowed mode:
Works as at present. Since you cannot get into WinFX internal code, you cannot set a 'stay on top' window style that would cover the task bar to give a 'pseudo' full screen effect in windowed mode. Not really a problem provided you don't use 'auto hide' which confuses WinVFX.

Full screen mode:
Works perfectly, even on the full screen mode of my new 22 inch1680x1080 or whatever wide screen monitor. But since Microsoft have that bug with palletised modes in Vista/Windows 7, then you may have to use trickery to get round the problem. Killing off the explorer.exe process and restarting it again after the game is over is not really recommended since explorer.exe is your desktop process and is thus a windows core process! - strange things may therefore happen.
see e.g: http://windows7forums.com/windows-7-...te-issues.html
So if you do want to use full-screen palettised mode in Vista/W7 then you are on your own. Microsoft have decided for you that that mode is obsolete in their new operating systems.

With the new variable-sized windows game EXE coming out (if testing does not show it to crash and burn), then all you'll need do as a CD version owner, is to set the thing to use the full desktop area in windowed mode. No Windows 7/Vista palette mangling issues then.

cheers
Andy

(BTW - if you do have an old machine and get a spanking new wide screen CRT for it, then expect to have to splash out for a new graphics card too. I can force the full sized 1080p mode for this new screen but only in 30hz 'interlaced' mode, which is nasty and flickers like crazy. Otherwise it runs it in 'panning' mode like some laptops do with screen sizes set too high for the LCD, unless I choose 1450x900 or suchlike. Which is yucky. So either I get a new graphics card - or like I have done, the new CRT went into the spare room till I eventually get a Windows 7 box (won't need one with a screen, now .)
Reply With Quote
  #2  
Old April 29th, 2010, 03:52 AM

NCrawler NCrawler is offline
Private
 
Join Date: Oct 2003
Location: Sherwood, AR
Posts: 17
Thanks: 0
Thanked 3 Times in 2 Posts
NCrawler is on a distinguished road
Default Re: If designers are interested...

Quote:
Originally Posted by Mobhack View Post
The DirectX calls are all in the third-party graphics library, WinVFX, which we cannot recompile. So anything to do with palette trickery etc is not doable.
I think you misunderstood what I was saying. I was talking about hooking the DirectX .dll's, intercepting certain function calls and replacing with your own code. I know it would be quite a bit of work and you all are probably too busy to worry about it. Was just a suggestion... Just out of curiosity, is that WinVFX library written in Asm or C?


Quote:
Full screen mode:
Works perfectly, even on the full screen mode of my new 22 inch1680x1080 or whatever wide screen monitor. But since Microsoft have that bug with palletised modes in Vista/Windows 7, then you may have to use trickery to get round the problem. Killing off the explorer.exe process and restarting it again after the game is over is not really recommended since explorer.exe is your desktop process and is thus a windows core process! - strange things may therefore happen.
see e.g: http://windows7forums.com/windows-7-...te-issues.html
So if you do want to use full-screen palettised mode in Vista/W7 then you are on your own. Microsoft have decided for you that that mode is obsolete in their new operating systems.
Naw, explorer.exe isn't a core process, it's a user shell. You can stop and start it as many times as you'd like. Hell, you can replace it with another shell if you want or if you're really hard core, you can get rid of it altogether and manage your computer using nothing more than task manager. I wouldn't recommend that though. I don't think that the mode is obsolete it's just that the new Win7 shell does funny things with the palette when it is running. Probably has something to do with the new Aero theme or the way that the shell handles multiple windows...


NC

Edit: nevermind the question about what WinVFX was written in as it appears that WinVFX is an open source project that SSI used. Here is the authors website: http://www.thegleam.com/ke5fx/ - latest version is 1.19

Last edited by NCrawler; April 29th, 2010 at 04:06 AM..
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 04:27 PM.


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