Jump to content

Noteworthy Crash Fix


=SCoRPioN=

Recommended Posts

I have done some research and have figured out how to

STOP ALL MY DCS CRASHES!

All of you having problems are in luck!

 

Those DCS stopped responding or has caused an error and needs to close!

Sometimes it crashes constantly when refreshing multiplayer servers.

Needs a reboot, and even then still doesnt work consistently.

Other times when just joined a server and choosing an aircraft, and crash!

Or fly for an hour and crash! :(

 

So, here are the 2 main fixes! Enjoy! No More Crashes!

This will also speed it up! And other games too! :)

 

First fix for 32-bit only, let the program use more RAM:

 

For Win Vista/7 simply Copy/Paste or Type Exactly into CMD:

bcdedit /set increaseuserva 3072

And Reboot.

 

For Windows XP 32-bit, use these instructions:

http://www.digitalcombatsimulator.com/en/faq/Win32

 

 

Second fix, has to do with DEP, just dont worry what it does, it's magic! :)

Copy/Paste or Type Exactly into CMD:

bcdedit.exe /set {current} nx AlwaysOff

Reboot.

 

This turns off DEP for all programs and lets DCS freely use your system, so to say, it's awesome and it works!

To REVERT IT and STOP the fix, type this and reboot

 

bcdedit.exe /set {current} nx AlwaysOn

bcdedit.exe /set {current} nx OptIn

Not a single crash since I did this myself on Win7 32.

I just cant use my MS SideWinder Precision Pro with USB and only Gameport and only in 32bit and these commands have saved me!

 

NO MORE CRASHES!

Let me know if this worked for you or not.

My guess is that it will! :)

  • Like 1

My first computer and my ED collection:

[sIGPIC][/sIGPIC]

I won FC1 in the original Lock On Tournament in 2005:

http://forums.eagle.ru/showthread.php?t=8805

Link to comment
Share on other sites

  • ED Team

DEP can also be disabled only for specific executables:

 

https://help.ea.com/article/dep-settings-for-sims-3-on-vista-and-windows-7

 

For DCS add these 2 exe files to DEP Exception List:

INSTALL_DIR\bin\DCS.exe

INSTALL_DIR\bin\Launcher.exe

Dmitry S. Baikov @ Eagle Dynamics

LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.

Link to comment
Share on other sites

  • ED Team
;1772503']It does not work for DCS.exe DEP off, try it.

Did not work for me, it said error, has to be enabled for DCS.exe

Have to disable for all.

 

Seems like for some executables this advice helps:

Right click on the File and go to the Compatibility Tab and change the compatibility mode to Windows XP (Service Pack 3) for 'All Users'.

But that's may be too much of a hackery.

 

 

EDIT: the most complete but complex solution I've found: http://answers.microsoft.com/en-us/windows/forum/windows_other-gaming/data-execution-prevention-has-ended-half-life-2/1c0df1ed-a1a0-4e72-9cc1-02392983d747


Edited by c0ff

Dmitry S. Baikov @ Eagle Dynamics

LockOn FC2 Soundtrack Remastered out NOW everywhere - https://band.link/LockOnFC2.

Link to comment
Share on other sites

I think people would have more trust if you explain what DEP is.

With " just dont worry what it does, it's magic!" nobody will give it a try.

Link to comment
Share on other sites

Win XP/Vista/7 64=bit use only Fix #2

Copy/Paste or Type Exactly into CMD:

bcdedit.exe /set {current} nx AlwaysOff

Reboot.

 

DEP http://en.wikipedia.org/wiki/Data_Execution_Prevention

 

This seriously works, also for games like GTA.

 

Also do this:

 

1. DELETE ALL FILES IN THESE LOCATIONS CTRL A SHIFT DEL KEY:

Location 1: C:\Users\[userName]\Saved Games\DCS\Logs\

Location 2: WinKey+R Run: %temp%

2. RUN REPAIR DCS WORLD from the START ALL PROGRAMS MENU.

 

If the program is complete and these fixes are done, try to make it crash!

Please report here if helped or not.

My first computer and my ED collection:

[sIGPIC][/sIGPIC]

I won FC1 in the original Lock On Tournament in 2005:

http://forums.eagle.ru/showthread.php?t=8805

Link to comment
Share on other sites

well done

 

thnx scorpion!

 

been wanting to turn off that damn DEP for a while now

 

like you i found it could not be turned off for executables? WTF?

 

i am one of your 32bit brothers, so much appreciation!

prefetch

 

[sIGPIC][/sIGPIC]

 

i7 7700K, Win-8.1(wufuc), DCSW OB, FC3, CA, PG-map, Syria-map, Normandy-map, WWII-assetspack, Bf 109 K-4, MiG-21bis, MiG-19P, Mi-8MTV2, BS2,

Link to comment
Share on other sites

Be aware, blindly turning off DEP can expose your machine to being compromised via any number of drive-by exploits. DEP serves a useful purpose, it's not just put there to annoy you.

 

Secondly, increasing UserVA may have unintended consequences, particularly if you have a lot of RAM but are forced to use a 32-bit O/S. Go and read about system page table entries (PTE's). Running out of system PTE's will cause blue screens. This problem gets a LOT worse when you adjust the userva setting.

Link to comment
Share on other sites

wasnt the 32-bit fix posted by mustang a looooooooooooong time ago.

 

 

And didnt I suggest disabling AV Real Time Protection and DEP for DCS and it's folders a few major updates back?

Only to get a bunch of people telling me I didnt know what I was doing, blahdy blahdy blahdy. and sending me negative rep for bad advice..

 

Glad some people listened and learned.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

wasnt the 32-bit fix posted by mustang a looooooooooooong time ago.

 

It must be in at least a dozen member's sigs, too.

 

EDIT: ...and the DCS Warthog FAQ.

 

Q: I have a 32-bit OS and I am having problems running the game. What should I do?

A: If you use Win 7 \ Vista 32-bit, please read this: http://forums.eagle.ru/showpost.php?...20&postcount=8

A: If you use XP 32-bit OS, please use the /3GB Switch. Direction are here: http://forums.eagle.ru/showpost.php?...9&postcount=38

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Link to comment
Share on other sites

wasnt trying to call out the OP, just sayin', that fix/adjustment has been around for a while.

 

and to add,

 

I disable UAC and DEP, as they both block alot of programs I use from the XP Era from installing or running.

 

As long as you be smart about where you go on the internet and what you install you should be fine, I survived 12+ (ongoing still) years on XP with no UAC or DEP of any kind, so I dont need it on Windows 7.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

wasnt trying to call out the OP, just sayin', that fix/adjustment has been around for a while.

 

Agreed. No offense to the OP intended.

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Link to comment
Share on other sites

wasnt the 32-bit fix posted by mustang a looooooooooooong time ago.

 

 

And didnt I suggest disabling AV Real Time Protection and DEP for DCS and it's folders a few major updates back?

Only to get a bunch of people telling me I didnt know what I was doing, blahdy blahdy blahdy. and sending me negative rep for bad advice..

 

Glad some people listened and learned.

 

 

Well, seems like disabling DEP only for DCS is a no go, since MS have decided to pseudo implement exceptions. Using my awesome Google skills I've found out that if you want to be 100% sure DEP is off you need to disable it all together.

 

We're gonna try this tonight, on a custom made mission we had LOTS of crashes in a few days ago. I'll be back with reports tomorrow.

i7 8700K | GTX 1080 Ti | 32GB RAM | 500GB M.2 SSD | TIR5 w/ Trackclip Pro | TM Hotas Warthog | Saitek Pro Flight Rudder

 

[sigpic]http://www.132virtualwing.org[/sigpic]

 

Link to comment
Share on other sites

i know i disabled it in XP day one 2001, so.

 

you can leave it on, turn it on for programs except or turn it off all the way.

 

I just turn it off 100% and leave it off.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

i know i disabled it in XP day one 2001, so.

 

you can leave it on, turn it on for programs except or turn it off all the way.

 

I just turn it off 100% and leave it off.

 

So, have you had any crashes lately?

i7 8700K | GTX 1080 Ti | 32GB RAM | 500GB M.2 SSD | TIR5 w/ Trackclip Pro | TM Hotas Warthog | Saitek Pro Flight Rudder

 

[sigpic]http://www.132virtualwing.org[/sigpic]

 

Link to comment
Share on other sites

Oh, don't get me wrong, not saying that disabling DEP and messing with userva won't help. Just saying that there may be unintended (and pretty big) consequences, so be aware of it.

 

Matter of fact, setting userva will probably help with DCS since it's pretty RAM hungry. But be careful if you have a lot of RAM, and if you start seeing weird blue screens you're probably running out of system PTE's.

Link to comment
Share on other sites

 

And didnt I suggest disabling AV Real Time Protection and DEP for DCS and it's folders a few major updates back?

Only to get a bunch of people telling me I didnt know what I was doing, blahdy blahdy blahdy. and sending me negative rep for bad advice..

 

 

Sadly, that does happen (I see it a lot in real life) and yeah, it is nice when they adopt what was said... sad when they claim it as their own though.

 

 

 

Turning off the DEP only masks a problem with the software (which kicked it in) though

 

iEdit

nvm


Edited by Wolf Rider

City Hall is easier to fight, than a boys' club - an observation :P

"Resort is had to ridicule only when reason is against us." - Jefferson

"Give a group of potheads a bunch of weed and nothing to smoke out of, and they'll quickly turn into engineers... its simply amazing."

EVGA X99 FTW, EVGA GTX980Ti FTW, i7 5930K, 16Gb Corsair Dominator 2666Hz, Windows 7 Ultimate 64Bit, Intel 520 SSD x 2, Samsung PX2370 monitor and all the other toys

-

"I am a leaf on the wind, watch how I soar"

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...