Crash when opening FreeOrion on Windows 8.1

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Crash when opening FreeOrion on Windows 8.1

#1 Post by SpaceGameFan »

When I try to run FreeOrion on Windows 8.1 64 bit it opens, a message shows on the console and it instanlY closses. It opens and close so fast that I cant read the console. I've tried reinstalling FreeOrion 3 times and if turned off and on my computer 2 times. The game worked fine a few hours ago. Someone knows a fix?
Last edited by SpaceGameFan on Tue Jun 21, 2016 8:17 pm, edited 1 time in total.

SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Re: Crash when opening FreeOrion on Windows 8.1

#2 Post by SpaceGameFan »

I found the log:

2016-06-21 20:38:32.018746 [error] Client : main() caught exception(GG::FlagSpec::UnknownString): Could not find flag corresponding to unknown string

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Crash when opening FreeOrion on Windows 8.1

#3 Post by Vezzra »

What version of FO are you trying to install?

Can you post your freeorion.log file here? Or better, open an issue on github and put all the info (FO version) and the log file there.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Crash when opening FreeOrion on Windows 8.1

#4 Post by Geoff the Medio »

Have you restarted your system since the problems started?

If not, are there any freeorion-related processes listed in the task manager?

Can find config.xml in C:\Users\(Your User Name)\AppData\Roaming\FreeOrion and post it in a reply or github issue?

After doing that, try deleting the contents of that directory, and trying again.

Can you open a console window, use the DOS cd command to change to the directory where you have FreeOrion installed, and run "freeorion.exe" from there? Start -> cmd.exe, cd C:\Program Files (x86)\FreeOrion, freeorion.exe

Looking at the code, my best guess is that you change a hotkey key binding in a way that has broken the saving / restoring of those settings. If you can reproduce that, it would be quite helpful...

SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Re: Crash when opening FreeOrion on Windows 8.1

#5 Post by SpaceGameFan »

Im using FreeOrion_v0.4.5_2015-09-01.f203162_Test_Win32
I've restarted my system 2 times
I changed the keybinding before the game started crashing, I've just errased the FreeOrion files and it works.
But I've reinstalled the game several times, didnt that errase the files?
Thanks for the support :D
Attachments
config.xml
(22.55 KiB) Downloaded 149 times
freeorion.log
(304 Bytes) Downloaded 157 times

SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Re: Crash when opening FreeOrion on Windows 8.1

#6 Post by SpaceGameFan »

And how can I change the keybindings with out the game crashing?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Crash when opening FreeOrion on Windows 8.1

#7 Post by Geoff the Medio »

SpaceGameFan wrote:But I've reinstalled the game several times, didnt that errase the files?
That erases the art, scripts, executables and other binary type files, but not the data in your user directory, like the save files and saved options.

Normally setting the key bindings using the in-game GUI should work. As above, I'd like to know how you managed to get it to break, if you're able to reproduce it.

Edit: I don't get a crash or error line in the log with the config.xml you posted. Can you confirm it does still cause a crash for you, and it's not a fresh error-free / default config.xml ?

SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Re: Crash when opening FreeOrion on Windows 8.1

#8 Post by SpaceGameFan »

Yes,it crashes with the config.xml, and we i configure the new config.xml withe the same keybinding it also crashes

SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Re: Crash when opening FreeOrion on Windows 8.1

#9 Post by SpaceGameFan »

And it only crashes when I got a keybinding with <Ctrl>+<Alt>+<Any letter/number/symbol>

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Crash when opening FreeOrion on Windows 8.1

#10 Post by Vezzra »

Ok, can anyone else (on Win) reproduce this? Probably a Win 8/8.1 issue, so if someone is on that platform, pls test&report back.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Crash when opening FreeOrion on Windows 8.1

#11 Post by Geoff the Medio »

Seems to work fine for me... setting CTRL+ALT+Z and CTRL+SHIFT+Z for the two zoom in shortcuts, quitting, restarting, checking the options screen, going into a game, doing map zooms... Checked config.xml and they're in there as expected...

What language is your keyboard and Windows GUI set to?

I added a try-catch block around attempting to process the bindings from input (eg. config.xml), to avoid a crash in the event an exception is thrown in that code, though. Should put a line in freeorion.log if something fails, though I apparently can't test.

https://github.com/freeorion/freeorion/ ... 23dda37109

SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Re: Crash when opening FreeOrion on Windows 8.1

#12 Post by SpaceGameFan »

My windows keyboard and GUI is set to spanish

SpaceGameFan
Krill Swarm
Posts: 11
Joined: Tue Jun 21, 2016 6:45 pm

Re: Crash when opening FreeOrion on Windows 8.1

#13 Post by SpaceGameFan »

I've updated to Free Orion 0.4.5+ 2016-6-21 and it works fine

Post Reply