Graviteam
March 28, 2024, 12:22:43 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Operation editor crashes at startup  (Read 4096 times)
0 Members and 1 Guest are viewing this topic.
Steinfisch
Oberleutnant
**
Posts: 9


« 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
« Last Edit: November 13, 2011, 12:23:27 PM by Steinfisch » Logged
Steinfisch
Oberleutnant
**
Posts: 9


« Reply #1 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?
Logged
andrey12345
Graviteam
Generalfeldmarschall
******
Posts: 6642


Jerk developer


« Reply #2 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
Logged

Пользовательский интерфейс будет неуместен на сегодняшних широкоэкранных экранах, а оригинальные карты неопределенного метра и моделирование чисел с низкими лицами заставляют людей действительно не хотеть играть.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!