DirectDraw failure

Moderator: Jason Petho

User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

DirectDraw failure

Post by cpdeyoung »

I was trying my first "Generate Battle" and never got past this error.

I will generate a DirectDraw diagnostic file if you tell me how.

Thanks,

Chuck

Israel vs. Egypt
Mediterranean
Battalion
Lt Hills - vineyard



Image
Attachments
DirectDrawMessage.jpg
DirectDrawMessage.jpg (22.69 KiB) Viewed 365 times
Oberst_Klink
Posts: 4921
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: DirectDraw failure

Post by Oberst_Klink »

Chuck,

what was the year? Just out of curiosity in order to replicate it.

OT: The lizards still falling from trees (like in FL) and gators freezing in creeks (like in NC) or it got more pleasant down in SC?

Klink, Oberst
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

We had a beautiful day yesterday, pure blue sky, gorgeous. Cloudy today, but warm enough, 52 degrees heading to 65, maybe.

1967.

Chuck
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: DirectDraw failure

Post by berto »

ORIGINAL: cpdeyoung

I will generate a DirectDraw diagnostic file if you tell me how.
No, better if you

[*]Recreate this error condition.
[*]Click the OK button.
[*]Immediately thereafter (don't quit the game!) zip up: logs/engine.log file, logs/frontend.log, also logs/error.log.
[*]Post the zip'ed log files here.

The log files should tell the tale.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

I'll try, but I believe the game quits on "Ok".

Chuck
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

It did quit when Ok clicked, but here is the engine.log, zipped.

Chuck

Attachments
engine.zip
(10.55 KiB) Downloaded 7 times
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: DirectDraw failure

Post by berto »

ORIGINAL: cpdeyoung

I'll try, but I believe the game quits on "Ok".
No problem. That too qualifies as "immediately thereafter".
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

Sorry, here are all three you requested.

Chuck

Attachments
error.zip
(16.97 KiB) Downloaded 12 times
Oberst_Klink
Posts: 4921
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: DirectDraw failure

Post by Oberst_Klink »

ORIGINAL: cpdeyoung

Sorry, here are all three you requested.

Chuck

Chuck

OT: Who's that 'Roundhead' (English Civil War) counter of yours? Ya's like 'Pete' Longstreet, Dutch origin, eh?

Anyway mate... From what I (and I am not a dev) can see from the error logs, the install might have been corrupted. From my own experience, I also would install it on a second partition, or if you really want to install it on your C-drive, dump it into e.g. C:\CSME, not the C:\Program Files (x86)... Since Windows 7 was 'introduced' there seem to be 'issues'. Just my 2p.

Klink, Oberst
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: DirectDraw failure

Post by berto »


Your engine.log has this:

...
2018-01-22 11:42:33 meengine.exe: [DEBUG ID 0] (misc.cpp, line 3560, GameFile()) in GameFile(), file is C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\Slopes4d.bmp
2018-01-22 11:42:33 meengine.exe: [INFO ID 1] C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\Slopes4d.bmp loaded
2018-01-22 11:42:33 meengine.exe: [DEBUG ID 0] (misc.cpp, line 3560, GameFile()) in GameFile(), file is C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\Slopes5d.bmp
2018-01-22 11:42:33 meengine.exe: [INFO ID 1] C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\Slopes5d.bmp loaded
2018-01-22 11:42:33 meengine.exe: [DEBUG ID 0] (misc.cpp, line 3560, GameFile()) in GameFile(), file is C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\SlopesNight0d.bmp
2018-01-22 11:42:33 meengine.exe: [ERROR ID 100] (BitmapDD.cpp, line 32, XCBitmapDD::XCBitmapDD()) in XCBitmapDD::XCBitmapDD(), C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\SlopesNight0d.bmp is corrupted, else is not a bitmap, else does not exist
[nothing follows]

Also, we see this in your error.log:

2018-01-22 11:14:44 Middle East.exe: [ERROR ID 1030] (Fetch.cpp, line 421, FetchForcesDat()) expected 2 assignments, but 1 fields were assigned: -1

2018-01-22 11:15:05 meengine.exe: [ERROR ID 100] (BitmapDD.cpp, line 32, XCBitmapDD::XCBitmapDD()) in XCBitmapDD::XCBitmapDD(), C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\SlopesNight0d.bmp is corrupted, else is not a bitmap, else does not exist
2018-01-22 11:22:27 Middle East.exe: [ERROR ID 1030] (Fetch.cpp, line 421, FetchForcesDat()) expected 2 assignments, but 1 fields were assigned: -1

2018-01-22 11:22:38 meengine.exe: [ERROR ID 100] (BitmapDD.cpp, line 32, XCBitmapDD::XCBitmapDD()) in XCBitmapDD::XCBitmapDD(), C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\SlopesNight0d.bmp is corrupted, else is not a bitmap, else does not exist
2018-01-22 11:42:13 Middle East.exe: [ERROR ID 1030] (Fetch.cpp, line 421, FetchForcesDat()) expected 2 assignments, but 1 fields were assigned: -1

2018-01-22 11:42:33 meengine.exe: [ERROR ID 100] (BitmapDD.cpp, line 32, XCBitmapDD::XCBitmapDD()) in XCBitmapDD::XCBitmapDD(), C:\Program Files (x86)\Matrix Games\Campaign Series Middle East\graphics\map\3D\SlopesNight0d.bmp is corrupted, else is not a bitmap, else does not exist

It seems there is something about your graphics\map\3D\SlopesNight0d.bmp that the game engine doesn't like.

[*]Is the file not there?
[*]Is it somehow corrupted?
[*]Did the install process apply ownership/permissions such that the file is unreadable?
[*]Is the problem something else?

Note that, according to your engine.log, you had successfully loaded other files up to that point. The game is choking on that one file (and possibly other files later on in the load sequence).

It is possible that you have a corrupted install. Would you please consider reinstalling? You would need to uninstall your current setup first. Use the Control Panel Uninstall a program facility for that purpose.

From your engine.log etc., we can also see that you are installing the game into C:\Program Files (x86). Consider reinstalling into C:\Games\...

Other people have reported problems with anti-virus software. Consider shutting down your AV during the reinstall process.

Maybe a reinstall won't do the trick. Maybe there is something else going on here. But a (uninstall then) reinstall is the recommended next step.

Good luck.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: DirectDraw failure

Post by berto »

ORIGINAL: Oberst_Klink

Anyway mate... From what I (and I am not a dev) can see from the error logs, the install might have been corrupted. From my own experience, I also would install it on a second partition, or if you really want to install it on your C-drive, dump it into e.g. C:\CSME, not the C:\Program Files (x86)... Since Windows 7 was 'introduced' there seem to be 'issues'. Just my 2p.
Another case of: Great Minds Think Alike. [:)]
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

Well, I am an "old war-horse", true enough. I would be proud to be compared to Longstreet indeed. Yes - Dutch : "de Jong" when my ancestors arrived.

I play tested "Squad Leader : Cross of Iron" for Avalon Hill, and they gave me a counter. As I remember I am a French leader.

Chuck
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

Uninstalling - reinstalling now.

Chuck
Oberst_Klink
Posts: 4921
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: DirectDraw failure

Post by Oberst_Klink »

ORIGINAL: cpdeyoung

Well, I am an "old war-horse", true enough. I would be proud to be compared to Longstreet indeed. Yes - Dutch : "de Jong" when my ancestors arrived.

I play tested "Squad Leader : Cross of Iron" for Avalon Hill, and they gave me a counter. As I remember I am a French leader.

Chuck
Ah, now I can see the helmet is the 'Adrian Helmet'... But the 'bandoleer' and the sword/staff thingie made me think it's kinda like a dismounted Roundhead Dragoon!

Klink, Oberst

Image
Attachments
45a89170b6..36d53a09.jpg
45a89170b6..36d53a09.jpg (84.38 KiB) Viewed 365 times
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

Here is the actual counter, courtesy of modern digital photography.

Chuck



Image
Attachments
IMG_0294.jpg
IMG_0294.jpg (319.66 KiB) Viewed 365 times
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

Here are the properties of the file.

Seems way too large.

Chuck



Image
Attachments
SlopesNightProps.jpg
SlopesNightProps.jpg (89.07 KiB) Viewed 365 times
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: DirectDraw failure

Post by berto »


No, actually that looks quite right.

What are your system specs?

Under powered systems will not have sufficient graphics memory to load all of the game BMPs. (On my Linux netbook, for instance, where I run CSME via the Linux Wine Windows emulator.) If that describes your situation, I have a work-around.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
User avatar
cpdeyoung
Posts: 5380
Joined: Tue Jul 17, 2007 3:26 pm
Location: South Carolina, USA

RE: DirectDraw failure

Post by cpdeyoung »

From "This PC".

Chuck



Image
Attachments
SystemSpecs.jpg
SystemSpecs.jpg (106.03 KiB) Viewed 365 times
User avatar
Crossroads
Posts: 18526
Joined: Sun Jul 05, 2009 8:57 am

RE: DirectDraw failure

Post by Crossroads »

Not exactly what I'd call an underpoered system... This sounds like something for the DxDiag guys now...
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.10.20 Available Now (Dec 03, 2025)
CS: Middle East 1948-1985 < v3.10.20 Available Now (Dec 03, 2025)
User avatar
berto
Posts: 21461
Joined: Wed Mar 13, 2002 1:15 am
Location: metro Chicago, Illinois, USA
Contact:

RE: DirectDraw failure

Post by berto »


Check your log files. Is it still choking on that one file? Or a different one?

You might also try this.
Campaign Series Legion https://cslegion.com/
Campaign Series Lead Coder https://www.matrixgames.com/forums/view ... hp?f=10167
Panzer Campaigns, Panzer Battles Lead Coder https://wargameds.com
Post Reply

Return to “Tech Support”