Page 2 of 3

RE: failure to create primary surface

Posted: Thu Jan 08, 2015 5:02 pm
by Crossroads
No I don't think that's it, I gave it a thought at the time actually. Something's missing as far as game engine's considered, and if a reinstall don't cut it I am out of ideas at the moment [:(]

RE: failure to create primary surface

Posted: Thu Jan 08, 2015 8:11 pm
by berto

carl11, please do the following:

[*]Verify that infobox.bmp exists, in the same folder as the game programs (the .exe files).
[*]Delete all .log files.
[*]Retry launching the game. If it fails, where it fails, please quote here the error box message in full.
[*]Again provide the last dozen or so lines (only) of engine.log file, also the error.log file in full, if any. No need for any other .log files.

Maybe also upload and attach your infobox.bmp file, if you/we can figure out how to get the forum to accept it.

RE: failure to create primary surface

Posted: Fri Jan 09, 2015 3:42 pm
by carll11
ORIGINAL: berto


carl11, please do the following:

[*]Verify that infobox.bmp exists, in the same folder as the game programs (the .exe files).
[*]Delete all .log files.
[*]Retry launching the game. If it fails, where it fails, please quote here the error box message in full.
[*]Again provide the last dozen or so lines (only) of engine.log file, also the error.log file in full, if any. No need for any other .log files.

Maybe also upload and attach your infobox.bmp file, if you/we can figure out how to get the forum to accept it.


Thx Berto, I will at my earliest opportunity, hopefully by Monday as my laptops have traded places, the non behaving one is at work[;)]

RE: failure to create primary surface

Posted: Fri Jan 09, 2015 4:01 pm
by carll11
ORIGINAL: berto


carl11, please do the following:

[*]Verify that infobox.bmp exists, in the same folder as the game programs (the .exe files).
[*]Delete all .log files.
[*]Retry launching the game. If it fails, where it fails, please quote here the error box message in full.
[*]Again provide the last dozen or so lines (only) of engine.log file, also the error.log file in full, if any. No need for any other .log files.

Maybe also upload and attach your infobox.bmp file, if you/we can figure out how to get the forum to accept it.



First thank you for taking the time!!
And, since you’re taking the time I just made some…

OK here we go;

Yes, infobox.bmp file(s) exist for all 3 camps. EF, WF RS…

Error at launch- ‘failure to create primary surface’
here ya go ..


engine.log

2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\Unpaved2d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\Unpaved1d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\Fords3d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\Fords4d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\Fords5d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\ShallowEdge2d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\ShallowEdge1d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\ShallowEdge3d.bmp loaded
2015-01-09 10:46:56 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\ShallowEdge4d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\ShallowEdge5d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\icons1d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\icons3d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\icons4d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\icons5d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\StackHighlights2D.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\StackHighlights1D.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\BaseHighlights3D.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\BaseHighlights4D.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\BaseHighlights5D.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\smoke3d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\smoke4d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\smoke5d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\gwreck3d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\gwreck4d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\gwreck5d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\running3d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\running13d.bmp loaded
2015-01-09 10:46:57 ef.exe: [INFO ID 1] D:\Trajans Market\Home Old gaming Comp\Matrix East-West\East Front\paratrooper.bmp loaded



Tried starting it via West Front
Error.log

2015-01-09 10:55:33 west front.exe: [ERROR ID 300] (CampaignFile.cpp, line 616, GetDateValue()) in TT_Med_01.scn(), bad date value: August 1943




The info box bmp, when I open it seems ok, can’t figure out how to get it to you here, the boxes are 'hollow' in that they have all of the graphics except actual units.

RE: failure to create primary surface

Posted: Fri Jan 09, 2015 4:20 pm
by berto

Copy-and-paste infobox.bmp into some temporary folder, anywhere away from the game folder. In a Windows Command Prompt window, rename the file as infobox.txt (using, um, the 'rename' command). Then upload and post here.

It sure looks like something is wrong with your infobox.bmp file. Else your graphics system doesn't like that file for some reason.

RE: failure to create primary surface

Posted: Fri Jan 09, 2015 4:53 pm
by carll11
I'm sorry how do you mean rename? from the cmd window?

RE: failure to create primary surface

Posted: Fri Jan 09, 2015 5:01 pm
by carll11
wait, I think I got it[&:]


nope, I saved it as a wordpad txt doc. 'file is to large'....

RE: failure to create primary surface

Posted: Fri Jan 09, 2015 5:17 pm
by berto

The command would be, I believe:

> rename infobox.bmp infobox.txt

If the forum complains "file too large" for upload, zip it first, then rename the .zip file as a .txt file.

RE: failure to create primary surface

Posted: Tue Jan 13, 2015 1:06 pm
by carll11
ORIGINAL: berto


The command would be, I believe:

> rename infobox.bmp infobox.txt

If the forum complains "file too large" for upload, zip it first, then rename the .zip file as a .txt file.



sorry Berto,life intervened.... I am attaching the zipped infobox txt file thx!!

oops, no dice, says 'file not supported'...its a plain jane text>zipped file like 30 kbs, this is infuriating....

RE: failure to create primary surface

Posted: Tue Jan 13, 2015 1:22 pm
by Crossroads
Yep, you need to rename the *.zip extension into *.txt then you can attach it here.

RE: failure to create primary surface

Posted: Fri Jan 23, 2015 3:48 pm
by carll11
ok I just 'renamed it' with a .txt ext. ..



uhmmm, nope.


thats not working, how do I properly rename a zip , as a txt? just adding '.txt' on the end is not working...

RE: failure to create primary surface

Posted: Fri Jan 23, 2015 6:33 pm
by Warhorse
Weird, I always just right click on the zip in Windows Explorer, hit rename, then .text(removing.zip). It will whine at you about file maybe not working or something, hit ok.

RE: failure to create primary surface

Posted: Mon Feb 09, 2015 4:44 pm
by carll11
Ok, so back to give it another go, renamed txt....it kep recognizing it as a zip, so I converted the bmp to a gif, and here it is....

RE: failure to create primary surface

Posted: Mon Feb 23, 2015 5:52 pm
by carll11
so the attachment says its been DLed 4 times, I will aSSume that no on has any suggestions and it looks fine?


*shrugs* it is what it is, wanted to say Thx to all of you who took the time though, I appreciate it.


RE: failure to create primary surface

Posted: Mon Feb 23, 2015 9:20 pm
by Warhorse
It has been a little while, I guess still no luck? I read somewhere, that a primary surface may already have been drawn, so another can't, until the particular program has been closed? However, I assume that you have many times rebooted and tried, so no program has done anything before trying JTCS? I'm going to assume you also have the latest directx installed as well?

RE: failure to create primary surface

Posted: Tue Feb 24, 2015 11:04 am
by carll11
ORIGINAL: Warhorse

It has been a little while, I guess still no luck? I read somewhere, that a primary surface may already have been drawn, so another can't, until the particular program has been closed? However, I assume that you have many times rebooted and tried, so no program has done anything before trying JTCS? I'm going to assume you also have the latest directx installed as well?


Oh yea, I DLed the latest drivers for my chipset, DX etc etc....so, that being said, after seeing your message in my Box this morning, I figured what the hell?

I am here at work with that laptop, hooked up my external drive,started the game and ...it NOW works...how and why?


I cannot say for sure; HOWEVER unrelated to this, I was working on another issue.

My cpu was was running hard, looking at my resource monitor WmiPrvSE.exe was the culprit, after doing some reading, I decided to stop the process via Services.....the cpu usage dropped off, and this is the first time I tried running the game since.........[:D]

Computers eh? watcha gonna do [8D]

RE: failure to create primary surface

Posted: Tue Feb 24, 2015 10:05 pm
by Warhorse
Awesome!![:D]

RE: failure to create primary surface

Posted: Wed Feb 25, 2015 5:51 pm
by carll11
thx!!!! Being Lucky is sometimes better than being good[:D]

RE: failure to create primary surface

Posted: Wed Feb 25, 2015 7:08 pm
by Warhorse
True that!![:D]

RE: failure to create primary surface

Posted: Sun Mar 08, 2015 9:15 am
by Big Ivan
Got a new bitmap failure here.

In EFII for the United States, unit P10504 P47 Ground attack air unit.

Got the attached error in a random design scenario I was play testing against the A/I.