springLoader - starts windowed when spectating

springLoader - starts windowed when spectating

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

Moderator: Moderators

Post Reply
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

springLoader - starts windowed when spectating

Post by Licho »

This is the program requested by Noize to "fix" common annoyance
of spring mod developers or frequent spectators.


http://springie.licho.eu/SpringLoader.zip

What does it do?
When you start game as spectator spring will start windowed and with configurable resolution.

If you start game as a player spring will start fullscreen with configurable resolution.

It also sets processor afinity to second core.

How to install?
1) Rename your existing spring.exe to springOriginal.exe
2) download this zip http://springie.licho.eu/SpringLoader.zip and unzip content to your spring folder

How to configure?
Edit SpringLoader.xml and set desired resolutions

Note, if this doesnt start for you, update your microsoft .NET framework to at least 2.0 framework 2.0
Last edited by Licho on 24 May 2008, 14:50, edited 1 time in total.
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Re: springLoader - starts windowed when spectating

Post by NOiZE »

Made of win, someone make this compatible with the settings.exe and include it IMO :P

Many thanks licho!!
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: springLoader - starts windowed when spectating

Post by Licho »

Tbh this should be part of either settings or tasclient ..
I mean either spring itself should support it in its settings or tasclient/lobbies should.

This loader is just a hack :)
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: springLoader - starts windowed when spectating

Post by koshi »

Such functionality will be possible in SpringLobby in the forseeable future.
I'm planning to implement saving of profiles in springsettings. Once that is done the user could assign profiles to different roles in SpringLobby.

Example:
You define a profile "spectator" in springsettings, then you tell SpringLobby to use settings-profile "spectator" for all games where you are spectator.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: springLoader - starts windowed when spectating

Post by Licho »

Yeah thats the ideal solution..
Saktoth
Zero-K Developer
Posts: 2665
Joined: 28 Nov 2006, 13:22

Re: springLoader - starts windowed when spectating

Post by Saktoth »

Awesome, though i just play windowed all the time.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: springLoader - starts windowed when spectating

Post by AF »

Indeed it would be best in the lobby.

If I implemented it in AFLobby would there be compatibility issues with springloader?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: springLoader - starts windowed when spectating

Post by Licho »

Updated, loader now sets affinity to second core. (Usefull for people who host and play on same PC, springie will set affinity to first core)
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: springLoader - starts windowed when spectating

Post by Licho »

Added affinity and whether to start windowed/fullscreen with spectator or game mode to config file (reivanen request).
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Re: springLoader - starts windowed when spectating

Post by Neddie »

Nice idea. I might use it.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: springLoader - starts windowed when spectating

Post by Licho »

Patched for compatibility with latest tasclient beta (it could not recognize spectator mode properly).
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: springLoader - starts windowed when spectating

Post by AF »

AF wrote:Indeed it would be best in the lobby.

If I implemented it in AFLobby would there be compatibility issues with springloader?
bump
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: springLoader - starts windowed when spectating

Post by Licho »

Yeah but people who use aflobby would need to use loader :)
Loader is just hack to add features missing from lobby software.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: springLoader - starts windowed when spectating

Post by CarRepairer »

Doesn't seem to work any longer since spring .78. Using vista64.

The affinity thing works, but windowed/fullscreen setting is always using my springsettings setting.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: springLoader - starts windowed when spectating

Post by Licho »

its trying to use registry instead of new conf file, someone has to fix it.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: springLoader - starts windowed when spectating

Post by CarRepairer »

Licho wrote:its trying to use registry instead of new conf file, someone has to fix it.
LOL ok I'll go ask Licho to do it. Hey, that's you!
Post Reply

Return to “General Discussion”