project-navigation
Personal tools

Author Topic: Cant do single-player in r22726  (Read 6211 times)

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Cant do single-player in r22726
« on: February 17, 2009, 11:56:54 pm »
Downloaded r22726, tried to enter the single-player screen, and the game crashes. No error message or anything. I uninstalled UFO:AI and reinstalled, but got the same thing.

Windows XP Home, SP3, just to remove that question further down the line

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Cant do single-player in r22726
« Reply #1 on: February 18, 2009, 12:04:30 am »
r22752 works for me. XP Pro Corp SP2.

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Cant do single-player in r22726
« Reply #2 on: February 18, 2009, 04:10:46 am »
I dont know...maybe something happened during download, but single player wont work in 22726

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Cant do single-player in r22726
« Reply #3 on: February 18, 2009, 10:36:22 am »
Are using some installer package created by 3th party? If so, no comment.....

-geever

Offline iliaarpad

  • Rookie
  • ***
  • Posts: 31
    • View Profile
Re: Cant do single-player in r22726
« Reply #4 on: February 18, 2009, 01:51:39 pm »
r22726 crashes on me as well. No suspicious lines in the console log. Since I didn't temper with the code and used only the scripts provided with source code I don't really see why it crashes. As the r22752 crashes as well I must assume that there IS something wrong with my installer. Or with the generated code. I will try a full rebuild and see if that helps.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Cant do single-player in r22726
« Reply #5 on: February 18, 2009, 01:53:02 pm »
As geever indicated, it's most likely a packaging problem.

Offline iliaarpad

  • Rookie
  • ***
  • Posts: 31
    • View Profile
Re: Cant do single-player in r22726
« Reply #6 on: February 18, 2009, 06:16:55 pm »
Hmm... Possible. I'll try deleting my working copy and check it out again. I have no clue what could be wrong as I haven't touched any of the build scripts...

In the meantime: if it is a packaging problem then should it also crash when started from Codeblocks?
« Last Edit: February 18, 2009, 06:32:54 pm by iliaarpad »

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Cant do single-player in r22726
« Reply #7 on: February 18, 2009, 07:50:56 pm »
yes, if you're the packager. The package itself isn't the problem, you must have done something wrong (considering it works for me), which is why it crashes for people who use your installer too. Starting with a fresh checkout seems like a good idea. If that doesn't help, we'll have to think of something else.

Offline iliaarpad

  • Rookie
  • ***
  • Posts: 31
    • View Profile
Re: Cant do single-player in r22726
« Reply #8 on: February 19, 2009, 12:41:07 am »
I recompiled it from scratch but it still crashes whenever I use optimization third (-O2) or higher level optimization. However it doesn't crash when selecting the Single Player menu using a build with second (-O1) or lower level optimization.
« Last Edit: February 19, 2009, 08:20:33 am by Mattn »

Offline vedrit

  • Sergeant
  • *****
  • Posts: 438
    • View Profile
Re: Cant do single-player in r22726
« Reply #9 on: February 19, 2009, 12:50:57 am »
Even though Im not a mod, I say we lock this until resolved as it is being discussed in two threads

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Cant do single-player in r22726
« Reply #10 on: February 19, 2009, 08:20:41 am »
I recompiled it from scratch but it still crashes whenever I use optimization third (-O2) or higher level optimization. However it doesn't crash when selecting the Single Player menu using a build with second (-O1) or lower level optimization.


you can even add debug symbols into a build with optimizations turned on. so why not generate a backtrace for that crash and post it here?

Offline iliaarpad

  • Rookie
  • ***
  • Posts: 31
    • View Profile
Re: Cant do single-player in r22726
« Reply #11 on: February 19, 2009, 04:50:00 pm »
I'll try that as soon as I get home. Thanks for the tip.

EDIT:
Meanwhile I noticed that somehow I accidentally changed the build target to windows from windows_debug (thanks to Destructavator). After restoring it to debug, it stopped crashing. However I still don't understand why it causes a problem.
« Last Edit: February 19, 2009, 07:27:33 pm by iliaarpad »

Offline iliaarpad

  • Rookie
  • ***
  • Posts: 31
    • View Profile
Re: Cant do single-player in r22726
« Reply #12 on: February 19, 2009, 10:53:32 pm »
I further investigated the problem and found some interesting thing. I have written about it in greater detail in this thread.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: Cant do single-player in r22726
« Reply #13 on: February 20, 2009, 01:20:55 pm »
yes, its maybe the same problem. And it should be fixed with last revisions.