Crash when opening FreeOrion on Windows 8.1
Moderator: Oberlus
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Crash when opening FreeOrion on Windows 8.1
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.
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Re: Crash when opening FreeOrion on Windows 8.1
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
2016-06-21 20:38:32.018746 [error] Client : main() caught exception(GG::FlagSpec::UnknownString): Could not find flag corresponding to unknown string
Re: Crash when opening FreeOrion on Windows 8.1
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.
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.
- 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
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...
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...
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Re: Crash when opening FreeOrion on Windows 8.1
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
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
- Attachments
-
- config.xml
- (22.55 KiB) Downloaded 149 times
-
- freeorion.log
- (304 Bytes) Downloaded 157 times
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Re: Crash when opening FreeOrion on Windows 8.1
And how can I change the keybindings with out the game crashing?
- 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
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.SpaceGameFan wrote:But I've reinstalled the game several times, didnt that errase the files?
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 ?
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Re: Crash when opening FreeOrion on Windows 8.1
Yes,it crashes with the config.xml, and we i configure the new config.xml withe the same keybinding it also crashes
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Re: Crash when opening FreeOrion on Windows 8.1
And it only crashes when I got a keybinding with <Ctrl>+<Alt>+<Any letter/number/symbol>
Re: Crash when opening FreeOrion on Windows 8.1
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.
- 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
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
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
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Re: Crash when opening FreeOrion on Windows 8.1
My windows keyboard and GUI is set to spanish
-
- Krill Swarm
- Posts: 11
- Joined: Tue Jun 21, 2016 6:45 pm
Re: Crash when opening FreeOrion on Windows 8.1
I've updated to Free Orion 0.4.5+ 2016-6-21 and it works fine