Dark Souls: Prepare to Die Edition has been out on PC for a few weeks now and although “Durante” released a mod on the first day that fixed the resolution issue that plagued the game, no one has yet been able to solve the biggest problem with the PC port: the fact that frame rate has been locked at 30 fps.
Now a certain modder by the name of “Nwks” has stepped in to take a stab at the problem. His mod is the first step to unlocking 60 fps in the game. The mod can only be played in offline mode, and the game typically crashes a lot when you try to use it, but it does work (sorta). Nwks’s notes about the mod are below:
“I’ve put together a release of the “60fps mod” here: http://www.mediafire.com/?lv71uu81tozzk8x
Please read the README. The mod will surely break everything for everyone but feel free to give some feedback.
Durante, I’ll send you the source with a description of my understandings of the engine. I can provide you a detailed description with offsets, if you are comfortable with a disassembler.
(Concerning GFWL, my version of the mod is “compatible” with online capabilities but let’s not get into that…)
Dabura667, I was like you before. Basically the game uses two independent and asynchronous threads:
- An animation engine running at a fixed delta-t (1/30fps)
It performs animation interpolation and controls the overall game speed.
- A rendering engine. It runs at 30fps w/ vsync, 15fps w/ vsync, or anywhere below 15fps wo/ vsync.
At 30fps, the rendering engine renders all frames (jobs) computed by the animation engine. Below 30fps, it simply drops one frame out of two.
“Unlocking” the rendering engine causes indeed the game to run faster, as frames computed with a delta-t of 1/30 would be displayed at a rate of 60fps, for example.
So the animation engine’s delta-t must be set accordingly to the maximum frame-rate, and then it’s only a matter of frame-rate division (only 1/1 and 1/2 are possible in the game, which is okay for 30fps but I’ll work on other rates for higer FPS).”
Kudos to you if you understood any of that. Still, feel free to download the mod here and try it for yourself. Just beware that this is an alpha release of the mod and it will probably cause your game to crash.