project-navigation
Personal tools

Author Topic: Crash to desktop on startup  (Read 4393 times)

Offline SoftwareSimian

  • Rookie
  • ***
  • Posts: 34
    • View Profile
Crash to desktop on startup
« on: May 06, 2013, 09:11:36 pm »
I just downloaded the latest (2013-May-06) Windows binaries, and the game now crashes on startup. It gets to about 25% of the splash loading screen progress bar, and then crashes to desktop. I reverted to 2013-Apr-17 binaries and confirmed it works fine, also re-downloaded the current binaries just to make sure.

As it crashes to desktop the console is very briefly (0.2s or thereabouts) visible, and I managed to grab a screenshot (attached), but it doesn't show much useful, the last line is "--- parse scripts ---- 57 script files"

Quote from: C:\Users\User\AppData\Roaming\UFOAI\2.5-dev\base\ufoconsole.log
2013/05/06 15:05:10 FS_RemoveFile: remove C:\Users\User\AppData\Roaming\UFOAI/2.5-dev/base/keys.cfg
2013/05/06 15:05:11 There are still 1 opened files

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Crash to desktop on startup
« Reply #1 on: May 06, 2013, 11:55:00 pm »
Attach the full ufoconsole.log

Offline SoftwareSimian

  • Rookie
  • ***
  • Posts: 34
    • View Profile
Re: Crash to desktop on startup
« Reply #2 on: May 07, 2013, 12:08:21 am »
I quoted it verbatim above. It doesn't contain anything useful, just what I quoted above. But attached as requested.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Crash to desktop on startup
« Reply #3 on: May 07, 2013, 11:06:45 am »
I quoted it verbatim above. It doesn't contain anything useful, just what I quoted above. But attached as requested.

Only two lines. I don't think I've seen that before.

Offline SoftwareSimian

  • Rookie
  • ***
  • Posts: 34
    • View Profile
Re: Crash to desktop on startup
« Reply #4 on: May 07, 2013, 09:10:06 pm »
I downloaded today's binaries and the problem persists, so it wasn't just a compilation glitch.

Yes, ufoconsole.log just contains two lines, always the same two lines, but the timestamp at the start of each line is changed on each launch, so it must be clearing the file and rewriting the log on each launch.

The path noted in the log (C:\Users\User\AppData\Roaming\UFOAI/2.5-dev/base/keys.cfg) is correct (mixed slashes aside), but that directory does not contain keys.cfg

Online geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Crash to desktop on startup
« Reply #5 on: May 08, 2013, 07:10:17 am »
Did you only download the binaries, the exe files? It is possible that there was an incompatible ufo-script format change meanwhile. That could cause early-exit on script parsing stage.

-geever

Offline SoftwareSimian

  • Rookie
  • ***
  • Posts: 34
    • View Profile
Re: Crash to desktop on startup
« Reply #6 on: May 13, 2013, 08:26:00 pm »
I had been trying binaries-only.

Today I downloaded the binaries-only, and the full installer, and both had the same result as before. Crash to desktop, nothing useful in ufoconsole.log

Any further suggestions?

Offline SoftwareSimian

  • Rookie
  • ***
  • Posts: 34
    • View Profile
Re: Crash to desktop on startup
« Reply #7 on: May 18, 2013, 02:35:35 pm »
I'm not sure what the problem was, but I tried deleting the whole installation folder and re-installing from the full installer I had already tried above, and it seems to work fine now. Sorry for the false alarm.