Posted August 23, 2024
I started to suspect this due to a thread in the Dracula Trilogy subforums, regarding how the DEP exclusion couldn't be set unless the game's exe was renamed from game.exe to fvr_viewer.exe. This struck me as odd at the time, because it really shouldn't matter what name a game's exe has. I believe games didn't start tracking the names of their own exes until much later. However, because it worked, I didn't think much more of it.
This was, however, until I ran up against two other problems. In Cold Blood had invisible characters. I added a DEP exclusion as some had recommended, but it didn't do anything. So then I had a notion, what if there's something about how GOG installers work and/or how Windows tracks them that's interfering with DEP exclusions? Something something registry entries. Would it stand to reason then, that invalidating that registry entry by renaming the installed executable would allow the DEP exclusion to be set? And yes, indeed it does! Suddenly In Cold Blood had visible characters! By renaming engine.exe to icb.exe and adding a DEP exclusion to icb.exe, In Cold Blood was flawless. (Well, as flawless as one could reasonably expect from In Cold Blood.) The same was true with Gorky 17, where renaming gorky17.exe to gorky.exe and adding a DEP exclusion to that actually allowed it to work! This is also true for all games of the Dracula Trilogy, as I mentioned in my opening paragraph.
I feel GOG might want to investigate this, or at least provide this information to their support team, as it'll certainly help with issues down the reoad! I have mailed help@gog.com and support@gog.com with this information, so hopefully that'll happen.
TL;DR Instructions:
If you have an issue with a game, try this:
1.) Open the Launch Game Name link file, by right-clicking it and selecting properties;
2.) Note down the exe that the link launches;
3.) Find that exe and rename it to something else;
4.) Start > Run > sysdm.cpl (or right-click This PC/My Computer and click properties;
5.) Go to the Advanced tab;
6.) Click Settings from the Performance section;
7.) Click the Data Execution Prevention tab;
8.) Click Add and navigate to your renamed exe;
9.) Apply it, then close System Properties;
10.) Open the Launch Game Name link file again, and rename the exe there too;
11.) Try running the game, with luck it'll work!
This was, however, until I ran up against two other problems. In Cold Blood had invisible characters. I added a DEP exclusion as some had recommended, but it didn't do anything. So then I had a notion, what if there's something about how GOG installers work and/or how Windows tracks them that's interfering with DEP exclusions? Something something registry entries. Would it stand to reason then, that invalidating that registry entry by renaming the installed executable would allow the DEP exclusion to be set? And yes, indeed it does! Suddenly In Cold Blood had visible characters! By renaming engine.exe to icb.exe and adding a DEP exclusion to icb.exe, In Cold Blood was flawless. (Well, as flawless as one could reasonably expect from In Cold Blood.) The same was true with Gorky 17, where renaming gorky17.exe to gorky.exe and adding a DEP exclusion to that actually allowed it to work! This is also true for all games of the Dracula Trilogy, as I mentioned in my opening paragraph.
I feel GOG might want to investigate this, or at least provide this information to their support team, as it'll certainly help with issues down the reoad! I have mailed help@gog.com and support@gog.com with this information, so hopefully that'll happen.
TL;DR Instructions:
If you have an issue with a game, try this:
1.) Open the Launch Game Name link file, by right-clicking it and selecting properties;
2.) Note down the exe that the link launches;
3.) Find that exe and rename it to something else;
4.) Start > Run > sysdm.cpl (or right-click This PC/My Computer and click properties;
5.) Go to the Advanced tab;
6.) Click Settings from the Performance section;
7.) Click the Data Execution Prevention tab;
8.) Click Add and navigate to your renamed exe;
9.) Apply it, then close System Properties;
10.) Open the Launch Game Name link file again, and rename the exe there too;
11.) Try running the game, with luck it'll work!