Wintermute Engine Forum

General Category => General Discussion => Topic started by: Mnemonic on October 26, 2008, 05:58:53 PM

Title: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on October 26, 2008, 05:58:53 PM
Hello folks,

I'm releasing a WME update to version 1.8.9. I'm marking this release as beta version, because I still need your help testing the widescreen support.


WME 1.8.9 installer download (16MB) (http://www.dead-code.org/download/download_beta.php)

Update from WME 1.8.x to WME 1.8.9 (7MB) (http://dead-code.org/download/wme_update_189.exe)


(Note: Saved games are compatible with WME 1.7.2 and later)

Version 1.8.9 beta (December 20, 2008)

Version 1.8.8 (November 15th, 2008)

Version 1.8.7 (October 26th, 2008)


This build contains experimental support for widescreen monitors. What does it mean? If you are running a game using "normal" resolution (i.e. resolution with aspect ratio 4:3) on a widescreen (16:9 or 16:10) monitor, the game settings dialog will display a check-box labeled "Maintain aspect ratio". When checked, the engine will not use the original game resolution, but finds a nearest higher resolution with the same aspect ratio as user's monitor (determined by desktop resolution). The game will then display horizontal or vertical (or both) black bars around the game viewport. The point is to prevent stretching of image.

The function works both ways, i.e. running normal resolution game on widescreen monitor and vice versa.

Additionally, there's second check-box, "Use desktop resolution", which allows user to use desktop resolution (typically native resolution for LCD displays) and the game viewport is then centered.


I would like to continue the discussion from this thread (http://forum.dead-code.org/index.php?topic=2997.0). If you were having troubles with the previous test build, please try this new beta. It writes more detailed information to wme.log file. Also it's a bit more tolerant and is able to use 16:9 and 16:10 resolutions interchangeably.

Please post your observations in this thread. Thank you.
Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: Matt Groening on October 27, 2008, 04:05:16 PM
Hello.
1. How I can delete "Use desktop resolution" from Start Window?

2. My thoughts about "Use desktop resolution".
My game has 1024х768 screen. I have monitor with 1280x1024 resolution.
If I play my game in fullscreen then 1024х768 game screen strech to 1280х1024.
If I play my game in fullscreen and with "Use desktop screen" then game has 1024x768 (!!!) screen and black rectangles up, down, left and right (!!!). And I consider that 1024х768 game screen must strech to 1280х960 (correct aspect ratio) and has black rectangles up and down.
If I want play my game in 1024x768 resolution, I will play in windowed mode.
Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: odnorf on October 27, 2008, 04:50:03 PM
As far as I understand it, this second option is for troubleshooting reasons. If for whatever reason the first option doesn't work (wme can't find a resolution - it's depends on the gpu drivers) then the second option will be able to run the game fullscreen without distortion (with or without bars, it depends on the game's and monitor's resolution). Similar options are in the gpu drivers and I find them very useful.
Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: Mnemonic on October 27, 2008, 04:56:45 PM
As for 1280x1024, it's considered a "normal" resolution and is used interchangeably with 4:3 resolutions. The distortion isn't too big. This function is only intended to handle widescreen resolutions.
Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: Matt Groening on October 27, 2008, 05:01:25 PM
If I use Game.FileExists(Game.SaveDirectory) then in log:
WARNING: Referencing absolute path 'C:\Documents and Settings\USER\My Documents\GAME'. The game will NOT work on another computer.
Title: Widescreen support
Post by: Spellbreaker on October 27, 2008, 06:30:58 PM
Hello!

I created a Game with the 16:9 resolution 1366x768 in the Game Settings. When I startup the game in fullscrenn with "Use Desktop Resolution" checked, I've got black borders all around the scene.

If I don't check "Use Desktop Resolution" the Game wont start, here's the log:


18:21: ********** DEBUG LOG OPENED 27-10-2008 (Release Build) *****************
18:21: Wintermute Engine ver 1.8.7beta, Compiled on Oct 26 2008, 17:07:22
18:21: Platform: Windows XP Service Pack 3 (Build 2600)
18:21: DirectX version: 9.0
18:21:
18:21: Scanning packages...
18:21:   Registered 0 files in 0 package(s)
18:21: Initializing scripting engine...
18:21:   Script compiler bound successfuly
18:21: Loading plugins...
18:21:   wme_advshadow.dll
18:21:   wme_sample_pixel.dll
18:21:   wme_snow.dll
18:21: Loading string table...
18:21:   49 strings loaded
18:21: Enumerating Direct3D devices...
18:21: Enumerating DirectSound devices...
18:21: Game aspect ratio:    1.778646
18:21: Monitor aspect ratio: 1.600000
18:21: Game aspect ratio is the same as monitor aspect ratio.
18:21: Available video devices:
18:21:   NVIDIA GeForce 8800 GT  (accelerated)
18:21:     Driver: nv4_disp.dll 6.14.11.7813
18:21:     Monitor: 0
18:21: Available audio devices:
18:21:   Primärer Soundtreiber
18:21:   Realtek HD Audio output
18:21:   [no sound]
18:21:
18:21: User selected:
18:21:   Video: NVIDIA GeForce 8800 GT  (accelerated)
18:21:          Windowed:no  Colors:32bit  T&L:no  Multisample:0
18:21:   Audio: Primärer Soundtreiber
18:21: Error initializing renderer. Exiting.
       returned: E_FAIL
18:21:
18:21: Shutting down...
18:21: Shutting down scripting engine
18:21: ********** DEBUG LOG CLOSED ********************************************


Sincerly,

Spellbreaker
Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: Spellbreaker on October 27, 2008, 08:02:10 PM
Changed to 1280x800


Same problem



20:00: ********** DEBUG LOG OPENED 27-10-2008 (Release Build) *****************
20:00: Wintermute Engine ver 1.8.7beta, Compiled on Oct 26 2008, 17:07:22
20:00: Platform: Windows XP Service Pack 3 (Build 2600)
20:00: DirectX version: 9.0
20:00:
20:00: Scanning packages...
20:00:   Registered 0 files in 0 package(s)
20:00: Initializing scripting engine...
20:00:   Script compiler bound successfuly
20:00: Loading plugins...
20:00:   wme_advshadow.dll
20:00:   wme_sample_pixel.dll
20:00:   wme_snow.dll
20:00: Loading string table...
20:00:   49 strings loaded
20:00: Enumerating Direct3D devices...
20:00: Enumerating DirectSound devices...
20:00: Game aspect ratio:    1.600000
20:00: Monitor aspect ratio: 1.600000
20:00: Game aspect ratio is the same as monitor aspect ratio.
20:00: Available video devices:
20:00:   NVIDIA GeForce 8800 GT  (accelerated)
20:00:     Driver: nv4_disp.dll 6.14.11.7813
20:00:     Monitor: 0
20:00: Available audio devices:
20:00:   Primärer Soundtreiber
20:00:   Realtek HD Audio output
20:00:   [no sound]
20:00:
20:00: User selected:
20:00:   Video: NVIDIA GeForce 8800 GT  (accelerated)
20:00:          Windowed:no  Colors:32bit  T&L:no  Multisample:0
20:00:   Audio: Primärer Soundtreiber
20:00: Error initializing renderer. Exiting.
       returned: E_FAIL
20:00:
20:00: Shutting down...
20:00: Shutting down scripting engine
20:00: ********** DEBUG LOG CLOSED ********************************************
Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: Spellbreaker on October 27, 2008, 11:10:26 PM
So know the problem was tracked down that my screen does not support the 1280x800 resolution.

So the behavior I would like from WME is that then the next greater resolution will be choosen. For example, if WME gets 1280x900 from DX as valid, WME should use that and leave 50px black border on top/bottom.


Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: warmblood on October 30, 2008, 12:46:41 AM

I have a problem with the following setup (also others, but this is enough to show the problem):

- Scene is 1680x1050
- Screen is 1680x1050
- Game startup resolution is 1400x900

If I check Use desktop resolution, it works fine.
However, if I uncheck use desktop resolution - the game does not start, and there is no error message. If I have debug turned on always, the debug window comes up and then goes away before displaying any text.


Title: Re: Latest beta: WME 1.8.7 (October 26, 2008)
Post by: Mnemonic on October 30, 2008, 09:21:21 AM
Yes, there's a bug. If the requested resolution isn't available for full-screen mode, WME still allows you to go full-screen and then silently fails. The suggested solution to find nearest higher resolution should fix that for most cases. If no suitable full-screen resolution is found, only windowed mode will be available (that's how it worked before).
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Mnemonic on November 15, 2008, 03:58:57 PM
I just released WME 1.8.8 for more testing. Thanks for your feedback!

It would be nice to hear from people having troubles with the original beta, such as Stucki (problems with dual monitors) and DocBass (the aspect ratio check-box not showing at all).
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Spellbreaker on November 15, 2008, 10:02:39 PM
Hi there!

Now for the first time fullscreen is working for me, just one question: I set up the game in 1280x800 . WME then chooses 1280x960, since it's available on my gfx-card. But the game uses the full width without border left / right, which makes my chars looking quite big ;). Any way to avoid that?

Sincerly,

Spellbreaker
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Mnemonic on November 15, 2008, 10:16:48 PM
I don't understand the question. It seems natural that there are no left/right borders if 1280x960 is used instead of 1280x800.
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Spellbreaker on November 15, 2008, 10:35:10 PM
The problem is, that WME chooses 1280x960 as next-fitting resolution for widescreen, but it's a 4:3 resolution, so the image is distorted of course.
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Mnemonic on November 18, 2008, 06:45:14 PM
Right now it uses *any* higher resolution it finds, and ignores aspect ratio.
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Spellbreaker on November 19, 2008, 08:27:54 PM
Right now it uses *any* higher resolution it finds, and ignores aspect ratio.

Then I vote for "maintain aspect ratio" feature  ::rock ::rock ::rock
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Matt Groening on December 05, 2008, 02:09:11 PM
Hello. I use...
Code: [Select]
var SomeFile = new File(Game.SaveDirectory + "\save.game");
SomeFile.OpenAsText(2);
SomeFile.WriteText("Text");
SomeFile.Close ();


Error in
Code: [Select]
SomeFile.WriteText("Text");
Runtime error. File.WriteText: File must be open for writing in text mode.  

Game.SaveDirectory is "C:\Documents and Settings\[User Name]\My Documents\[Game Name]". But folder [Game Name] is not created, then Script writes file.

If I have created folder [Game Name], Script works is correct.
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Mnemonic on December 05, 2008, 02:19:11 PM
That's normal. The file cannot be opened for writing if the target directory doesn't exist. If you checked the return value of OpenAsText(), you'd probably get "false".
You can use the Directory script object to create a directory.
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Jihar on December 20, 2008, 07:41:45 AM
Hi!
I have the following problem.
Game is 1280x720. My desktop resolution in 1280x1024. Lets imagine thats its the first run and registry path of my game is empty. So in settings window i choose "Maintain aspect ratio", not windowed mode (i want to run in full screen!) and checking "Dont show this window again". Game is running and everything is great (ratio 16:9)! Im closing game... Than i run it once again, settings window does not shows (cause i choose to do so) and i have ratio 4:3 or something like this... If i run the game with settings everything is ok, this bug appear only when im choosing to run the game without showing settings window. And registry is ok, Video\MaintainAspect is allways 1.
Unfortunatly i cant hide option "do not show this window again" in settings window (it will be the momental solution). I can manually set System\ShowSettings to 1 in each game run, but the gamer will ask - WTF? why this f*** settings window is always showing? ;)

Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Mnemonic on December 20, 2008, 10:30:08 AM
Thanks! I completely missed this. Fixed.
Title: Re: Latest beta: WME 1.8.8 (November 15, 2008)
Post by: Jihar on December 20, 2008, 11:04:37 AM
Thanks! I completely missed this. Fixed.
Thats great! Thanks!
Can you tell when this fix will be available for downloading? :)
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 20, 2008, 01:56:42 PM
Ok, guys, I just uploaded WME 1.8.9 (see the first post for download links). Could you please give me one more round of tests?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Spellbreaker on December 20, 2008, 02:50:05 PM
Bug Report:

Since 1.8.9 when I scroll the scene in the SceneEdit tool, it flickers like hell between the actual sceen and plain white....


Sincerly,

Spellbreaker
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 20, 2008, 02:52:36 PM
I don't think it's related to 1.8.9. It flickers for me since I upgraded to Vista.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Birdline on December 27, 2008, 04:14:40 PM
Using 1.8.9:

Problem1: I'm stacked with it because V1.8.6 does not open projects made with V1.8.9, so I can't go back.

Problem2: I can't have full screen any more! I mean:
Project resolution: 1280X800
(since this has the same ratio with standard 1440X900, 1680X1050, there should not be big problem stretching to all these resolutions)
Desktop resolution: 1680X1050
So, checking "Use desktop resolution", it works as expected (black around the image and no distortion)
But, if not checking "Use desktop resolution", I would expect the image to stretch to the desktop resolution, displaying in full screen.
Instead, I have black around the image, distortion and no full screen.
And this is a problem. As I said, can't go back to V1.8.6. (unless I start over)

Do I miss some thing?

Best regards,
Spyros
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 27, 2008, 04:21:09 PM
Please post the wme.log file.

You can go back to WME 1.8.6 if you disable the "Allow desktop resolution" in ProjectMan and save the project.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Birdline on December 27, 2008, 04:42:39 PM
This is the log

16:24: ********** DEBUG LOG OPENED 27-12-2008 (Release Build) *****************
16:24: Wintermute Engine ver 1.8.9beta, Compiled on Dec 20 2008, 13:01:26
16:24: Platform: Windows XP Service Pack 3 (Build 2600)
16:24: DirectX version: 9.0
16:24:
16:24: Scanning packages...
16:24:   Registered 0 files in 0 package(s)
16:24: Initializing scripting engine...
16:24:   Script compiler bound successfuly
16:24: Loading plugins...
16:24:   wme_sample_pixel.dll
16:24:   wme_snow.dll
16:24: Loading string table...
16:24:   51 strings loaded
16:24: Enumerating Direct3D devices...
16:24: Enumerating DirectSound devices...
16:24: Game aspect ratio:    1.600000
16:24: Monitor aspect ratio: 1.600000
16:24: Game aspect ratio is the same as monitor aspect ratio.
16:24: Backup resolution:  1600 x 900
16:24:
16:24: Available video devices:
16:24:   NVIDIA GeForce 9800 GX2 (accelerated)
16:24:     Driver: nv4_disp.dll 6.14.11.7813
16:24:     Monitor: 0
16:24: Available audio devices:
16:24:   Primary Sound Driver
16:24:   SoundMAX HD Audio
16:24:
16:24: User selected:
16:24:   Using backup resolution (1600 x 900)
16:24:   Video: NVIDIA GeForce 9800 GX2 (accelerated)
16:24:          Windowed:no  Colors:32bit  T&L:yes  Multisample:0
16:24:   Audio: Primary Sound Driver
16:24: Maximum texture size: 8192x8192
16:24: Engine initialized in 134 ms
16:24:
16:25: Using texture format: 21
16:25:
16:25: Shutting down...
16:25: Shutting down scripting engine
16:25: ********** DEBUG LOG CLOSED ********************************************

As I see it uses "Backup resolution:  1600 x 900"
What is this?

(thanks for "getting back" tip

Spyros
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 27, 2008, 04:54:57 PM
"Backup resolution" is the nearest higher resolution supported by your video card / monitor. If the game resolution is not directly supported, backup resolution is used instead. So... with 1.8.6 you can start your game in full-screen?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Birdline on December 27, 2008, 06:11:02 PM
Back to V1.8.6:
No, Full-screen is not available. (only if the game resolution is any of standard 4:3)

I think there is a mistake here.
You say that "If the game resolution is not directly supported, backup resolution is used instead"
This is not true. The video card supports that resolution(as it does with 1440X900, 1680X1050 .....)
To show this I changed game resolution to 1440X900 and I had exactly the same results (and the same log)
The LCD monitor is the one that does not support that resolution, not the video card.
(in this case, it is a 22'' that works in 1680X1050),
So may be you should check the LCD monitor's resolution.

To my opinion,
May be the way of getting the "backup resolution" is not OK.
I mean, it ends up (in this case) to 1600X900, which is : 1600 is one step before 1680, and 900 is one step before 1050.
I think it should check for pairs (not independent X,Y) and only pairs:
That is (starting from game resolution 1280X800):
pair1= 1440X900, pair2= 1680X1050

Anyway there are not so many combinations
Usually these are 1280X800, 1440X900, 1680X1050, 1920X1200 (for wide screen)

May be I am making a mistake here, but I can't understand why this is happening.
I should expect that with some setting, the game to be stretched to the desktop resolution, displaying in full screen.
And the problem is that I can't go on if I can't have the game run in full screen.

Spyros
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 27, 2008, 06:21:38 PM
Well if the game doesn't use the resolution, then it would appear it's NOT supported. You can use this application (http://dead-code.org/misc/DXCapsViewer.exe) to see what resolutions are "visible" to DirectX.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: odnorf on December 27, 2008, 06:34:59 PM
Pay no attention to this. I missed the point.

Try to disable the "maintain aspect ratio". You are running a game with AR1,6 on an LCD monitor which already has AR1,6. No need to maintain anything. And if the gpu drivers are smart enough they will run the game in fullscreen (I know my ati would do that, hopefully nVidia will too).
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Matt Groening on December 29, 2008, 02:57:08 PM
Hello, my game has 1024х768 screen. I have run my game with notebook (1680х1050 resolution).
If I play my game in fullscreen then game screen strech to 1680х1050.
If I play my game in fullscreen and with "Maintain aspect ratio" then game screen strech to 1680х1050 and move right (I see only part of game screen).
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 29, 2008, 03:24:30 PM
Can you post wme.log and a screenshot?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Matt Groening on December 29, 2008, 07:21:32 PM
Can you post wme.log and a screenshot?

This is the log

Code: WME Script
  1. 22:16: ********** DEBUG LOG OPENED 29-12-2008 (Release Build) *****************
  2. 22:16: Wintermute Engine ver 1.8.9beta, Compiled on Dec 20 2008, 13:01:44
  3. 22:16: Platform: Windows XP Service Pack 2 (Build 2600)
  4. 22:16: DirectX version: 9.0
  5. 22:16:
  6. 22:16: Scanning packages...
  7. 22:16:   Registered 0 files in 0 package(s)
  8. 22:16: Initializing scripting engine...
  9. 22:16:   Script compiler bound successfuly
  10. 22:16: Loading plugins...
  11. 22:16:   wme_sample_pixel.dll
  12. 22:16:   wme_snow.dll
  13. 22:16: Loading string table...
  14. 22:16:   51 strings loaded
  15. 22:16: Enumerating Direct3D devices...
  16. 22:16: Enumerating DirectSound devices...
  17. 22:16: Game aspect ratio:    1.333333
  18. 22:16: Monitor aspect ratio: 1.600000
  19. 22:16: Searching for optimal resolution (device: MOBILITY RADEON 9600      )
  20. 22:16:   -> Considering: 1280 x 768
  21. 22:16:   -> Considering: 1280 x 768
  22. 22:16:   -> Considering: 1680 x 1050
  23. 22:16:   -> Considering: 1680 x 1050
  24. 22:16: Optimal resolution: 1280 x 768
  25. 22:16: Backup resolution:  1280 x 768
  26. 22:16:
  27. 22:16: Available video devices:
  28. 22:16:   MOBILITY RADEON 9600       (accelerated)
  29. 22:16:     Driver: ati2dvag.dll 6.14.10.6396
  30. 22:16:     Monitor: 0
  31. 22:16: Available audio devices:
  32. 22:16:   Primary Sound Driver
  33. 22:16:   Realtek AC97 Audio
  34. 22:16:   No sound
  35. 22:16:
  36. 22:17: User selected:
  37. 22:17:   Using optimal resolution (1280 x 768)
  38. 22:17:   Video: MOBILITY RADEON 9600       (accelerated)
  39. 22:17:          Windowed:no  Colors:32bit  T&L:no  Multisample:0
  40. 22:17:   Audio: Realtek AC97 Audio
  41. 22:17: Maximum texture size: 2048x2048
  42. 22:17: Engine initialized in 250 ms
  43. 22:17:
  44. 22:18:
  45. 22:18: Shutting down...
  46. 22:18: Shutting down scripting engine
  47. 22:18: ********** DEBUG LOG CLOSED ********************************************

If I made screenshot then it is correct (in Photoshop) [img=http://img91.imageshack.us/img91/5113/27927816lv8.th.jpg] (http://img91.imageshack.us/my.php?image=27927816lv8.jpg)

But in monitor (notebook) I see [img=http://img147.imageshack.us/img147/3429/82603198im3.th.jpg] (http://img147.imageshack.us/my.php?image=82603198im3.jpg)
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 29, 2008, 08:01:38 PM
Well if the image generated by WME (i.e. the screenshot) is correct, perhaps you need to adjust something in your display settings?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Birdline on December 29, 2008, 08:19:04 PM
Well if the game doesn't use the resolution, then it would appear it's NOT supported. You can use this application (http://dead-code.org/misc/DXCapsViewer.exe) to see what resolutions are "visible" to DirectX.

Thanks for the utility, I'll check this and tell you more.
Spyros
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Matt Groening on December 30, 2008, 07:23:18 AM
Well if the image generated by WME (i.e. the screenshot) is correct, perhaps you need to adjust something in your display settings?

But what I must see in display settings?
Display settings are standart.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 30, 2008, 09:05:47 AM
I have no idea. What if you set this resolution as your desktop resolution? Are you seeing the same problem?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Birdline on December 30, 2008, 10:27:03 AM
About the Spawn's problem,
I test it with same and different settings, but never had his problem.
Every time I used "Maintain aspect ratio", the image was centered to the screen.
So the problem may be some where else.

About my problem,
I used the DX utility on different systems (ati, nvidia) and gave me different results.
The only common resolutions are the standard 4:3 ones.
Before I do more tests, please correct me if I'm wrong, but as I saw,
the only way to have full screen, is to have the game resolution set to one of those "seen" by this utility. Is this correct?

And one more question about the backup resolution,
What do you mean by "nearest higher resolution",
I mean, nearest to which one?

Best regards,
Spyros
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Matt Groening on December 30, 2008, 03:50:48 PM
I have no idea. What if you set this resolution as your desktop resolution? Are you seeing the same problem?

I choose different resolution. And all resolutions are correct, but 1280х768 are not correct for this notebook (The Desktop locate in center. Left and right side of the Desktop goes out of notebook monitor).

In log we see that Game choose 1280х768 (as optimal resolution).
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 30, 2008, 04:21:51 PM
Spawn: I don't understand you. If you try setting this resolution as your desktop resolution, you're seeing the same problem?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on December 30, 2008, 04:23:41 PM
the only way to have full screen, is to have the game resolution set to one of those "seen" by this utility. Is this correct?
Yes, those are the resolutions available to DirectX. Those are dictated by your video card and your monitor.

What do you mean by "nearest higher resolution",
I mean, nearest to which one?
Nearest to intended game resolution, as specified in ProjectMan.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: DocBass on January 04, 2009, 01:36:54 AM
Still having the same problem as in 1.8.6. I still cannot run the game full screen and maintain aspect ratio. The option is simply not there to run it. It was the first few times I ran it in 1.8.6 but it magically disappeared, and it is the same in 1.8.9. Game res is 1280x720, current desktop res is 1920x1080. If I start a new project, the option is there just fine, but for this current one, it is not, and I have not been able to get it back.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on January 04, 2009, 09:34:18 AM
Please post the log file.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: DocBass on January 05, 2009, 03:55:44 PM
With pleasure! I am assuming you are requesting this info here...

16:31: ********** DEBUG LOG OPENED 03-01-2009 (Release Build) *****************
16:31: Wintermute Engine ver 1.8.9beta, Compiled on Dec 20 2008, 13:01:26
16:31: Platform: Windows Vista Service Pack 1 (Build 6001)
16:31: DirectX version: 9.0
16:31:
16:31: Scanning packages...
16:31:   Registered 0 files in 0 package(s)
16:31: Initializing scripting engine...
16:31:   Script compiler bound successfuly
16:31: Loading plugins...
16:31:   wme_sample_pixel.dll
16:31:   wme_snow.dll
16:31: Loading string table...
16:31:   42 strings loaded
16:31: Enumerating Direct3D devices...
16:31: Enumerating DirectSound devices...
16:31: Game aspect ratio:    1.777778
16:31: Monitor aspect ratio: 1.600000
16:31: Game aspect ratio is the same as monitor aspect ratio.
16:31: Backup resolution:  1280 x 720
16:31:
16:31: Available video devices:
16:31:   ATI Radeon HD 4670 (accelerated)
16:31:     Driver: atiumdag.dll 7.14.10.618
16:31:     Monitor: 0
16:31: Available audio devices:
16:31:   Primary Sound Driver
16:31:   Speakers (High Definition Audio Device)
16:31:   Digital Output Device (SPDIF) (High Definition Audio Device)
16:31:   Digital Output Device (HDMI) (2- High Definition Audio Device)
16:31:   Headphones (High Definition Audio Device)
16:31:   [no sound]
16:31:
16:31: User selected:
16:31:   Using requested resolution (1280 x 720)
16:31:   Video: ATI Radeon HD 4670 (accelerated)
16:31:          Windowed:no  Colors:32bit  T&L:no  Multisample:0
16:31:   Audio: Primary Sound Driver
16:31: Maximum texture size: 8192x8192
16:31: Engine initialized in 408 ms
16:31:
16:31: Using texture format: 21
16:32:
16:32: Shutting down...
16:32: Shutting down scripting engine
16:32: ********** DEBUG LOG CLOSED ********************************************
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: DocBass on January 05, 2009, 03:56:52 PM
Oops I guess I see something weird right off, should have looked at that earlier.  :o

Not sure why it would be saying the aspect ratios are the same, or why that would cause it to remove the choice...
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on January 05, 2009, 04:47:56 PM
Oh well, WME assumes both the game and the monitor are widescreen... which is true... therefore it doesn't display the check-box.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Matt Groening on January 06, 2009, 07:10:33 AM
Can you add text line when the 'Maintain aspect ratio' appears?
In the text " 'Maintain aspect ratio' can work incorrectly in some widscreen" or other text.

I have some notebooks (with widescreen) on which 'Maintain aspect ratio' works incorrectly and sometimes Fullscreen works incorrectly.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on January 06, 2009, 08:31:42 AM
If you try setting this resolution as your desktop resolution, you're seeing the same problem?
Spawn, I still would like to hear an answer to my question.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Matt Groening on January 06, 2009, 02:18:26 PM
Spawn: I don't understand you. If you try setting this resolution as your desktop resolution, you're seeing the same problem?

If I try 1280x768 resolution as desktop resolution then I have this problem(strech screen and move right) with 'Maintain aspect ratio'.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Jerrot on January 06, 2009, 02:58:57 PM
Spawn: I don't understand you. If you try setting this resolution as your desktop resolution, you're seeing the same problem?

If I try 1280x768 resolution as desktop resolution then I have this problem(strech screen and move right) with 'Maintain aspect ratio'.

But your desktop itself (NOT WME!) looks normal at this resolution?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: DocBass on January 07, 2009, 10:52:59 AM
Oh well, WME assumes both the game and the monitor are widescreen... which is true... therefore it doesn't display the check-box.

Yeah but they don't have the same aspect ratios. What's weird is that it DID work initially a few times, then went away completely. So will a 16:9 image always be stretched to a 16:10?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on January 07, 2009, 11:12:20 AM
Yes, this function was primarily designed to allow proper display of 4:3 games on wide screens and widescreen games on 4:3 monitors. It considers 16:9 and 16:10 equivalent.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: DocBass on January 08, 2009, 11:39:23 PM
Yes, this function was primarily designed to allow proper display of 4:3 games on wide screens and widescreen games on 4:3 monitors. It considers 16:9 and 16:10 equivalent.

Hmm ok...that's so odd that it worked initially then? Could we put that in as a feature request to differentiate the two?  ;D
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: odnorf on January 09, 2009, 12:04:53 AM
Funny thing, it was a feature request to treat both AR (16:9 & 16:10) as the same because this makes the whole "maintain AR" to work in a wider range of gpu/monitors. The problem is on many gpu/monitors combinations wme can't find a matching resolution if this feature is disabled and thus it can only run on windowed mode (and that's not a wme issue but a hardware/drivers limitation). As I see it, the benefit is larger with a not so big distortion that none, except the developer and some graphic artist, will notice. Perhaps, a solution would be to make this as another troubleshooting option but then the not knowledgeable with AR matters user will get overly confused.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Erwin_Br on January 09, 2009, 07:09:20 PM
People should just buy a normal panel for their PC and watch movies on a TV panel. Jeez!  :-X
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: odnorf on January 09, 2009, 08:39:52 PM
Normal widescreen PC panels have an 1.6 AR (1920x1200, 1680x1050, 1280x800). Anything else is rarely used so, afaik if you design your game to run at 1.6 you have covered almost all widescreen monitors and most 4:3 monitors  (since 1280x800 is available to most of them).
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Birdline on January 10, 2009, 10:14:26 AM
Normal widescreen PC panels have an 1.6 AR (1920x1200, 1680x1050, 1280x800). Anything else is rarely used so, afaik if you design your game to run at 1.6 you have covered almost all widescreen monitors and most 4:3 monitors  (since 1280x800 is available to most of them).
Yes odnorf, I thought so too and this is why I choose 1280X800, but this does not work.
As Mnemonic confirmed, the only way to have fullscreen, is the game resolution to be in the list seen by the DX utility he posted.
So, running this to different systems (nvidia, ati) gives different lists. But there was nowhere the 1280X800.
For nvidia the closest is 1600X900, for ati is 1280X720, so I can't have fullscreen.
(for nvidia I managed to "have" this 1280X800 and play at fullscreen by manually add it to the driver, but this is not a global solution)

Given the facts:
1. I can't know the list of valid resolutions (except my own system using the DX utility),
2. This list depends on the video card / monitor combination,
How can I decide a proper average game resolution?  ???
This is a mess
(may be I should ask about this in an other post alone)

Spyros
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: odnorf on January 10, 2009, 11:03:28 AM
@Birdline

I'm afraid there is not much you/we can do. :( This is a driver issue and not a wme related one. I find it strange that with ati gpu you can't find the proper 1280x800 resolution available nowhere. Latest ati catalyst drivers here offer this resolution at a 4:3 monitor.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Birdline on January 10, 2009, 12:48:01 PM
Yes I know that odnorf. In one of my systems I do have a 4:3 CRT monitor and I have no problems there (with either ati or nvidia).
But I am talking only for the wide screen monitors,
which are the most popular nowdays (and I'm afraid the only available in near future).

Spyros
(BTW, greetings from Athens  :) )
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Spellbreaker on January 10, 2009, 03:24:46 PM
Unfortunately Widescreen in WME is simply unpracticable with WME, simply because it doesn't do any scaling. I tested 1280x800 on many different screens/GPUs right now, and there are still some problems ( most were solved when WME handles 16:9 and 16:10 the same way, but not all ).

Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Arathel on January 14, 2009, 04:46:42 PM
ok now this is getting confusing for me.

Ok let's say I create a game in 1024x768 using 1.8.9, I can be sure that'll display fine on 4:3, 5:3 and 16:10 monitors because WME can handle that just fine (by adding borders).

But if I create it in a 5:3 aspect ratio, like 1280x1024, the picture will not be distorted on 4:3 displays, right? And I may run into problems with 16:10 displays.

Creating a project in 1280x720 would display fine on all displays, because WME 1.8.9 would add borders (top and bottom) to the picture if the game is played on a monitor with an aspect ratio of 5:3 and 4:3 - right?

So, using WME 1.8.9, what would be the best res to create a new project with? Good old 1024x768?

Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: odnorf on January 14, 2009, 05:19:58 PM
You can choose any resolution you want. The whole discussion here is about the new "maintain AR" feature which depends on the resolutions different gpu/monitor combinations reports back as supported and not about any wme limitation (because there isn't one).
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Jyujinkai on January 14, 2009, 05:23:16 PM
So, using WME 1.8.9, what would be the best res to create a new project with? Good old 1024x768?

I recommend 1280x800
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Dionysius on January 17, 2009, 06:58:50 AM
Mnemonic, will you build final (not beta) version of WME?
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Lebostein on January 25, 2009, 10:11:21 AM
Mnemonic, will you build final (not beta) version of WME?
Yes, please. I hope the support of WME 1 don't stop over the next months...
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on January 25, 2009, 05:02:43 PM
If there are no fatal problems with 1.8.9, I can turn it into an "official" release.
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: DocBass on February 05, 2009, 07:00:59 AM
If there are no fatal problems with 1.8.9, I can turn it into an "official" release.

I am getting a problem with trying to change the size of some of the layers in scenedit, or even deleting some. The scene screen goes white, so I close without saving to make sure nothing bad has happened. Then I get an error of "an invalid argument was encountered". This is the entry from the sceneedit log. I took out the file name for reasons of not revealing what it's for. I don't think this has started since this version.

 ********** DEBUG LOG OPENED 04-02-2009 (Release Build) *****************
21:58: Wintermute Engine ver 1.8.9beta, Compiled on Dec 20 2008, 13:01:44
21:58: Platform: Windows Vista Service Pack 1 (Build 6001)
21:58: DirectX version: 9.0
21:58:
21:58: Scanning packages...
21:58:   Registered 0 files in 0 package(s)
21:58: Initializing scripting engine...
21:58:   Script compiler bound successfuly
21:58: Loading plugins...
21:58:   wme_sample_pixel.dll
21:58:   wme_snow.dll
21:58: Scanning packages...
21:58:   Registered 0 files in 0 package(s)
21:58: Enumerating Direct3D devices...
21:58: Enumerating DirectSound devices...
21:58: Game aspect ratio:    -1.#IND00
21:58: Monitor aspect ratio: 1.600000
21:58: Game aspect ratio is the same as monitor aspect ratio.
21:58: Backup resolution:  0 x 0
21:58:
21:58: Available video devices:
21:58:   ATI Radeon HD 4670 (accelerated)
21:58:     Driver: atiumdag.dll 7.14.10.618
21:58:     Monitor: 0
21:58: Available audio devices:
21:58:   Primary Sound Driver
21:58:   Speakers (High Definition Audio Device)
21:58:   Digital Output Device (SPDIF) (High Definition Audio Device)
21:58:   Digital Output Device (HDMI) (2- High Definition Audio Device)
21:58:   Headphones (High Definition Audio Device)
21:58:   /syseng0019/[no sound]
21:58: Auto selecting devices for windowed mode:
21:58:   Video: ATI Radeon HD 4670 (accelerated)
21:58:          Windowed:yes  Colors:16bit  T&L:no  Multisample:0
21:58:   Audio: Primary Sound Driver
21:58: Maximum texture size: 8192x8192
21:58: ----- Open file: 'filepath' -----
Title: Re: Latest beta: WME 1.8.9 (December 20, 2008)
Post by: Mnemonic on February 05, 2009, 10:34:04 PM
Is the issue reproducible or is it random?