project-navigation
Personal tools

Author Topic: Win32/64: UfoAI hang during start  (Read 4276 times)

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Win32/64: UfoAI hang during start
« on: July 13, 2010, 08:13:22 pm »
http://ufoai.ninex.info/forum/index.php?topic=3843.msg40835#msg40835

The game just hang if you try to run it (on Win32 and XPx64)
If you dont have config.cfg or if in config.cfg
set cl_introshown "0" a
is present

If i change
src/client/cl_main.c
cl_introshown = Cvar_Get("cl_introshown", "0", CVAR_ARCHIVE, "Only show the intro once at the initial start");
to
cl_introshown = Cvar_Get("cl_introshown", "1", CVAR_ARCHIVE, "Only show the intro once at the initial start");
i can run the game if no config.cfg was found
but
if set cl_introshown "0" a is set in config.cfg the game will still hang

Is this problem special to windows
« Last Edit: July 14, 2010, 10:15:04 am by Muton »

Offline ManicMiner

  • Squad Leader
  • ****
  • Posts: 113
    • View Profile
Re: Win32: UfoAI hang during start
« Reply #1 on: July 13, 2010, 10:48:33 pm »
Hi Muton,

I had a similar issue but for the benefit of anyone trying 2.4 out who doesn't have an install to crib the files from and is wondering how they can fix the problem... you can try extracting the config files from my 2.3 build.

They are uploaded here:

http://ufoai.ninex.info/forum/index.php?action=dlattach;topic=5096.0;attach=4958

I don't think it's Windows specific but unfortunately my Linux machine's in a bit of a state so I can't verify. 

Not sure if this is relevant but when I created the ZIP file, the .cfg files were compressed from the C:\Users\Me\AppData\Roaming\UFOAI\2.3-dev folder but they need to go into the C:\Users\Me\AppData\Roaming\UFOAI\2.4-dev\base folder when extracted.

Offline CuChulainn

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: Win32/64: UfoAI hang during start
« Reply #2 on: July 22, 2010, 05:16:22 pm »
ManicMiner, this fix worked for me.  I had a similar issue.  Thanks for posting this!  Now I can check out Dev2.4.

Cheers!


Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Win32/64: UfoAI hang during start
« Reply #4 on: August 02, 2010, 10:42:00 am »
http://sourceforge.net/apps/trac/ufoai/changeset/31163 might fix the problem with the sound thread - please give it a try - if it works this must be merged back into 2.3

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: Win32/64: UfoAI hang during start
« Reply #5 on: August 03, 2010, 10:30:10 am »
nope
only
set cl_introshown "1" a
will do it, but no intro show up.

2.3 rev 31069 is not affected!

2.4 rev 30394 is working rev 30445 and up hang

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Win32/64: UfoAI hang during start
« Reply #6 on: August 05, 2010, 10:57:51 am »
please retry with revs >= 31246

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: Win32/64: UfoAI hang during start
« Reply #7 on: August 05, 2010, 08:13:38 pm »
fixed
thx