DSfix 0.8

I hope all the Optimus users enjoy this one! It required quite a bit of effort. Changes:

  • DSfix is now a Direct Input wrapper instead of a d3d9.dll wrapper. This was done to fix the Optimus issue, and it should also allow people to use other additional D3D wrappers for postprocessing effects (FXAA, SMAA, etc)
  • There is a new setting “dinput8dllWrapper” which allows you to use additional DirectInput wrappers on top of DSfix should you so desire. I don’t think many people will need this, but it’s there for those who do!
  • The way logging was handled when disabled has been improved, so you could see slightly improved performance in CPU limited situations with “logLevel 0″ (the default)

When upgrading from previous versions, make sure to first delete d3d9.dll and the old .ini!

Consider donating if you like the mod.

DSfix version 0.8 download

Please please remember to read the README.txt!

Edit: before I forget, thanks to Boris Vorontsov for putting me on the right track for how to fix this issue!

211 thoughts on “DSfix 0.8

  1. After trying this on my 1680×1050 monitor (and changing the internal resolution in the ini file), I seem to now have a letterbox. Even stranger, the letterbox won’t go away when I switch back to 0.75. I’m very confused – this never happened before. Any idea what’s going on? Thanks.

  2. will you fix the fps drop AMD/ATI card user?
    or we must wait until fix from ATI? the fps drop really bad

  3. Great work!
    thank you so much for making this game even better. If you have this on the list please consider it a bump. Is there a way to change the way the game choses its default controller?
    I have to disable all my other USB input devices before it recognise my 360 controller (wired)

    Thanks again fo the great effort

    • Ok, tried the settings about again and it give an error when trying to load the second dll several times, but after a few tries the game started up but it didn’t have the expected effect from that wrapper, maybe there’s some incompatibility between yours and the mouse fix.

      • Alright, after more tests it seems the setting only lets you load a single dll a time.

        Can you give support for chaining multiple wrappers?

        • I can’t really do that, but the other wrapper should already support chaining if it works with more than 1 .dll

          • I figured what i was doing wrong after reading your reply, i wasn’t sure how the chaining worked, so i was renaming both dlls and trying to use the ini for both, which didn’t work. And it didn’t chain on it’s own either since i had renamed both files.

            Now i renamed only the first one, set it on the ini and then it chained to the next one as it should, so the mod works with the resolution fix. \o/

  4. Thank you very much for the optimus fix, do accept my little donation for your brilliant work!

  5. My spec is : q8400 , 1gb gts 250 , 4gb

    I can run this shit on max 30 FPS with 30 % of GPU load , but then frame drop terrible since GPU load is dropped to 15% WTF.
    Please guy do you have any solutions for this??

  6. Nice great job. People please donate. This guy is fixing this shit port for free, not getting paid by Namco/From Software. So give a little loving back to this guy.

  7. First of all, my specs: Radeon HD 5670, AMD Athlon II X2 250 and 6 GB RAM.

    Wooow, this was the one. Reading NeoGaf thread i suppose ATI would be out of the whole capacity of this mod. It was already enhanced the resolution, but now the anti-aliasing really showed out. Thanks so much, Durante. Dark Souls was a great game, though with the mod it became something else entirely: Flawless. One of the best experience i’ve ever had on my gaming life. All thanks to you, man.

    Will be donating soon. With the 0.8 I’m sure I will. =)

    (sorry for my poor english, I’m from Brazil.)

  8. I have an awful computer with an integrated card and I wonder why this unoptimized port is not running smooth with a fix in which I use a higher internal resolution and therefor more resources of my computer.

    Jokes on the comments above aside, thanks for this fix and all those you have released, I’ve used each and every one of them since the start. You’re the savior of this port, the game runs smoothly and without problems. I’m pity you for having to read all these comments, especially those that are just people not reading the READme.txt and bringing known problems.

    Keep up the good work, hope FROM and BandaiNamco compensate you somehow in the future.

  9. I copy all d3d9.dll, injector.ini, SMAA.fx, SMAA.h to DarkSouls folder and rename d3d9.dll to dinputwrapper.dll. Then I modify Dsfix.ini like this:”dinput8dllWrapper dinputwrapper.dll” or “dinput8dllWrapper dinputwrapper” but the game has been crash at when i try to open. Help me

    • You’re doing it wrong. SMAA is a Direct3D9 wrapper, not DirectInput wrapper. You shouldn’t rename it. Leave d3d9.dll name as it is, there’s nothing to change here for injectSMAA to work together with DSfix 0.8.

  10. Hi Durante,

    I have a request: can you do something about the latency of the mouse and movements in game ?

    Thanks you very much for your amazing work.

  11. Is it possible to implement toggling the HUD on and off using an F-key rather than going through the menus?

  12. Maybe my specs are just bad, but all these fixes are not working for me (it’s worse…)
    My game is so slow it’s literally unplayable (it’s like if I were playing with bullet time…)
    I don’t know if it’s possible to fix that, but thanks if you can do it!

    My specs:
    Windows Vista
    AMD Phenom 9100e Quad-Core 1,80 GHz
    NVIDIA Geforce 9300 GE
    RAM: 4GO

  13. I get FPS drops from 30 to 15 more often
    there was drops with earier versions but not like this

    • That’s strange, if anything this version should perform slightly better than previous ones.

  14. Version 0.8 is much appreciated! The switch to the new wrapper means that I can now run the fix and AmBx lights together and its great!

    • I noticed a bit of lower performance, but that could just be the increased resolution ? nothing wrong with the mod itself.

      there is obviously something wrong with the particle effect system though. like when u see fires or particles fly it causes fps drops that make it unplayable. Maybe a bug or just the way the game processes the effects – not to mention lower GPU usage is problem #2…this is not my expertise, but hopefully someone will fix this soon.

  15. Thank you for your response concerning Mouse Acceleration. I hope it will happen eventually.

  16. Hiya Durante,
    Could you clarify external wrapper usage? I’m trying to use the SMAAinjector and can’t get it to work.

    • Also intro skipping doesn’t seem to work on my end, the screen just freezes for the length of time it takes the Bamco/From logo to show up and then it just shows the havok logo as usual. Might be because I’m running win8?

    • SMAAinject works OK here. You have to (a) make sure you had deleted d3d9.dll installed with older versions of the DSfix and (b) install Direct3D 9 version of SMAAinjector (and not the DX10 version which is also available on the net). External wrapper usage mentioned in ini/readme is for DirectInput wrappers and not for D3D.

      • yep, tried that along with a fresh install :(

        Kind of odd tbh, injectSMAA works on other games.

        • It could also be problem with activation key. Try using key id = 122 (VK_F11) as activator – I use it and have no porblems activating SMAA ingame. With default key binding I had been having problems SMAA not activating at all of going into an endless loop activating/deactivating every other frame (looked like “jittery flicker” on the jagged edges all over the screen). As for SMAA visual impact: IMO it is a must use thing wrt to fixing visual appearance of the texts (no more ugly looking upscale artefacts on fonts) and somewhat OK wrt to the rest parts of the game. Entire screen gets somewhat blur – as it always happen for SMAA, MLAA, FXAA and many other shader-based postprocessing algos – but the performance gains in terms of “less frequent drops to 15FPS” are essential to consider using SMAA instead of MSAA or OGSSAA (a.k.a. downsampling of internal framebuffer to the lower output resolution) on lower level hardware like GF550Ti or GF560.

  17. Excellent. It fixed my issue. Just tested it. Running a NVIDIA GeForce 555m.
    You’ll certainly be getting another donation from me.

  18. Namco-Bandai owe you a debt of gratitude with your sterling efforts! As do i,thank you good sir.

  19. i copied all files in DS directory but in game fps slow down 15 to 8 fps ???? And i can’t delete the DINPUT8.dll.Help me

    my computer :asus i5 ,nvidia 520mx, ram 4gb

  20. I am a intelHD3000 user too so could you please fix it so I could play this game with 30 fps, because I am stuck with 15fps… I will donate if you do so.

    • Your computer can’t get better than what it is. Sure, you could prob. optimize the code. But the fact is still that your hardware is too slow to run this in full speed.
      sucks :-/

  21. FIXED!! finally, i’ve been waiting for the fix to work so i can fully enjoy this game again!
    Big ups to Durante and as promised before i’ma send some donation $ your way for providing this fix :D
    $15 should be good for beer and wings
    Nvidia GT555M 1GB

    • I have kinda stupid question but what’s your exact specs becuse I tried this fix and also changed texture resolution to 1366×768 so laptop native res and games is working still slower than without fix

  22. Help i have problem with PC nvidia fps i 13 i NEED HELP for PC GPU:Nvidia 8400 GS 512 mb i play it on intel resolution720x520x NEED HELP

  23. Hi Durante, thanks a bunch for taking the time out to fix this for us optimus laptop users. Really appreciate your work in this regard. Have donated a few bucks as a token of my appreciation! Cheers!

  24. Thank you very much on behalf of an addict French of Dark Souls !
    This fix is Indispensable -_-
    I can play DS on PC now !!

    My respect

  25. I haven’t checked this log since version 0.6 and I’m just floored by all the new improvements. Saved game backups!? People (myself included) have been crying for this since Demon’s Souls! Your dedication to this project is really commendable and your donation is on its way.

  26. Wow 3 updates in one day, you’re a beast!

    Everything seems to work on my end, thank you so much. If there is one thing I could still wish for it would be aspect-ratio fix for fullscreen windowed.

    Most of all as a fellow programmer I look forward to seeing the source code if you do as you mentioned in an interview. Always been curious about this sort of hooking.

    • You might already know this, but here goes anyways. You can just rename/delete the 3 .wmv files in movWW folder and 0.6+ works flawlessly.

      • Yes but videos before and since version 0.6 they crash.
        You can’t call that flawlessly, something went wrong.

  27. Optimus user here, one of the people who previously was having issues, just installed the fix and it works great.

    You’re the guy, guy. Much thanks.

  28. Yes! Now I can use InjectSMAA. You’ve done the Dark Souls community an incredible service by updating this so often and I will donate here very soon.

  29. Well, and now this wrapper is incompatible with x360ce, which is XInput->DirectInput wrapper for gamepads. What happens is game trying to load XInput1_3.dll which in turn tries to instantiate DInput COM object which is hooked by your wrapper which re-inits D3d making the game to reinit input and re-load xinput1_3.dll and so on endlessly. :-(

    • Hmm, or, maybe, it is D3D overrider who causes problems here. Now I’ve got the same “endless reinit” behavior with x360ce xinput1_3.dll moved out of the game folder. Would investigate a bit more on it and report back then.

      • So it wasn’t x360ce, it was D3D overrider instead. Dunno why does it cause the observed behavior but for now it seems that one would have to disable vsync+triple buffering forcing for Dark Souls when using DSfix. I think a lot of people could be made a bit happier in case you’d find a minute and implement vsync+triple buffering like one being forced by D3D overrider into DSfix. It’s not that it’s something of an urgent need as 60Hz vsync isn’t a “show stopper” limit when in-game FPS limiter is locked to 30fps but having triple buffering in place would in any case be nice entirely eliminating possible cases when the game engine would have to wait up to a ~16ms on a swap presentation call.

        • Open DSfix.ini and go to – Other option- and than to
          - Dinput dll chaining -, than rename x360ce’s dinput8.dll, copy the name and paste it on the right side of “dinput8dllWrapper” . For example:

          ” dinput8dllWrapper dinput8DarkSouls.dll ”

          It works fine for me

          Sorry for the bad English

          Did anyone see Metal Gear Solid Ground Zeoes gameplay trailer, It’s something amazing, but it will never be released on PC , only for PS3 and Xbox360 though Kojima himself said that it was running on a PC with similar PS3 HW and he played it with an Xbox360 controller. My PC is crying for this Q_Q. I’m expressing my suffer everywhere

          • I saw the video and said not coming to the PC? nooooooooooo

          • Read back what other people wrote before posting suggestions in future.

            I don’t use x360ce’s dinput8.dll wrapper – which I stated specifically. It’s sufficient for my case to only stick with xinput1_3.dll thus there’s no need to chain load it (and it won’t work either) via DSfix’s dinput wrapper option. In any case original problem with “inifinite DSfix reloading” wasn’t related to x360ce – which I also posted about later in the followup. It was incompatibilities between the way D3D Overrider hooks D3D9 interfaces and how it interfers with DSfix doing the same.

  30. Durante, you are truly amazing, all your hard work and dedication to improving this game is awesome. Do you think there’s a way you can fix the issue us AMD/ATI users are getting with the game? I’d love to see an AMD/ATI fix in the future. =3

    Again thanks for all your hard work!
    ~Tris

    • Yes, I am running a i760 at 3.9Ghz with crossfired 6870′s and the frame rate drops to almost unplayable during a boss fight or when there are particle effects. Thanks for all your work!! We DO appreciate all your time!

  31. What was the Optimus issue? Is it anything to do with coop? Since I’ve been playing the game with this fix and never had any coop interaction unfortunately :( The previous versions were what caused that issue and this one fixes it? Or what is the “Optimus issue”?

    • The “Optimus issue” was that people with laptops with Nvidia Optimus hardware could not correctly use their GPUs when playing the game. The fix does not impact coop in any way (but it’s quite hard to get to work in general).

  32. ARE YOU KIDDING ME! You actually read my request and did it !!! You’re the best!
    Thank you so much!!
    XOXO Vankash

  33. I get only 10 fps while playing PTD :l

    I have AMD Radeon HD 6310 at 1.30 GHz, 6 GB RAM, AMD Dual-Core Processor E300.
    Do I get so low fps because my pc is bad, or is it something wrong with the game?

      • nah, it’s a common AMD driver problem. Most AMD users got about 15-20 fps. Hopefully a driver update will fix this.

        • u have a very weak system for modern games/graphics. i have good frames with my AMD board(890GX), cpu(955BE), & gpu(6870) 90% of the time.

  34. like 256k I have same framerate problem. I have also used Ati 5770. Core i7 2.67GHZ. Ram DDR3 – 4GB. I donot know why the game so slow from the first and never recover from it , when the game progress. Please give us some solution Durante. Then it will be great help . We will never forget your hard work….. Please give us reply quick….

  35. Nice :)

    What are the next top priority tasks? Could you include a 16:10 fix in the future?

    Thanks!

  36. Great work as always. I was just thinking, do you think it would be possible to have a notification if you get summoned/someone invades/ etc.? Often I put down my white sign and alt tab to firefox or something, I just thought it would be awesome if there was a little noise to notify a change in the game. Not expecting this next update, just wondering if you think this would be possible :)
    Thanks again

    • I think keeping this nice little mod as far away from gameplay exploits as possible would be a good thing. It’s a reasonable idea for PC users but I don’t want to get banned for using this.

      Durante is cranking these out faster than I can install them! Great work as usual.

      • Having a noise in the background when someone invades is not a gameplay exploit, lol

        if anything that’s a feature of PC Gaming

  37. Dark Souls is really enjoyable now but only ports can be better but thats fine i am already used to it.

  38. Awesome, but i dont know why, i still get slow downs to 20/15 fps.. Q6600@3.6 & Cross-fire 5770.. What’s happening to my PC? ><

    • Same here, Q6600@3.2 & HD4870, but only in front of particles, everything else smooth as silk so I don’t really bother much about it anymore.

      • Same here, runs fairly smooth with crossfire 6870′s untill there is a boss or lots of particle effects. Should I disable crossfire?

        • not your cards or system. it’s the game’s engine. slowed down on ps3 version i was just checkin out earlier in the week also.

Leave a Reply to longcuti Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">