project-navigation
Personal tools

Author Topic: Problem starting UFO AI Vers. 2.4 - program crashes after start  (Read 15322 times)

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Hi guys,

I am having problems starting UFO AI 2.4 on my system. Game crashes after starting it. Operating system sends a crash report to Microsoft.
UFO AI 2.3.1 was running without any problems.

My system specs are: Acer Travelmate 8000, 1.7GHz, 1 GB Ram, Windows XP professional, Service Pack 3, ATi Radeon Mobility 9700 - 128 MB, Direct X 9.0c, latest Driver installed as available.

Any clue why I cannot start the game? How do I solve the problem?

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #1 on: July 25, 2012, 05:52:01 pm »
Looks like you are starting the dedicated server (ufoded.exe), not the actual game (ufo.exe). But it's not supposed to crash anyway.

What happens if you start ufo.exe?

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #2 on: July 25, 2012, 05:58:25 pm »
Actually, when I attached the crashlog file from the server startup, this is the only chance for me to store the crashlog file at all. When I start UFO AI 2.4 the "ufo.exe" file, it starts the log window but after a few seconds, the program just crashes. So I do not have a chance to copy the actual crashlog. Windows XP tells me that it had to cancel program because of error. Desktop works fine afterwards.

What is the problem here?

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #3 on: July 25, 2012, 06:24:35 pm »
Game could lose a logfile completely or partially in case of really bad crash. There's a trick to avoid it: start game with "ufo.exe +logfile 2" command. This mode is disabled by default since it could cause major slowdowns in some cases.
But it will allow you to get all the log (if any) up to the crash moment.

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #4 on: July 25, 2012, 06:31:01 pm »
Oops -- looks like I've read you wrong: you don't have to copy log from the window, it is stored in the game's folder under "Application Data". Game installer should have put a menu link to there.

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #5 on: July 25, 2012, 06:39:51 pm »
Unfortunately, my installation did not create the folder "Application Data". My installation directory only consists of:
main directory: UFOAI-2.4
sub directories: - base
                          - i18n
                          - maps
                      - radiant
                      - tools     

That are all the directories that are created by the program.         

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #6 on: July 25, 2012, 06:53:48 pm »
It is already present in Windows :)

cd %APPDATA%\UFOAI\2.4\base

ufoconsole.log should be there, that is the saved log.

Or, alternatively, if you prefer the windows explorer, Start->programs->UFO Alien Invasion->scrnshot and go one level up -- log should be there.

And the third way: open windows explorer and type (or copy) "%APPDATA%\UFOAI\2.4\base" to the address bar
« Last Edit: July 25, 2012, 06:59:11 pm by Sandro »

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #7 on: July 25, 2012, 07:41:42 pm »
Hi there,

here is the ufoconsole.log.


Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #8 on: July 25, 2012, 08:01:31 pm »
Your log seems to be cut did you try this?
start game with "ufo.exe +logfile 2" command.

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #9 on: July 25, 2012, 08:10:38 pm »
Hello guys,

here is the new logfile.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #10 on: July 25, 2012, 08:23:37 pm »
That didn't seem to help...
either the switch its not working or there's something wrong here

can you run the game from the command line (DOS window)?

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #11 on: July 25, 2012, 08:28:20 pm »
@DarkRain:

I started the game from the DOS command line. Still the same issue. Here is the latest logfile.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #12 on: July 25, 2012, 08:33:29 pm »
And did you include the "+ logfile 2" thing when you did? Was there nay output in the DOS console? Besides that I'm out of ideas....

edit: Ohhh, wasn't there a crashdump.txt file next to the ufoconsole.log?
second edit: I mean next to ufo.exe
« Last Edit: July 25, 2012, 08:37:46 pm by DarkRain »

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #13 on: July 25, 2012, 08:37:21 pm »
@DarkRain:

I started the game from the DOS command line and included the "+ logfile 2". The program still stops saying that MS XP needs to send a crash report to Microsoft.

What is wrong or not working here?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #14 on: July 25, 2012, 08:41:59 pm »
Actually to add the option for auto-flushed logging is
Code: [Select]
ufo.exe +set logfile 2

as logfile is a cvar.

-geever