DirectDraw failure (Full Version)

All Forums >> [New Releases from Matrix Games] >> Campaign Series: Middle East 1948-1985 >> Tech Support



Message


cpdeyoung -> DirectDraw failure (1/22/2018 3:30:45 PM)

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]local://upfiles/25841/B2D299F0F7D4464994DA87C1F4A65602.jpg[/image]




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

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




cpdeyoung -> RE: DirectDraw failure (1/22/2018 3:36:56 PM)

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

1967.

Chuck




berto -> RE: DirectDraw failure (1/22/2018 3:37:51 PM)


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.




  • cpdeyoung -> RE: DirectDraw failure (1/22/2018 3:40:58 PM)

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

    Chuck




    cpdeyoung -> RE: DirectDraw failure (1/22/2018 3:47:05 PM)

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

    Chuck





    berto -> RE: DirectDraw failure (1/22/2018 3:47:32 PM)


    quote:

    ORIGINAL: cpdeyoung

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

    No problem. That too qualifies as "immediately thereafter".




    cpdeyoung -> RE: DirectDraw failure (1/22/2018 3:50:00 PM)

    Sorry, here are all three you requested.

    Chuck





    Oberst_Klink -> RE: DirectDraw failure (1/22/2018 4:08:34 PM)


    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




    berto -> RE: DirectDraw failure (1/22/2018 4:20:59 PM)


    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.




  • berto -> RE: DirectDraw failure (1/22/2018 4:22:04 PM)


    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. [:)]




    cpdeyoung -> RE: DirectDraw failure (1/22/2018 4:23:14 PM)

    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




    cpdeyoung -> RE: DirectDraw failure (1/22/2018 4:25:12 PM)

    Uninstalling - reinstalling now.

    Chuck




    Oberst_Klink -> RE: DirectDraw failure (1/22/2018 4:42:48 PM)


    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

    [image]local://upfiles/28259/D0C0204EA9434BFB8B554C42DFDE3537.jpg[/image]




    cpdeyoung -> RE: DirectDraw failure (1/22/2018 5:01:19 PM)

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

    Chuck



    [image]local://upfiles/25841/A3587164B2C843A480AC2E9D6F4A41EF.jpg[/image]




    cpdeyoung -> RE: DirectDraw failure (1/22/2018 5:20:12 PM)

    Here are the properties of the file.

    Seems way too large.

    Chuck



    [image]local://upfiles/25841/3D1CD83200414425AA0195C9C9B8C32E.jpg[/image]




    berto -> RE: DirectDraw failure (1/22/2018 5:32:04 PM)


    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.




    cpdeyoung -> RE: DirectDraw failure (1/22/2018 5:37:03 PM)

    From "This PC".

    Chuck



    [image]local://upfiles/25841/FEB5CCD92AA74DAF8A8D081AFA465CD3.jpg[/image]




    Crossroads -> RE: DirectDraw failure (1/22/2018 5:43:42 PM)

    Not exactly what I'd call an underpoered system... This sounds like something for the DxDiag guys now...




    berto -> RE: DirectDraw failure (1/22/2018 6:36:51 PM)


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

    You might also try this.




    Oberst_Klink -> RE: DirectDraw failure (1/22/2018 6:52:45 PM)

    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




    cpdeyoung -> RE: DirectDraw failure (1/23/2018 3:31:04 AM)

    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




    Crossroads -> RE: DirectDraw failure (1/23/2018 7:30:10 AM)


    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.





    berto -> RE: DirectDraw failure (1/23/2018 9:28:42 AM)


    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.




  • gamer78 -> RE: DirectDraw failure (1/23/2018 8:55:48 PM)

    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.




    berto -> RE: DirectDraw failure (1/23/2018 9:19:58 PM)


    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.




  • gamer78 -> RE: DirectDraw failure (1/25/2018 3:19:02 AM)

    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. [&o]

    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




    Oberst_Klink -> RE: DirectDraw failure (1/25/2018 8:41:49 AM)


    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. [&o]

    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




    berto -> RE: DirectDraw failure (1/25/2018 8:43:53 AM)


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




    Page: [1]

    Valid CSS!




    Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
    0.65625