Spring in windowed fullscreen

Spring in windowed fullscreen

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Spring in windowed fullscreen

Post by knorke »

<[Evo]Forboding_Angel> tbh we really need windowed fullscreen
<[2up]knorke> we have?
<[Evo]Forboding_Angel> how to use it?
:arrow:
springsettings.cfg wrote:Fullscreen = 0
WindowPosX = 0
WindowPosY = 0
WindowState = 0
XResolution = 0
YResolution = 0
WindowBorderless = 1
Thought it might be interessting for others too.
0 = had this at "=2" but I guess it acutally is supposed to be 0. Just with "=1" the window is not centered correctly.
If you are wondering:
With spring in fullscreen it can be a bit unfunny to alt tab between Spring and other things. With windowed mode you have window bar at top and taskbar at bottom taking away some space and can accidently the whole game by clicking X.
With this it looks like fullscreen but alt tabs like windowed.

/edit
meh, there was already a thread about excactly this:
http://springrts.com/phpbb/viewtopic.php?f=12&t=26400
Anyway, its working.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Spring in windowed fullscreen

Post by Licho »

Great catch!
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring in windowed fullscreen

Post by Beherith »

Like it, thanks!
User avatar
marciolino
Posts: 268
Joined: 06 Sep 2010, 22:59

Re: Spring in windowed fullscreen

Post by marciolino »

Nice!

How can do I say spring to use my second screen? I tried WindowPosX and WindowPosY but i didn't work :|
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Spring in windowed fullscreen

Post by Anarchid »

How can do I say spring to use my second screen? I tried WindowPosX and WindowPosY but i didn't work :|
Double-screen array, then make window twice as wide, i guess that'd work :P
User avatar
marciolino
Posts: 268
Joined: 06 Sep 2010, 22:59

Re: Spring in windowed fullscreen

Post by marciolino »

Sorry, I mean I don't want dualscreen mode but I would like that spring start on my secondary screen and not the primary.

Because with windowborderless=1 i cant move the window to the secondary screen.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Spring in windowed fullscreen

Post by Anarchid »

Can't you alt-drag the window?

Oh, right, microsoft.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Spring in windowed fullscreen

Post by Forboding Angel »

Why isn't it available in settings?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Spring in windowed fullscreen

Post by Pxtl »

Next we just need to be rid of the bug where alt-tabbing leaves the alt-key stuck in Spring.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Spring in windowed fullscreen

Post by smoth »

Pxtl wrote:Next we just need to be rid of the bug where alt-tabbing leaves the alt-key stuck in Spring.
lol yeah
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Spring in windowed fullscreen

Post by Forboding Angel »

well windowed full screen should not have that, but yes I agree, that is a silly bug.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Spring in windowed fullscreen

Post by Google_Frog »

When I set WindowState = 0 it resets itself back to 1. springsettings.cfg changes itself when spring starts such that WindowState = 1.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Spring in windowed fullscreen

Post by jK »

Google_Frog wrote:When I set WindowState = 0 it resets itself back to 1. springsettings.cfg changes itself when spring starts such that WindowState = 1.
Not itself ... YOU MAXIMIZE THE WINDOW:
0 = floating window
1 = maximized
2 = minimized (was removed after some trouble and on user request)
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Spring in windowed fullscreen

Post by Google_Frog »

If I don't touch the window WindowState removes itself from springsettings.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Spring in windowed fullscreen

Post by jK »

Google_Frog wrote:If I don't touch the window WindowState removes itself from springsettings.
Spring now doesn't save defaults anymore since 83 ...
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Spring in windowed fullscreen

Post by Google_Frog »

I don't think you understood. I Added "WindowState = 0" to springsettings.cfg, started spring.exe and clicked Quit. The WindowState line is no longer in springsettings.cfg.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Spring in windowed fullscreen

Post by jK »

You didn't understood. Defaults are NOT saved! No matter what!

Spring finds a default value in your config -> it will not save it when rewriting the config.

advantages:
1. we can change the default values w/o having to overwrite user values
2. you can use multiple config files and merge their settings
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Spring in windowed fullscreen

Post by Google_Frog »

Oh so 0 is the default?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring in windowed fullscreen

Post by abma »

Google_Frog wrote:Oh so 0 is the default?
yes: http://springrts.com/wiki/Springrc#possible_values
BestThingEver
Posts: 1
Joined: 20 Feb 2012, 19:57

Re: Spring in windowed fullscreen

Post by BestThingEver »

Great!

The only problem I have with it is I'm using a dual monitor setup and I can't use the mouse to scroll on the side where it crosses to the second screen.

I'd be interested to know if there is a way to keep the mouse pointer on the spring window until you alt+tab or hit the windows button the K/B.
Post Reply

Return to “General Discussion”