Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

DirectDraw failure

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Campaign Series: Middle East 1948-1985 >> Tech Support >> DirectDraw failure Page: [1]
Login
Message << Older Topic   Newer Topic >>
DirectDraw failure - 1/22/2018 3:30:45 PM   
cpdeyoung


Posts: 5368
Joined: 7/17/2007
From: South Carolina, USA
Status: offline
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






Attachment (1)
Post #: 1
RE: DirectDraw failure - 1/22/2018 3:34:36 PM   
Oberst_Klink

 

Posts: 4778
Joined: 2/10/2008
From: Germany
Status: offline
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.

(in reply to cpdeyoung)
Post #: 2
RE: DirectDraw failure - 1/22/2018 3:36:56 PM   
cpdeyoung


Posts: 5368
Joined: 7/17/2007
From: South Carolina, USA
Status: offline
We had a beautiful day yesterday, pure blue sky, gorgeous. Cloudy today, but warm enough, 52 degrees heading to 65, maybe.

1967.

Chuck

(in reply to Oberst_Klink)
Post #: 3
RE: DirectDraw failure - 1/22/2018 3:37:51 PM   
berto


Posts: 20708
Joined: 3/13/2002
From: metro Chicago, Illinois, USA
Status: offline

quote:

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.

    < Message edited by berto -- 1/22/2018 3:39:24 PM >


    _____________________________

    Campaign Series Legion https://cslegion.com/
    Campaign Series Lead Coder https://www.matrixgames.com/forums/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to cpdeyoung)
  • Post #: 4
    RE: DirectDraw failure - 1/22/2018 3:40:58 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    I'll try, but I believe the game quits on "Ok".

    Chuck

    (in reply to berto)
    Post #: 5
    RE: DirectDraw failure - 1/22/2018 3:47:05 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    It did quit when Ok clicked, but here is the engine.log, zipped.

    Chuck



    Attachment (1)

    (in reply to cpdeyoung)
    Post #: 6
    RE: DirectDraw failure - 1/22/2018 3:47:32 PM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

    quote:

    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/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to cpdeyoung)
    Post #: 7
    RE: DirectDraw failure - 1/22/2018 3:50:00 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    Sorry, here are all three you requested.

    Chuck



    Attachment (1)

    (in reply to cpdeyoung)
    Post #: 8
    RE: DirectDraw failure - 1/22/2018 4:08:34 PM   
    Oberst_Klink

     

    Posts: 4778
    Joined: 2/10/2008
    From: Germany
    Status: offline

    quote:

    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.

    (in reply to cpdeyoung)
    Post #: 9
    RE: DirectDraw failure - 1/22/2018 4:20:59 PM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

    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/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to cpdeyoung)
  • Post #: 10
    RE: DirectDraw failure - 1/22/2018 4:22:04 PM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

    quote:

    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/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to Oberst_Klink)
    Post #: 11
    RE: DirectDraw failure - 1/22/2018 4:23:14 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    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

    (in reply to Oberst_Klink)
    Post #: 12
    RE: DirectDraw failure - 1/22/2018 4:25:12 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    Uninstalling - reinstalling now.

    Chuck

    (in reply to cpdeyoung)
    Post #: 13
    RE: DirectDraw failure - 1/22/2018 4:42:48 PM   
    Oberst_Klink

     

    Posts: 4778
    Joined: 2/10/2008
    From: Germany
    Status: offline

    quote:

    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




    Attachment (1)

    _____________________________

    My Blog & on Twitter.
    Visit CS Legion on Twitter & Facebook for updates.

    (in reply to cpdeyoung)
    Post #: 14
    RE: DirectDraw failure - 1/22/2018 5:01:19 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    Here is the actual counter, courtesy of modern digital photography.

    Chuck






    Attachment (1)

    < Message edited by cpdeyoung -- 1/22/2018 5:16:22 PM >

    (in reply to Oberst_Klink)
    Post #: 15
    RE: DirectDraw failure - 1/22/2018 5:20:12 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    Here are the properties of the file.

    Seems way too large.

    Chuck






    Attachment (1)

    (in reply to cpdeyoung)
    Post #: 16
    RE: DirectDraw failure - 1/22/2018 5:32:04 PM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

    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/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to cpdeyoung)
    Post #: 17
    RE: DirectDraw failure - 1/22/2018 5:37:03 PM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    From "This PC".

    Chuck






    Attachment (1)

    (in reply to berto)
    Post #: 18
    RE: DirectDraw failure - 1/22/2018 5:43:42 PM   
    Crossroads


    Posts: 17372
    Joined: 7/5/2009
    Status: offline
    Not exactly what I'd call an underpoered system... This sounds like something for the DxDiag guys now...

    _____________________________


    (in reply to cpdeyoung)
    Post #: 19
    RE: DirectDraw failure - 1/22/2018 6:36:51 PM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

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

    You might also try this.

    < Message edited by berto -- 1/22/2018 6:37:13 PM >


    _____________________________

    Campaign Series Legion https://cslegion.com/
    Campaign Series Lead Coder https://www.matrixgames.com/forums/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to Crossroads)
    Post #: 20
    RE: DirectDraw failure - 1/22/2018 6:52:45 PM   
    Oberst_Klink

     

    Posts: 4778
    Joined: 2/10/2008
    From: Germany
    Status: offline
    Found this...

    As DirectPlay and Direct3D/DirectDraw features could be useful to run less recent games and other classics, here are some steps on how to activate them on Windows 10:

    https://support.ubi.com/en-GB/Faqs/000027439/Activate-DirectPlay-or-DirectDraw-Direct-3D-on-Windows-10

    https://steamcommunity.com/app/38400/discussions/0/648811670613303699/

    That's most likely related. Not sure how many other Win 10 users reported it.

    Klink, Oberst

    _____________________________

    My Blog & on Twitter.
    Visit CS Legion on Twitter & Facebook for updates.

    (in reply to berto)
    Post #: 21
    RE: DirectDraw failure - 1/23/2018 3:31:04 AM   
    cpdeyoung


    Posts: 5368
    Joined: 7/17/2007
    From: South Carolina, USA
    Status: offline
    The "-z0" option did allow the program to get by the load error, as we might have expected it would.

    I find the unit panel does not repaint consistently. I have to give it a "push" scroll to see the hex I selected.

    Chuck

    (in reply to Oberst_Klink)
    Post #: 22
    RE: DirectDraw failure - 1/23/2018 7:30:10 AM   
    Crossroads


    Posts: 17372
    Joined: 7/5/2009
    Status: offline

    quote:

    ORIGINAL: cpdeyoung

    The "-z0" option did allow the program to get by the load error, as we might have expected it would.

    I find the unit panel does not repaint consistently. I have to give it a "push" scroll to see the hex I selected.

    Chuck


    Hello cpdeyoung

    I am very sorry to hear about your issues. This all sounds a bit strange, as you certainly have the HW to run the game.

    Would you mind opening a Tech Support ticket with Matrix Games, they are far better equipped to handle issues like these, as I suppose this could be something about your graphics driver set-up perhaps. Or at least they'd be able to check if there's anything there that might have an effect here.



    _____________________________


    (in reply to cpdeyoung)
    Post #: 23
    RE: DirectDraw failure - 1/23/2018 9:28:42 AM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

    quote:

    ORIGINAL: cpdeyoung

    The "-z0" option did allow the program to get by the load error, as we might have expected it would.

    Glad that works for you at least.

    quote:

    I find the unit panel does not repaint consistently. I have to give it a "push" scroll to see the hex I selected.

    You can also try either of:

  • Display > Redraw Display, hot key Alt+D
  • Temporarily changing the zoom mode, whether by a quick mouse wheel up/down, or by any of the hot keys 1-9.

    Sorry for the graphics quirks. There is something odd about your graphics setup it seems. Yes, maybe pursue the matter with Matrix/Slitherine tech support, as they are better equipped to deal with these sorts of lower level OS and hardware issues.

    Good luck.

    _____________________________

    Campaign Series Legion https://cslegion.com/
    Campaign Series Lead Coder https://www.matrixgames.com/forums/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to cpdeyoung)
  • Post #: 24
    RE: DirectDraw failure - 1/23/2018 8:55:48 PM   
    gamer78

     

    Posts: 536
    Joined: 8/17/2011
    Status: offline
    quote:

    ORIGINAL: Oberst_Klink

    Found this...

    As DirectPlay and Direct3D/DirectDraw features could be useful to run less recent games and other classics, here are some steps on how to activate them on Windows 10:

    https://support.ubi.com/en-GB/Faqs/000027439/Activate-DirectPlay-or-DirectDraw-Direct-3D-on-Windows-10

    https://steamcommunity.com/app/38400/discussions/0/648811670613303699/

    That's most likely related. Not sure how many other Win 10 users reported it.

    Klink, Oberst


    I suspect my relatively slow scrolling -İt is much faster now when I turn off some Windows 10 services, but not smooth- are related to hardware acceleration slider not available for Win 10. I've looked at the links but couldn't find answer. It is always on and working but no slider to test the best result. Or maybe it can be related to large graphic files for regions.

    < Message edited by gamer78 -- 1/23/2018 8:58:38 PM >

    (in reply to Oberst_Klink)
    Post #: 25
    RE: DirectDraw failure - 1/23/2018 9:19:58 PM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

    For slow map scrolling, try experimenting with either/both of

  • Options > Auto Scroll
  • Options > Smooth Scroll

    especially the latter. I typically play with both toggled OFF.

    It also helps to use the Jump Map -- hot key j -- often.

    _____________________________

    Campaign Series Legion https://cslegion.com/
    Campaign Series Lead Coder https://www.matrixgames.com/forums/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to gamer78)
  • Post #: 26
    RE: DirectDraw failure - 1/25/2018 3:19:02 AM   
    gamer78

     

    Posts: 536
    Joined: 8/17/2011
    Status: offline
    Berto I've solved it finally.
    For slow Win 10 performance and not very responsive mouse, (double click didn't select units previously) this solution worked for me. Game runs very smooth now both animation and map scrolling.

    https://steamcommunity.com/app/215930/discussions/0/846956740704592766/
    1. Go to http://www.nongnu.org/wined3d/

    2. Look for:
    Full directory (with older versions, patches...): http://download.savannah.nongnu.org/releases/wined3d

    3. Than look for v1.1.38 / 24-Jun-2013 20:02
    4. Download the wined3d.exe
    5. Extract It with 7zip.
    6. Copy ddraw.dll, libwine.dll and wined3d.dll from extracted $SYSDIR folder into the root folder of your JA2 installation

    (in reply to berto)
    Post #: 27
    RE: DirectDraw failure - 1/25/2018 8:41:49 AM   
    Oberst_Klink

     

    Posts: 4778
    Joined: 2/10/2008
    From: Germany
    Status: offline

    quote:

    ORIGINAL: gamer78

    Berto I've solved it finally.
    For slow Win 10 performance and not very responsive mouse, (double click didn't select units previously) this solution worked for me. Game runs very smooth now both animation and map scrolling.

    https://steamcommunity.com/app/215930/discussions/0/846956740704592766/
    1. Go to http://www.nongnu.org/wined3d/

    2. Look for:
    Full directory (with older versions, patches...): http://download.savannah.nongnu.org/releases/wined3d

    3. Than look for v1.1.38 / 24-Jun-2013 20:02
    4. Download the wined3d.exe
    5. Extract It with 7zip.
    6. Copy ddraw.dll, libwine.dll and wined3d.dll from extracted $SYSDIR folder into the root folder of your JA2 installation

    Jolly good show! Should be included in a sticky 'Windows 10 issues'.

    Klink, Oberst

    _____________________________

    My Blog & on Twitter.
    Visit CS Legion on Twitter & Facebook for updates.

    (in reply to gamer78)
    Post #: 28
    RE: DirectDraw failure - 1/25/2018 8:43:53 AM   
    berto


    Posts: 20708
    Joined: 3/13/2002
    From: metro Chicago, Illinois, USA
    Status: offline

    Thanks for persisting, discovering a fix, and posting your findings. This will be useful info for others I'm sure.

    _____________________________

    Campaign Series Legion https://cslegion.com/
    Campaign Series Lead Coder https://www.matrixgames.com/forums/tt.asp?forumid=1515
    Panzer Campaigns, Panzer Battles, Civil War Battles Lead Coder https://wargameds.com

    (in reply to gamer78)
    Post #: 29
    Page:   [1]
    All Forums >> [New Releases from Matrix Games] >> Campaign Series: Middle East 1948-1985 >> Tech Support >> DirectDraw failure Page: [1]
    Jump to:





    New Messages No New Messages
    Hot Topic w/ New Messages Hot Topic w/o New Messages
    Locked w/ New Messages Locked w/o New Messages
     Post New Thread
     Reply to Message
     Post New Poll
     Submit Vote
     Delete My Own Post
     Delete My Own Thread
     Rate Posts


    Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

    2.703