Graviteam

English-speaking community => Graviteam Tactics: Operation Star => Topic started by: Steinfisch on November 13, 2011, 09:26:08 AM



Title: Operation editor crashes at startup
Post by: Steinfisch on November 13, 2011, 09:26:08 AM
After creating a new project, converting it and loading the editor crashes with the message:
Critical error
001: An error has occurred while initializing the program


the crash occurs while starting the program so I never saw more than the error message. I installed vcredist_x86_sp1.exe.

common_engine.log:
Start time:  9:29:01.280
INFO:  [i_timer:timer] Max time = 0.100,  min time = 0.010, discrete = 0xa
INFO:  9:29:01.409  [i_input:input] Activate mouse focus
 [i_loader:loader] Locale loc_eng (1)
WARNING:  [i_env:env] Auto pick weapons is enabled!
WARNING:  [i_env:env] Blood is enabled!
INFO:  [i_sides:sides] Found 12 sides
INFO:  [i_sides:sides] Found 0 sides found for qbattle
INFO:  [i_sides:sides] Found 12 x 13 side links
INFO:  [i_sides:sides] Found 24 unit types
INFO:  [i_campeditor:campeditor] Camp length 1 days
INFO:  [i_campeditor:campeditor] Camp length 3 frames
INFO:  [i_campeditor:campeditor] Campaign's local text 'D:\Dokumente\TEST3_text.loc_eng.textpack'
INFO:  [i_campeditor:campeditor] Load extended camp desc 'D:\Dokumente\TEST3_frames.cfgpack'
INFO:  [i_campeditor:campeditor] District dims     : 10 x 6
INFO:  [i_campeditor:campeditor] 1 Frame dims      : 20 x 6
INFO:  [i_campeditor:campeditor] Raw frames dims   : 20 x 18
INFO:  [i_campeditor:campeditor] Real raw frames   : 3
INFO:  [i_campeditor:campeditor] Real frames       : 3
INFO:  [i_campeditor:campeditor] Parse frames...
INFO:  [i_campeditor:campeditor] Try to load divisions description 'D:\Dokumente\TEST3_div_pool.cfgpack'


sysinfo.log:
...
OS version:              6.0
Physical memory:         8587890688 / 8190 Mb
Granularity:             65536 / 64 Kb
Page size:               4096 / 4 Kb
Video memory:            1342177280 / 1280 Mb
CPU cores:               8
CPU frequency:           ~2942498460 / 2942 MHz
CPU features:            SSE SSE2
SSE2 math enabled!
FPU exceptions disabled
FPU precision set to 24 bit
FPU denormals flush to zero mode is set


the OS in windows 7 ult. 64 bit.
CPU i7 875K
GPU GTX 470


Title: Re: Operation editor crashes on startup
Post by: Steinfisch on November 13, 2011, 09:41:34 AM
found 1 error:

in the file<name>_scripts.engcfg is a missing brace:

//GRAVITECH2 operation build system ver.1.0
//enable all additional scripts here
//#include "briefs\<briefing name>.engcfg"

//main settings
settings()
{
   font, handw_big;//briefing font
   //dimensions (horizontal & vertical) and area shift (m)
   //size = number of 1õ1 km squares * 1024
   //shift = ( number of 1õ1 km squares * 1024 ) / 2 - 1024
   line_scale, 10240.0, 6144.0, 0.08, -6144.0, -4096.0;
   text_scale, 10240.0, 6144.0, 20.0, -6144.0, -4096.0;
   ret;
}

   call, settings;
   //call, <briefing name>;
   break;
}


this is the initial content of the file before converting/editing.
How the right code should be?


Title: Re: Operation editor crashes on startup
Post by: andrey12345 on November 13, 2011, 05:24:58 PM
found 1 error:

in the file<name>_scripts.engcfg is a missing brace:

//GRAVITECH2 operation build system ver.1.0
//enable all additional scripts here
//#include "briefs\<briefing name>.engcfg"

//main settings
settings()
{
   font, handw_big;//briefing font
   //dimensions (horizontal & vertical) and area shift (m)
   //size = number of 1õ1 km squares * 1024
   //shift = ( number of 1õ1 km squares * 1024 ) / 2 - 1024
   line_scale, 10240.0, 6144.0, 0.08, -6144.0, -4096.0;
   text_scale, 10240.0, 6144.0, 20.0, -6144.0, -4096.0;
   ret;
}

   call, settings;
   //call, <briefing name>;
   break;
}


this is the initial content of the file before converting/editing.
How the right code should be?

Next patch fix this.
It's a troubles with localization, sorry