The PC version of Dark Souls now has a mod that runs the game at 60 frames-per-second (FPS) thanks to a modder who made his fix public today.
Players of the PC version of Dark Souls had complained that FromSoftware's port of the game from the Xbox 360 and PlayStation 3 to PC was locked at 30 FPS. In response to this, modder 'Nwks' released a frame-limiter for the Dark Souls: Prepare to Die Edition for PC.
DSOGaming posted notes that 'Nwks' provided on his mod explaining how he managed to get the game to run at 60 FPS:
"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)."
The mod is only in its alpha stage and currently works with the game's single-player offline mode only. It can be downloaded here.