FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.13k stars 143 forks source link

Infantry Game Crashing #272

Closed Johninjah closed 6 months ago

Johninjah commented 6 months ago

Hey FunkeyFr3sh,

DP and Kev told me to ask you for some help. Infantry mostly crashes on me when I try to join a server. If I restart my computer and shut every windows/game/discord off, it will once in awhile let me join. I did the logs they posted for me. Let me know if there's anything I can do to hopefully fix this.

Thanks, Soup

cnc-ddraw-1.dmp cnc-ddraw-1.log

FunkyFr3sh commented 6 months ago

Yeah, that's the crash related to having too many background process running. In your case there are many dropbox.exe, chrome.exe, discord.exe and msedge.exe. It should work if you close all these apps before starting the game.

I made a fix for this crash, but it isn't used on the server yet, hopefully it can be updated with the fix soon: https://github.com/FunkyFr3sh/Infantry-patch

Johninjah commented 6 months ago

That makes sense. Should I just copy and paste all those files to my infantry folder?

FunkyFr3sh commented 6 months ago

Right now you can't use my fix properly yet, that's because the updater overwrites the changes. Only thing you can do is either closing the apps while you're playing or you let the launcher check for updates, then place the patched infantry exe into the game folder and then connect. (You'll need to do this every time because the updater will overwrite the changes)

https://github.com/FunkyFr3sh/Infantry-patch/releases/download/v1.1/infantry.exe

Johninjah commented 6 months ago

That works! Thanks a bunch. Hopefully the update eventually comes out.