Darkest Dungeon®

Darkest Dungeon®

View Stats:
Nerka99 Mar 5, 2015 @ 2:28am
Making game playable on win xp but leaving it unsupported
As per suggestion from mod from my diffrent topic i'm makng this one here.

I know main reason for not supporting win xp is the fact that it is OS unsupported by M$ and it's way more trouble than it's worth. But wouldn't it be better to make it playable but unsupported (as many devs do)? Simply making it work but not listing it in system req.
As per now now it's possible to use unofficial fix.
In it's maker own words it:

"How it works:

Darkest Dungeon has two compatibility issues with Windows XP. First, in its executable header, it has a subsystem version of 6.0 set; Windows XP is version 5.1, so it refuses to even try any executable with a subsystem version set to a value higher than 5.1 (this is where the "Darkest.exe is not a valid Win32 application." error message comes from). Second, it imports SHGetKnownFolderPath from shell32.dll which is a function that was added in Windows Vista.

DDXP's patch changes Darkest.exe's subsystem version from 6.0 to 5.0 and makes it use shell33.dll instead of shell32.dll. DDXP's shell33.dll implements SHGetKnownFolderPath using SHGetFolderPathW and forwards two other function calls to the real versions of them in shell32.dll.

The developers of Darkest Dungeon could make it Windows XP compatible by using SHGetFolderPathW instead of SHGetKnownFolderPath and making sure their compiler toolchain sets a subsystem version of 5 in Darkest.exe (it's fine if DLLs it depends on have a different subsystem version)."

I'm sure some folks would be quite happy if it was implemented officially by devs themselves (and i'm not suggesting using his fix but replicating it officially by devs)
Date Posted: Mar 5, 2015 @ 2:28am
Posts: 0