Cancel loading of spring on startup

Cancel loading of spring on startup

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Cancel loading of spring on startup

Post by Floris »

Sometimes I'm idling in the lobby and a new game start all of a sudden.

Because I was busy doing something else i have to wait until the game gets fully loaded and then via the shift+esc menu quit the game.

Is there some shortcut availible that allows me to quit the game at the time of the loadscreen?

If not.... maybe implement one? Or if it already is implemented then show the shortcut tip @ the loadscreen?

(maybe only for spectators if you dont want to make it too easy for players to quit)
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Cancel loading of spring on startup

Post by gajop »

kill -9 $spring_id
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Cancel loading of spring on startup

Post by Beherith »

end process in task manager.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Cancel loading of spring on startup

Post by Peet »

Run spring from an SSD so it takes all of 10 seconds to load 8)
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Cancel loading of spring on startup

Post by jK »

Peet wrote:Run spring from an SSD so it takes all of 10 seconds to load 8)
Or use Linux. Once loaded already (with the same map), loading occurs from RAM io cache and is faster than anything else.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Cancel loading of spring on startup

Post by jK »

Floris wrote:Is there some shortcut availible that allows me to quit the game at the time of the loadscreen?
There already is an early-exit during loadscreen, just click the close button of window or use taskbar (still there are breaking points that need to be reached, so exit is not immediately). Also for Linux: when started from bash you can ctrl+c it to force and fast exit (it softkills after 3sec and hardkills after 10s).
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Cancel loading of spring on startup

Post by Silentwings »

You could take the radical step of not sitting idle in battles when you don't want to spectate or play...
Post Reply

Return to “Engine”