DSfix 2.2

As promised, I fixed the other problems introduced by the recent Dark Souls patch. In addition to that, I added a new, more accurate (but also slower) ambient occlusion (AO) option based on a shader contributed by Asmodean. Also, screenshots are now stored as PNG, which greatly reduces the space required to e.g store silly 4k resolution screenshots.

Full changelist:

  • Updated AA, SSAO and HUD-less screenshot functionality to be compatible with latest Dark Souls version
  • Screenshots are now stored as PNG
  • Reduced number of state changes with AA and SSAO enabled
  • Added “VSSAO2″ advanced AO option (based on a configuration contributed by Asmodean)

You can download DSfix22 here.
And if you want to, you can donate here – though I should mention that I’m not sure whether there will be a lot of additional DSfix development in the future at this point.

Furthermore, I’d like to address a few things that have come up:

  • The source code for the latest version of DSfix is always available at github
  • If you still have issues unlocking the frame rate, make sure that:
    1. You are running a DSfix version which matches your game version (e.g. DSfix 2.1 and 2.2 only work with the latest Steam version of DS)
    2. You have tried disabling windows Data Execution Prevention for Dark Souls
  • I am not the author of DSMfix, so I can’t help you with making it compatible with the latest Dark Souls version, sorry.
  • If you use the FPS unlock, you need to use some other method to achieve Vsync. Options include your graphics card’s control panel, D3DOverrider, or simply running Dark Souls in borderless windowed fullscreen mode using DSfix.

Oh, and thanks to those who wished me good luck in the comments a week or so ago! I’m now a PhD! :D

DSfix 2.1

This is a quick patch to fix compatibility with the latest version of Dark Souls released 2 days ago.

Changes:

  • Made FPS unlocking compatible with the updated version of Dark Souls released 2 days ago (thanks boowoo90 for providing the updated addresses)
  • Added a configurable pause key (built for taking nice action screenshots. Don’t try to use online. May break stuff horribly)
  • Changed frame rate calculation to perhaps prevent rare 59 FPS issue when playing for a long time

Points 2 and 3 are things I implemented months ago, but which were not yet released.

Note: some graphical features (I noticed at least SSAO) are still affected/broken by the patch. I’ll release a followup later, but I didn’t want to delay the major fix for people who want to play now.

Download DSfix21

I’m hosting this directly on my blog again, in the hope that there are no longer that many people interested in downloading it so that bandwidth isn’t an issue. I think it’s more convenient for everyone than some download site. Oh, and you can of course still donate.

I’m aware of the Dark Souls situation

Yes, I know Dark Souls has been patched, and that this broke the FPS unlocking feature of DSfix. You can stop emailing me, adding comments on the blog or contacting me through other venues now ;)

I’m currently quite busy (until the middle of next week where I have an important exam – maybe the final exam of my life), and since the FPS unlocking part of the mod is contributed by Nwks it’s not something I can immediately or easily fix.

Until a fix happens, you have two options:

  • Disable the FPS unlock. From early reports it appears like the other parts of the mod still work.
  • Revert to the original (pre-patch) files. Some people uploaded these and you should be able to find them, I don’t want to provide a direct link since I’m quite sure that’s not entirely legal.

Let me know in the comments if anything other than the FPS unlock feature is broken and I’ll have a look. Sorry that I can’t give you any better news (for now).

 

 

DSfix 2.0.1

With 2.0 yesterday I introduced an issue with the HUD modifications. I fixed it now. That’s all that has changed.

People are also reporting some stability problems and physics issues since the patch, but I’m not sure those are related to DSfix. On the bright side, it seems like in addition to fixing the stereo downmix, the patch also somewhat reduced the CPU load of the game.

As always, consider donating if you like the mod.

Get DSfix 2.0.1 here.

Edit: Mediafire decided to take the file down for some reason, here is a mirror.

You can also always get DSfix at the Dark Souls Nexus.

DSfix 2.0

Dark Souls was updated today, fixing the audio downmixing bug that had been present since launch (and maybe more?). Unfortunately, it also broke some features of DSfix, most significantly the FPS unlocking.

Well, with a lot of help from Clément Barnier, here is version 2.0 of DSfix which resolves these issues and adds a small new feature.

Changes:

  • Updated the framerate unlock feature to work with the patched version of the game (Nwks)
  • Updated post-processing AA to work with the patched version of the game
  • Fixed an issue where hudless screenshots would sometimes not correctly capture some effects
  • Added “presentWidth” and “presentHeight” to the .ini for full control over (windowed) downsampling. For example, if you want to downsample from 2560×1440 to 1080p, you would use renderWidth 2560, renderHeight 1440, presentWidth 1920 and presentHeight 1080. If none of that makes sense to you just leave these values at 0 ;)

I hope this allows you to enjoy Dark Souls in its full glory again. Happy holidays!

As always, consider donating if you like the mod.

Get DSfix 2.0 here.

It’s 4 am here now so if I messed up anything in this release it will have to wait until tomorrow.

DSfix 1.9

I got the first external code patch for DSfix this week! I hope it’s a sign of more to come.

Changes:

  • Added 2 new ambient occlusion algorithms: HBAO and SCAO. However, the existing VSSAO is still the best option in terms of visuals/performance.
  • Added a scale option for ambient occlusion on lower-end systems. Also useful if you want to downscale from a high resolution but not compute the SSAO at that resolution. This option works for all AO algorithms.
  • Disabled hotkeys when Dark Souls is not active. Previously, you could e.g. toggle the frame rate limit or take screenshots inadvertently when DS was not the active window.
  • Reinstated the texture filtering option with slightly better implementation.
  • Small bug fixes in frame rate limits calculation.
  • Rework WindowManager::resize to center the window along with resizing, and call on startup. Also fix small style issue with the borderless fullscreen toggle (wT)

The AO changes are rather big, the rest are small things that people have been asking for or that I wanted to do for a while.

As always, consider donating if you like the mod.

Get DSfix 1.9 at the Dark Souls nexus.
(alternative download location)

DSFix 1.8

It has been quite a while — I’ve been very busy at work for the past 3 weeks. I also haven’t had time to check/approve blog comments, so now there are 3700 in the moderation queue, and I’m sure at least 98% of those are spam. Sorry if you got stuck there!

Changes:

  • Added an FXAA option in addition to SMAA. FXAA is blurrier, but also deals with sub-pixel aliasing better because of that. It’s also very slightly cheaper in terms of performance.
  • Added the ability to bind a key to toggle a 30 FPS limit for a short time. By default it’s bound to backspace. This is useful to fix issues with the FPS unlock, see below.
  • Greatly improved depth usage in the SSAO shader. This means that the SSAO effect is now more stable at different distances from objects.

As always, consider donating if you like the mod.

Get DSfix 1.8 at the Dark Souls nexus.
(alternative download location)

In other news, I believe that all the possible issues with the FPS unlock are now known, and there is a way to deal with most of them as of version 1.8:

  • Sliding down ladders can make you fall through the ground. Workaround: don’t slide down ladders with unlocked FPS.
  • Jumping/rolling distance is slightly reduced at 60 FPS. Workaround: in case you need to do one of the 2 or 3 jumps in the game that need maximum distance, use the new toggle key to toggle a 30 FPS limit for the jump, then toggle back to 60 after it.
  • Slope interactions are slightly different at 60 FPS compared to 30, which may make you “stuck” at small obstructions from time to time. Workaround: rolling if there is space, walking back and forth a bit if there is not. Toggling the 30 FPS lock for a second in the worst case.

I have been playing for 40 hours or so with unlocked framerate, in single-player, coop and pvp, and I had no other issues.

In conclusion, I hope everyone had a nice couple of weeks and backed Project Eternity!

DSfix 1.7

And one more for the road.

Changes:

  • Re-implemented the FPS limiter. It’s quite exact now and also performed at a better point in time (before presenting the frame)
  • Made frame period calculation (for animation) slightly more exact
  • Added FPS thresholding for SMAA. What this means is that you can supply a value – say 45 FPS – and if the game is in danger of dropping below that, SMAA will be disabled. It will be re-enabled once the framerate is safely above the threshold again.

As always, consider donating if you like the mod.

Get DSfix 1.7 at the Dark Souls nexus.
(alternative download location)

DSfix 1.5

It’s been a while, but I just released a new version of DSfix!

Bugfixes:

  • Fixed an issue with SSAO being rendered on top of particle effects/fog/water, instead of below them.
  • Improved the method used to determine when in the render pipeline to apply SMAA/SSAO, and also included more robust renderstate management. (This may fix the random display corruption issue people have been sporadically reporting ever since SMAA was included)
  • Tweaked the SSAO parameters a bit

New features:

  • As many modders requested, you can now load .dds texture overrides in addition to .png
  • It is now possible to set the desired target FPS of the game in the .ini, thanks to Nwks (Clément Barnier)! (This is fully integrated and also works correctly together with the intro skip feature)

Regarding the FPS override feature, please carefully read the notes in the .ini
This is the most invasive feature of DSfix, and thus carries the highest risk.

I am well aware that there are still many issues remaining with the minimal HuD, and since it seems like no one is fixing them I will get back to it at some point.

As for the performance requirements of 60 FPS, personally (after disabling all power management options for my GPU and CPU) I can mostly maintain 60 FPS at 1080p, 810 DoF with DoF blur 1, SMAA 4 and SSAO 2. This is on an i7 920 at 3.6 GHz and a 660ti.

As always, consider donating if you like the mod.

Get DSfix 1.5 at the Dark Souls nexus.