Data Execution Prevention Strikes Again

Posted By: Dooley

Data Execution Prevention Strikes Again - 06/13/19 23:44

I have a player who cannot run my games. We tried to change DEP settings, as this has caused problems with other users, but we were not able to, because he does not have admin privileges...

Is there any way to run Acknex games without triggering this issue, if it is set in Windows?

Is this unique to Acknex engine, or can this same problem effect other game engines? From my understanding it could effect anything, but I would love to find out if there's some kind of work-around.
Posted By: jcl

Re: Data Execution Prevention Strikes Again - 06/14/19 06:26

If you used lite-C for your game, it is probably not the DEP. Early WDL versions had indeed a problem with that, but not lite-C. It must be then something different.
Posted By: Dooley

Re: Data Execution Prevention Strikes Again - 06/14/19 06:36

I am scouring the manual and I think I may have discovered it. I was not including "d3dcompiler_42.dll" in my published folder as it suggests. Could that have caused the issue?
Posted By: jcl

Re: Data Execution Prevention Strikes Again - 06/14/19 08:08

Yes, when you use shaders.
Posted By: Dooley

Re: Data Execution Prevention Strikes Again - 06/14/19 18:35

Okay, I just realized I did not include the "d3dcompiler_42.dll" in my newest game, but I did have it in the older one, and that would not have been the cause of this problem.

I have noticed another thing. So, when my game is published it puts everything into one big folder.

However, since I had a folder structure in my work folder, I always thought it would make sense to preserve that in the published version. I would manually create the folders in the published version and put all the relevant files in there. So far it has worked with no problems, but I am wondering maybe that could be the cause of this issue?
Posted By: Dooley

Re: Data Execution Prevention Strikes Again - 06/14/19 20:15

Okay,
I have recreated the problem on my own system by turning DEP settings to "Turn on DEP for all programs and services except those I select:"

When I run my game, it says "an unhandled win32 exception has occurred in xxx.exe [6708]"

I will try to make a very small game to see if and when this problem takes place.

If you can think of any possible cause for this, please let me know.

I would love to get this fixed, as it seems to prevent a small minority of people from enjoying my games.

I should mention I am using A7 Commercial - if that is a factor let me know.
I am using all Lite-c scripts.
Posted By: Dooley

Re: Data Execution Prevention Strikes Again - 06/14/19 20:21

Just to be thorough, I am trying to run other 3DGS games with this setting.

It looks like A8 games work, while A7 games do not. I just tested a few sample games, but this could be a factor.
Posted By: Dooley

Re: Data Execution Prevention Strikes Again - 06/14/19 20:22

Looks like it's time to upgrade!
Posted By: Dooley

Re: Data Execution Prevention Strikes Again - 06/14/19 20:55

Okay, I have made a very simple "game" with a single level and one model. I published it and tried to run it, and it is getting the same win32 exception error.

So I guess this is an A7 issue.

I have put off upgrading since I did not seem to *need* to update the engine, and I thought I would save myself some extra work. But now I can see that I should update to A8. Unless there is a better solution I am not thinking of...
Posted By: Dooley

Re: Data Execution Prevention Strikes Again - 06/19/19 15:38

Just to follow up,
After installing and publishing the game with A8, it does work with DEP settings on.
It has some other issues I will have to address, but it runs smooth, and was easier to update that I expected!
© 2024 lite-C Forums