Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Forced "Windowed" Mode?  (Read 548 times)

0 Members and 1 Guest are viewing this topic.

choctaw111

  • member
  • Offline Offline
  • Posts: 92
Forced "Windowed" Mode?
« on: January 25, 2023, 05:12:03 PM »

Here is the section of my conf.ini

[window]
width=1920
height=1080
ColourBits=32
DepthBits=24
StencilBits=8
ChangeScreenRes=0
FullScreen=1
DrawIfNotFocused=1
EnableResize=0
EnableClose=1
SaveAspect=0
Use3Renders=0
WideScreenFoV=1
UIColor=0
UIDetail=0
UIBackground=rnd

For a reason I cannot determine, "windowed" mode is on even though the conf.ini value is 1.  In game the knob is set to "windowed".  When I switch to full screen and click OK, the sim crashes.  I can run the sim at my native 3840x2160 but the cursor is just so small and hard to see! 
What am I not seeing here?
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24055
  • Taking a timeout
    • STFU
Re: Forced "Windowed" Mode?
« Reply #1 on: January 26, 2023, 05:03:44 AM »

ChangeScreenRes=0 implies that either you run the game at the native screen resolution (4K in your case) or windowed mode.
If you want FullHD in Fullscreen mode on a 4K monitor you need to set ChangeScreenRes=1.

Another way out - if you are an Nvidia user - would be to use GPU Image Scaling.
It's a feature of Geforce Experience, AMD might have something similar, dunno... Google is your friend.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

Knochenlutscher

  • Flying Ass Clown #10
  • Modder
  • member
  • Offline Offline
  • Posts: 4640
  • aka Segfej
Re: Forced "Windowed" Mode?
« Reply #2 on: January 26, 2023, 03:38:10 PM »

Boah, that stuff is awesome, GPU Image Scaling/It's a feature of Geforce Experience.
I thought I need new eye surgery as the Game on my new 4K looked blurred at most of the parts.
This is awesome.
I have ticked this on, according my Specs and I can see everything crystal clear,
even in far distance without Zoom in Wide View. That's just cool.
I can't imagine to dump my old Pirate Monoucular when Mudmoving, what a progress in vision.
Wunderbar

Thanks Mike
 :woohoo_dancing_banana:
Logged
Wiseman : "Did you speak the exact words?" Ash : "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah."

PoorGunnery

  • member
  • Offline Offline
  • Posts: 9
Re: Forced "Windowed" Mode?
« Reply #3 on: March 11, 2023, 10:23:50 PM »

So I replied to another thread you made at the end of January...and this will be gentle necro-threading, too. But I'm posting some of the things I've learned having the same issues as you for posterity so that the next person who's trying to google their way to victory can have a little more help.

"ChangeScreenRes=" only alters what's available to you in the Video Modes section of the Setup menu in the game. It doesn't help with preserving your desired aspect ratio or resolution or anything. With the variable set to "0", you'll see the resolution you've set in conf.ini (in my case, 2560x1440), but then the only other resolutions available in the drop-down menu will be 640x480, 800x600, and 1024x768. Also, the Full Screen/Windowed toggle will be automatically set to "Windowed" regardless of what you do in conf.ini. I replicated what you did and tried to set the toggle to "Full Screen" while the conf.ini setting was "ChangeScreenRes=0". I applied the change and went back to the main menu and the game instantly crashed.

ChangeScreenRes=1 allows the Full Screen/Windowed toggle to work properly, gives you the full range of resolution options in the game drop-down menu, and also gives you those resolutions at different color depths. So, aside from two different color depths on a ton of resolutions that I don't need to use, the game allows the choice between 2560x1440x16 and 2560x1440x32. With ChangeScreenRes=0 set, the resolutions will be limited to the ones I've noted above, and will also have no color depth appended. AKA 2560x1440 is shown in the menu with the variable set to "0", and 2560x1440x32 is shown with the variable set to "1".

BTW, the Color Depth selection is the same as the "ColourBits=" line in conf.ini. 16 or 32 are your options.
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24055
  • Taking a timeout
    • STFU
Re: Forced "Windowed" Mode?
« Reply #4 on: March 12, 2023, 01:00:51 AM »

With all due respect, the mistake you've made PG is that you tried to set the screen parameters from the ingame menu.
This yields different results depending on lots of factors, therefore the general recommendation is to manually edit conf.ini and set all parameters there.
And together with it, the recommendation is to set ChangeScreenRes=0, in order to keep the game from even attempting to change the screen resolution.
This works perfectly well together with Fullscreen mode, thousands of users play their game like this without any issues for decades now.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

PoorGunnery

  • member
  • Offline Offline
  • Posts: 9
Re: Forced "Windowed" Mode?
« Reply #5 on: March 12, 2023, 04:03:49 AM »

I might have not been terribly clear with all of the quotation marks flying around.

I personally set resolution and color depth etc in conf.ini also.

I was noting that the specific command line ChangeScreenRes= might be a little misleading at first glance in terms of its actual function. All that line does is lock out the in game resolution options. Setting it to zero to double-super-secret lock the game from meddling with resolution is a good idea. It's just worth noting that setting ChangeScreenRes=0 and then trying to toggle from windowed to full screen on the menu in the game will cause the game to crash. I can reproduce that hiccup. Which, yes, if you're inputting video settings in conf.ini you shouldn't be doing anything in the Video Modes menu in-game anyway.

So we agree on the best way to do things. Edit conf.ini.

I'm just elbow deep in settings and configs right now after being away from Il-2 for a number of years. I have new hardware and I can finally fly again, so I'm catching up on lots of iterations of the base game and mods. I've had to google a lot of stuff to refresh my memory and learn new things. So I probably got a little over-eager and obfuscated in an attempt to clarify.
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24055
  • Taking a timeout
    • STFU
Re: Forced "Windowed" Mode?
« Reply #6 on: March 12, 2023, 04:10:40 AM »

Alright, understood and agreed.
Running ancient game like this on contemporary systems isn't for the faint of heart :D

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 20 queries.