Spring 98.0 window disappears at start

Spring 98.0 window disappears at start

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
jmcf125
Posts: 3
Joined: 06 Feb 2015, 21:52

Spring 98.0 window disappears at start

Post by jmcf125 »

Hi folks,

I was playing XTA the other day, and Spring stopped working. I assumed it crashed, but others in the lobby thought I was still connected, ingame. I tried to rejoin by clicking start, but it gave me an error (unimportant, something like «user has already joined»). So I killed all spring processes, and tried to start. A black window appeared for less than a second, and disappeared.

I tried nearly everything (from a lot of posts in this forums), Spring 98.0 just stopped working somehow, all games, from the lobby or terminal, safe mode or not, Steam or non-Steam. The attachment is the infolog.txt from doing 'rm -r ~/.spring' (don't worry, I saved the maps before) and running 'spring'. Even if I wait 45 seconds it just hangs there (line above «caught SIGINT»).

However, the 91.0 and 96.0 versions do work. It's only the 98.0 that doesn't work anymore. What am I doing wrong? How can I fix this? BTW, my graphics card sucks.
Thank you in advance,
Attachments
infolog.txt
(5.26 KiB) Downloaded 14 times
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: Spring 98.0 window disappears at start

Post by qray »

In your infolog I see that you try with Hex_Farm. I would choose another map. I had some problems with this specific map, too. It's quite special :wink:.

I had it also once after a crash that all my settings were messed up. So, if you had anything adjusted special (for graphics, paths etc.) in there, you could check if this is still correctly set.

Edit:
If you tried several spring versions, I assume that you use static binaries. If so, then check springsettings in the dir of the static binary you're using.

Edit2:
Just noticed this

Code: Select all

Using configuration source: "/home/jmcf125/.spring/springsettings.cfg"
Using additional configuration source: "/home/jmcf125/.springrc"
2 config files being used can potentially lead to problems.
jmcf125
Posts: 3
Joined: 06 Feb 2015, 21:52

Re: Spring 98.0 window disappears at start

Post by jmcf125 »

Found the solution! (just before I was going to repost, so here goes the reasoning, it might help someone)

I didn't select any map. Before this problem, when I run spring on its own, I'd see a screen where I could adjust settings, select a map and the game. Also, as I cleared the ~/.spring directory, there was no config. It created it (empty) on start I suppose. .springrc was empty too. Running spring --map .spring/some_map doesn't make a difference.

The static installs are from Steam, I can run, say, 96.0 through ~/.spring/weblobby/engine/96.0/spring. The configs of 96.0 and 91.0 are empty as well. But now I think of it, I think there was once configured to run windowed (I use a tiling window manager). Now they're running full-screen (I hadn't noticed since there's often no border even windowed). So it is probably that going-full-screen issue. I'll search for how to make it windowed and try again...

Found it! It's easy, as 96.0 was working, I run spring, found the Fullscreen = 1 setting, and changed to Fullscreen = 0. Then I put it in ~/.spring/springsettings.cfg. You were right, the settings were messed up for some reason... Updates shouldn't touch those files... Maybe it's Steam. Anyway, thank you. Though I'm still interested in finding out why this happened in the first place...
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Spring 98.0 window disappears at start

Post by Jools »

In XTA there is a setting in the menu to toggle fullscreen, maybe you accidentally touched that. It writes the setting to that config file. It's also possible to change fullscreen if you press alt+return I think, unless some widget blocks that.

I don't think having two config files are any problem — I use several — but please correct me if that's indeed not the case.
jmcf125
Posts: 3
Joined: 06 Feb 2015, 21:52

Re: Spring 98.0 window disappears at start

Post by jmcf125 »

That must have been it Jools. Maybe I was trying to do Alt+a Enter, and did Alt+Enter. Well, at least now I know what to do if it happens again and the reason why. Thanks.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Spring 98.0 window disappears at start

Post by Jools »

It's not alt+enter, it's alt+return. At least the engine default command shortcut. There may be some widget that changes this but I'm not sure without checking.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Spring 98.0 window disappears at start

Post by Forboding Angel »

Enter and Return are the same key.

No modern keyboards that I know of still label the enter key as "return".
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Spring 98.0 window disappears at start

Post by Jools »

You're absolutely right. Well, there are so many keyboards so it's really hard to tell, but at least for me they have the same label.

But enter really means "submit" or "form feed" whereas return means carriage return. The key you press when you want to start a new paragraph.
Post Reply

Return to “Help & Bugs”