Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Can't change resolution for Windowed mode.

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> Can't change resolution for Windowed mode. Page: [1]
Login
Message << Older Topic   Newer Topic >>
Can't change resolution for Windowed mode. - 11/30/2019 5:34:59 PM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
I made a post about this the other day but it eventually seemed solved and I'm not sure if adding a post to my old post will be seen. So apologies if making a new thread was naughty but hopefully it'll be seen

So to summarise, I can play the game in a window but I only get a very small window, which appears to be 1024x800. My monitor is running at 1920x1080 so ideally I want my window a bit smaller than that. The very small window is hurting my eyes and gives me a very small map area to view which isn't ideal. Having said that, it does run fine in the small window.

I can also play full-screen but I'm getting the bleed-through very rarely (twice so far). It's so rare that it's not a major problem but once I had to turn off the game and couldn't save my position because of it. Added to that, I'm tabbing out to a tutorial on Youtube and it's much easier to do in a window.

So, I'm back to the old problem, I want to run this in a window but it won't change resolution, no matter what I set it to. I'll add a screenshot which shows the game running, my command line (what you can see of it, I'll post it fully here too) and the tutorial running on the 2nd screen (could the 2nd screen be causing problems)? Maybe the screenshot will have some clues.

My command line is ..... -w -skipVideo -deepColor -cpu2 -pxf1920 -pyf1080 -archive -altFont -autosave

I've tried different numbers for the reso, used px/py instead of pxf/pyf and so on.






Attachment (1)
Post #: 1
RE: Can't change resolution for Windowed mode. - 11/30/2019 5:56:30 PM   
Kull


Posts: 2625
Joined: 7/3/2007
From: El Paso, TX
Status: offline
The solution is to set a "custom resolution" using your Graphics Adapter, not the Windows 10 display settings. Win10 will only show settings which exist, and you'll need to add this one manually. I have the same 1920x1080 and found the best fit was a custom setting of 1904x1040. Here's my "reminder file" on how to do that in my system:

1) Right-click the desktop and select "Intel Graphics Settings" (of course I don't know the name of your graphics adapter - hopefully it's the same, but if not the process should still be similar)

2) At the bottom left of the window, click "Display"

3) On the left of the window, click "Custom Resolutions" and then "Yes" in the warning box

4) The numbers to enter (assuming a native screen resolution of 1920x1080):
- Width: 1904
- Height: 1040
- Refresh Rate: 60

5) In the lower right of the box, click the "+" button (says "Add" right below it) and click "Yes" in the popup box

6) The screen will flash and the new resolution values now appear in the "custom Resolutions List" on the right of the box

7) Close the window by clicking the "x" in the upper right of the "Intel UHD Graphics Control Panel"

8) Change the shortcut switches to read "-px1904 -py1040"

9) The AE shortcut should now load the game in a large window that takes up most of your screen

NOTE: Please remember - do not change the Windows display settings. Those must remain at 1920x1080.

_____________________________


(in reply to farflamex)
Post #: 2
RE: Can't change resolution for Windowed mode. - 11/30/2019 6:10:40 PM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
I followed those instructions exactly and it worked right up until I loaded the game and once again, it's just running the tiny window. Note that I do have the Intel Graphics Settings and it did allow me to add the custom resolution which was added to list. And 1920x1080 are my settings. I changed the switches. So basically everything went exactly as above but once I opened the game, it's still the small window :(

Note that I am able to play in the meantime, I'd just like to get this to the ideal resolution.

(in reply to Kull)
Post #: 3
RE: Can't change resolution for Windowed mode. - 11/30/2019 6:18:20 PM   
Kull


Posts: 2625
Joined: 7/3/2007
From: El Paso, TX
Status: offline
Try rebooting, as perhaps Windows hasn't internalized the new settings. If that doesn't work, please post your full set of switches (copied and pasted straight from the shortcut)

_____________________________


(in reply to farflamex)
Post #: 4
RE: Can't change resolution for Windowed mode. - 11/30/2019 9:58:15 PM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
Rebooted, no effect.

These are my switches.

"D:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -w -skipVideo -deepColor -cpu2 -px1920 -py1080 -archive -altFont -autosave

(in reply to Kull)
Post #: 5
RE: Can't change resolution for Windowed mode. - 11/30/2019 10:17:08 PM   
BBfanboy


Posts: 18046
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline

quote:

ORIGINAL: farflamex

Rebooted, no effect.

These are my switches.

"D:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -w -skipVideo -deepColor -cpu2 -px1920 -py1080 -archive -altFont -autosave

Kull suggested changing the switch resolution to -px1904 - py1040. Did you try that?

_____________________________

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth

(in reply to farflamex)
Post #: 6
RE: Can't change resolution for Windowed mode. - 11/30/2019 11:00:34 PM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
Yes, my first reply above, I followed the instructions, including those settings, setting up my monitor and so on, but nothing changed.

I should point out that I've tried all sorts of resolutions that others use. It's just stuck on this tiny setting.

(in reply to BBfanboy)
Post #: 7
RE: Can't change resolution for Windowed mode. - 11/30/2019 11:00:45 PM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline

My pxfpyf looks like the below, and works in a 1920/1080 environment, without setting any new custom resolution.

Note there is no space between 2 and -py.

-pxf1872-pyf1053

_____________________________

"I am Alfred"

(in reply to BBfanboy)
Post #: 8
RE: Can't change resolution for Windowed mode. - 11/30/2019 11:03:10 PM   
Enforcer

 

Posts: 320
Joined: 3/14/2002
From: New Smyrna Beach, Fla
Status: offline
Just use Seabees

_____________________________


(in reply to Ian R)
Post #: 9
RE: Can't change resolution for Windowed mode. - 11/30/2019 11:18:35 PM   
Kull


Posts: 2625
Joined: 7/3/2007
From: El Paso, TX
Status: offline

quote:

ORIGINAL: farflamex

Rebooted, no effect.

These are my switches.

"D:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -w -skipVideo -deepColor -cpu2 -px1920 -py1080 -archive -altFont -autosave


I created a second shortcut and gave it your switches, but just changed the numbers to 1904 and 1040 and the game opened up in the correctly sized window. Which means that your switches should work (sometimes there can be odd characters or extra spaces which mess them up, but you don't have that, which is good)

The next thing is to confirm that your new custom resolution actually exists. So please go back into your Intel Graphics Settings window and confirm that it looks like the attachment below. If so, plug those numbers back into your shortcut, reboot, and start the game again (just to confirm that your sequence of actions was correct)




Attachment (1)

_____________________________


(in reply to farflamex)
Post #: 10
RE: Can't change resolution for Windowed mode. - 11/30/2019 11:44:31 PM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
So the problem when trying to apply Kull's advice is that the Intel panel does appear on my PC but I just noticed that it's only setting the secondary monitor and I presume that's because it's only setting the onboard graphics, rather than my main GPU which is an NVidea 1080.

So I think I need to be setting this on the NVidea panel to ensure that it's setting the main monitor. So I tried that and set a custom resolution of 1904 x 1040 but kept my display at 1920 x 1080. Rebooted, still the tiny display :(

(in reply to Kull)
Post #: 11
RE: Can't change resolution for Windowed mode. - 11/30/2019 11:49:34 PM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
Just to double-check something here, are we saying that it should open in any resolution that my monitor and graphics card can handle? So for example, in my Nvidea panel, I see that 1600 x 1200 is an option for both. So if I set the switches to 1600 x 1200, it should open in that resolution? Tried that, still not working though.

In other words, I don't actually need a custom resolution, just any resolution that's supported by both the monitor and the GPU?

(in reply to farflamex)
Post #: 12
RE: Can't change resolution for Windowed mode. - 11/30/2019 11:54:02 PM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
So you can see from this screenshot that it's set to the main display, the PC supports 1600 x 1024 and the game is set to run at 1600 x 1024. So this is set correctly?

It's definitely not running at 1600 x 1024 if I boot up.

Something else must be wrong here?

Here's my command line again... is there some syntax error?

"D:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -w -skipVideo -deepColor -cpu2 -px1600-py1024 -archive -altFont -autosave




Attachment (1)

(in reply to farflamex)
Post #: 13
RE: Can't change resolution for Windowed mode. - 12/1/2019 12:10:34 AM   
BBfanboy


Posts: 18046
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline
You have a space beteen your -px and the number. It should be continuous like -px1600. Same for the -py1024 setting.

_____________________________

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth

(in reply to farflamex)
Post #: 14
RE: Can't change resolution for Windowed mode. - 12/1/2019 1:10:47 AM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
I know it looks like that, but there isn't actually a space. I noticed that before, it must be the font.

Here's the switches when copy/pasted here.

"D:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -w -skipVideo -deepColor -cpu2 -px1600-py1024 -archive -altFont -autosave

(in reply to BBfanboy)
Post #: 15
RE: Can't change resolution for Windowed mode. - 12/1/2019 1:34:11 AM   
Kull


Posts: 2625
Joined: 7/3/2007
From: El Paso, TX
Status: offline
This is the official documentation on widescreen support and windowed settings within that (in the "WhatsNew.pdf" file in your WitP-AE main directory):

quote:

Wide Screen Support

New in the third official update:
-px -py

To have any effect x must be greater than 1024 and y must be greater than 768. If values
less than or equal to px=1024 and py=768 are used the original values of 1024 and 768 will
be substituted.

Spanning mode is not supported and user should ensure that both the video adapter and
monitor support the px and py values.

We were unable to test on all possible monitor combinations, if you experience issues you
should immediately remove the –px –py from your command line switches to revert to standard
display behavior.

Examples:
-f -px1920 –py1200 for a 1920x1200 monitor in full screen mode
-w –px1680 –py1050 for windowed mode, so that the window is within desktop
(my emphasis added)

Let's review some of the issues:
- The main display is the one that needs the settings altered. If you set a custom resolution on your second monitor, it will do absolutely nothing.
- As noted above, the window settings have to be less than the native resolution. It doesn't matter what you plug into the px/py settings, if the game can't use it, you'll get a small window set to 1024x768
- I can't say this for sure about your system, but I have an Nvidia card too and it does not control the alternate resolutions for AE. Those are set using the Intel Graphics settings.
- Since your main display is running 1600x1024, you could just remove the -w from your switches and see if the game will run fullscreen at that resolution. If so, a lower resolution setting from your list of "recognized resolutions" could be tried as the windowed settings.

_____________________________


(in reply to BBfanboy)
Post #: 16
RE: Can't change resolution for Windowed mode. - 12/1/2019 1:58:00 AM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
Thanks.

To clarify, the standard/recommend resolution of my monitor is 1920 x 1200 and that's what my desktop is running at. It also supports 1768 x 992, 1680 x 1050, 1600 x 1024 etc etc (i.e lots of them). It's a relatively new monitor (about 2 years old) and I have an NVidea GTX 1080 which is still a decent card.

I've tried every resolution on the list. They're all greater than 1024 x 768. I see from the quote above that it does revert to that and clearly that's what's happening with mine.

It will run in full-screen mode on any resolution but I got the bleed-through problem twice and I'd prefer to try to get this to work in a window. Although as far as I can see, I've followed the instructions correctly and it's just not having it.

(in reply to Kull)
Post #: 17
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:12:55 AM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
Ok, reading through other forum posts, the most obvious thing that I'm noticing is that my game probably isn't updated. I bought it a few days ago and installed it and just assumed that that was the latest version, but it seems that I need to manually update it or something? I'm not sure why that was supposed to be obvious since I didn't even realise that this was a thing until I read some other posts. I don't know where to find any updates except for mention of a beta update. So I'm rummaging around trying to work out what to do about this. But maybe I have an older version that doesn't support the px/py switches?

(in reply to farflamex)
Post #: 18
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:15:19 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline
Farlamex, does your monitor support a 16:9 resolution?

quote:

It's definitely not running at 1600 x 1024


Try it at 1600 x 900...

Or at something like 115 x 16 = 1840/ 115 x 9 = 1035.

I tried some other resolutions that where not consistent with 16:9 on my machine, and they didn't work.

I run the game in a window 1872 x 1054, and did not need to create any new resolution settings.

Note I have 1920/1080 monitor, so you might need to modify the mathematics to suit your screen size.

_____________________________

"I am Alfred"

(in reply to farflamex)
Post #: 19
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:19:39 AM   
Kull


Posts: 2625
Joined: 7/3/2007
From: El Paso, TX
Status: offline
As a test I shifted mine to 1920x1200 (a supported Intel resolution) which is an option and tried the 1680x1050 window and it worked fine (none of the others you listed are on my Intel list)

To me, this comes down to synching up your main resolution and the window with two that are on the Intel list. Don't do anything with your Nvidia settings, those aren't what controls things.

Edit: And um...yeah....please be running v1126a.....

< Message edited by Kull -- 12/1/2019 2:21:07 AM >


_____________________________


(in reply to farflamex)
Post #: 20
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:21:38 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline

quote:

ORIGINAL: farflamex

Ok, reading through other forum posts, the most obvious thing that I'm noticing is that my game probably isn't updated. ...


Yes, that could well be it.

The basic install file is from 2009.

You need to grab the latest official update (which is numbered Update v1.01.26a (Mar 16, 2015)) and patch up.

The switches were added in a patch some years ago when windows 10 was forced upon us.






_____________________________

"I am Alfred"

(in reply to farflamex)
Post #: 21
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:22:33 AM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
The update has fixed it. Seems odd to me that the initial download link wasn't a link to the latest version. In fact, it seems to have been running the very first version (1.0.0.. something). If the link can't be the latest version and clicking the update.exe is a requirement, this should probably be mentioned somewhere prominent... though I suppose this isn't the place for suggestions etc.

Anyway, it ran first time at my new resolution and I've just tested it in another and it works fine in any of my monitor resolutions now.

(in reply to Ian R)
Post #: 22
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:24:56 AM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
Ok cheers, this explains it all then. I had no idea that it needed to be manually updated.

On the upside, it's a good thing that I ran into this problem otherwise I probably never would have noticed that I was running a VERY old version. As you say, the download link seems to be the initial 2009 version.

Thanks everyone for your time and patience.

(in reply to farflamex)
Post #: 23
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:27:09 AM   
Kull


Posts: 2625
Joined: 7/3/2007
From: El Paso, TX
Status: offline
All's well that ends well!

_____________________________


(in reply to farflamex)
Post #: 24
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:27:51 AM   
Ian R

 

Posts: 3420
Joined: 8/1/2000
From: Cammeraygal Country
Status: offline

quote:

ORIGINAL: farflamex

The update has fixed it. Seems odd to me that the initial download link wasn't a link to the latest version.


Patches in recent years were a labour of love by forum member MichaelM. The 1.01.26a was originally a public beta patch. It was adopted as "official" fairly recently. Probably why no-one has updated the install package.




_____________________________

"I am Alfred"

(in reply to farflamex)
Post #: 25
RE: Can't change resolution for Windowed mode. - 12/1/2019 2:35:17 AM   
farflamex

 

Posts: 71
Joined: 7/23/2009
Status: offline
Ah I see. And come to think of it, there's no way that the very first install could say something like 'Please update to the latest version' on the opening screen, because at the time, I suppose that WAS the latest version. I guess they could put it somewhere more prominent in the download instructions or something.

This also explains why I couldn't find some of the scenarios that the various tutorials were suggesting.....

I'm seeing quite a lot of differences already. Nice that someone is updating this.

As you say Kull, all's well that ends well

(in reply to Ian R)
Post #: 26
RE: Can't change resolution for Windowed mode. - 12/1/2019 4:20:03 AM   
BBfanboy


Posts: 18046
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline

quote:

ORIGINAL: farflamex

Ah I see. And come to think of it, there's no way that the very first install could say something like 'Please update to the latest version' on the opening screen, because at the time, I suppose that WAS the latest version. I guess they could put it somewhere more prominent in the download instructions or something.

This also explains why I couldn't find some of the scenarios that the various tutorials were suggesting.....

I'm seeing quite a lot of differences already. Nice that someone is updating this.

As you say Kull, all's well that ends well

About a year ago Matrix announced it is officially stopping all further support for the game, meaning we can no longer rely on Matrix programmers to make fixes for things that we find out of whack. IIRC a couple of the Matrix folks did some tweaks on their own time but mostly they have had to withdraw from the forum.
There is some interesting work being done by forumites to make "what if" mods and change some artwork in the game.
Point is - if you find some things built into the game engine that annoy you it is unlikely they will be fixed. Best you might get is an explanation for why they are that way or a dart from Alfred for criticizing the game, Don't worry about it, I have garnered enough darts for a tournament!

_____________________________

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth

(in reply to farflamex)
Post #: 27
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> Can't change resolution for Windowed mode. Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

4.250