I've figured out how to get both the Direct3D and software rendered versions of Dungeon Keeper on windows working with DxWnd, but this brings me to a new conundrum.
I'd like to make a proxy for all the windows EXEs (keeper95, keepd3d, deeper95, deepd3d) so that I have a portable solution that covers all the different ways to play. Is there a way to configure the proxy to detect multiple executables? Or rather, would there be a way to have multiple proxy configs in the same folder for each EXE?
Last edit: OpenRift 2023-04-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The D3D version of Dungeon Keeper requires the "handle exceptions" flag which in turn crashes the regular version. So you need two different configurations. I guess you could swap the needed dxwnd.dxw configuration file depending on which game you played perhaps automated with a batch file. Another option would be to put the dxwnd.exe in the game folder as I described in the other topic and use a batch file with R:1, R:2, R:3, R:4 switches for dxwnd.exe corresponding to the different configurations for the different game executables.
Last edit: dippy dipper 2023-04-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, I read the old topic from 2018 and it appears that "Limit available resources" tweak was needed back then to fix possible crash when there were a lot of units in the game. The MS Shim GlobalMemoryStatusLie would also fix the crash. I guess the Dxwnd compat tab “Limit free RAM” should be enough too.
However curiously I could not replicate this crash and the export files that come with Dxwnd apparently do not have the flags enabled either. Not sure if it only affects operating systems older than Windows 10 or if I just could not stress the game enough.
But testing here both Keeper95 and Keeper D3D versions the "handle exceptions" flag crashed Keeper95 while the D3D version crashed without the flag. Not sure if this could be again some random Win10 thing though...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've figured out how to get both the Direct3D and software rendered versions of Dungeon Keeper on windows working with DxWnd, but this brings me to a new conundrum.
I'd like to make a proxy for all the windows EXEs (keeper95, keepd3d, deeper95, deepd3d) so that I have a portable solution that covers all the different ways to play. Is there a way to configure the proxy to detect multiple executables? Or rather, would there be a way to have multiple proxy configs in the same folder for each EXE?
Last edit: OpenRift 2023-04-20
The D3D version of Dungeon Keeper requires the "handle exceptions" flag which in turn crashes the regular version. So you need two different configurations. I guess you could swap the needed dxwnd.dxw configuration file depending on which game you played perhaps automated with a batch file. Another option would be to put the dxwnd.exe in the game folder as I described in the other topic and use a batch file with R:1, R:2, R:3, R:4 switches for dxwnd.exe corresponding to the different configurations for the different game executables.
Last edit: dippy dipper 2023-04-21
I don't remember Handle Exceptions crashing the original version. I remember there was a talk about the game crashing randomly.
Yes, I read the old topic from 2018 and it appears that "Limit available resources" tweak was needed back then to fix possible crash when there were a lot of units in the game. The MS Shim GlobalMemoryStatusLie would also fix the crash. I guess the Dxwnd compat tab “Limit free RAM” should be enough too.
However curiously I could not replicate this crash and the export files that come with Dxwnd apparently do not have the flags enabled either. Not sure if it only affects operating systems older than Windows 10 or if I just could not stress the game enough.
But testing here both Keeper95 and Keeper D3D versions the "handle exceptions" flag crashed Keeper95 while the D3D version crashed without the flag. Not sure if this could be again some random Win10 thing though...