• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.
  • Hi Guest. We've rebooted and consolidated our Communities section, so be sure to check it out and subscribe to some threads. Thanks!

Dark Souls internal rendering resolution fix (DSfix)

Durante

Member
Oct 1, 2006
48,836
1
0
peter.metaclassofnil.com
Since I don't want to keep updating the OP with every version:

You'll always find the latest DSfix here.

-----------

Comparison images provided by Corky:

1) Default settings, 1024x720 render resolution @ 1920x1080




2) 1920x1080 render resolution @1920x1080, 1080 dof setting, no smaa




3) 6400x3600 render resolution @ 1920x1080, 1080 dof setting, ultra smaa




-----------

Version 0.5

------------

Version 0.4 including the DoF fix is now online.

------------

Version 0.3 is up.

------------

Some information for those having trouble with their framerate being locked at 15:
chiablo said:
If you have a 120Hz monitor, you might run into one of two problems:
Framerate locked at 15Hz, or resolution is locked at 720x540.

The fix is to open up the DarkSouls.ini file and manually set your fullscreen resolution and monitor's framerate there.

The .ini file is located here: C:\Users\[YourUserName]\AppData\Local\NBGI\DarkSouls\DarkSouls.ini

Some people have reported that using HDMI rather than DisplayPort also resolves the issue.


------------

Version 0.2 is up.

Fixes text, button prompts and downsampling.


------------

EDIT: Download is UP!
Blur is fixed!
God's in his heaven, all's right with the world!

unmodded:


1080p:


------------

Edit: I think some expectation management is required:
People really shouldn't order the game and expect to play the whole thing at high res just yet.

Again: No one knows yet how well (or if at all) this works for the entire game!

If you're unsure, wait a day or two for feedback!
Also:
Again, I'd really prefer to keep the discussion away from what FROM should/could have done.

1) We don't know yet if this works for the entire game
2) We don't know the circumstances of the port
3) Even if they did mess up, it doesn't help much to point and laugh

Please read this whole post before downloading anything!

As most of you may know, the Dark Souls port for PC has a fixed rendering resolution of 1024x720. I couldn't believe this when it was first rumoured, and when it turned out true I vowed to do my best to fix it.


What is it?
It's an interception d3d9.dll that you place in the same folder as the game executable. It intercepts the game's calls to the DirectX 9 API and changes them as necessary to enable a higher internal rendering resolution.


How do I use it?
Place d3d9.dll and DSfix.ini into the game's binary directory. (The place where DARKSOULS.exe is)
You can open DSfix.ini with a text editor to adjust the desired internal resolution.


Will it work?
So far, this has only been tested on my computer, on the first half hour or so of the game. I can not and will not guarantee that it will work for anyone else, or not have any adverse effect on your game/computer. Use at your own risk! If you encounter any issues that seem like they could be caused by DSfix, let me know.


Why is it still blurry?
I don't know at this point in time. It's already clear that there is a lot more detail and less aliasing using an increased framebuffer resolution -- as you would expect! -- but there is some residual blur. I'm trying to work out if this is due to my method or something inherent in the game. I will certainly continue working on this.


Will it cause performance problems?
That depends on your system configuration. Usually, performance scales rather linearly with framebuffer size, and so far this game does not seem different. My 660 maintained a locked 30 FPS throughout ~ 1/2 hour of testing in the starting area of the game at 2560x1440.


Can I donate?
If you really want to donate I won't say no, I'm not particularly rich :p.
Go to my blog post about the fix here.


Some other points
  • I did not do the entire work for this in 23 minutes. I developed an interception dll framework during this week to prepare for the job. I did the actual work to make the game render at higher res in that amount of time though -- based on the framework -- and spent a few more hours testing and adding the config file.
  • Please refrain from disrespectful remarks like "lol Japanese development". There are plenty of Japanese developers that deliver technically excellent PC games
  • Buy Dark Souls if you like hardcore action RPGs.

I'll provide the download links here soon. I just thought it would be good to have a separate thread so that the discussion in the OT can focus on the game again.
 

Backfoggen

Banned
Jul 21, 2009
12,280
0
0
And to think that I was ready to play this with a shitty res... that pic looks so much more detailed. Durante you are the mang
 

linko9

Member
Apr 28, 2011
4,501
0
0
Wow, thanks for this! Love to hear how it works for other people. I've been holding out on getting the PC port, but I might go ahead and dive in if this doesn't have any issues.
 

Yoshichan

And they made him a Lord of Cinder. Not for virtue, but for might. Such is a lord, I suppose. But here I ask. Do we have a sodding chance?
Sep 1, 2006
58,596
27
1,455
-
WOW, already?!
 

Zeliard

Member
Apr 23, 2008
34,712
0
0
35
No surprise to see this coming from the glorious "Torment is the greatest game ever" brotherhood.
 

Alextended

Banned
Jan 30, 2010
9,943
0
0
Nice, but the game looks so muddy even like this, wow. At least in your screens. Better still, obviously.
 

Dog Problems

Banned
Jan 26, 2010
13,359
0
0
Thanks again, Durante. If it's confirmed that the game can handle a constant 30FPS, even throughout Blighttown, I'll be buying it.
 

Tomat

Wanna hear a good joke? Waste your time helping me! LOL!
May 3, 2010
12,236
0
795
US
Nice, but the game looks so muddy even like this, wow. At least in your screens. Better still, obviously.
Someone needs to explain to me what the issue was with playing at the game's original resolution (serious question, no sass intended).
 

dino1980

Member
Oct 31, 2006
746
0
0
Durante: Does it work together with a FXAA injector that also has d3d9.dll like your fix? If not does it work with a SMAA injector that has a dxgi.dll file?
 

Castor Krieg

Banned
Dec 5, 2007
7,983
0
0
Warsaw
No surprise to see this coming from the glorious "Torment is the greatest game ever" brotherhood.
Obviously, a person with PS:T avatar will be the best.

23 minutes? Wow, I'm lost with words now. How about you contact From or Namco, maybe they can patch the version :D

Someone needs to explain to me what the issue was with playing at the game's original resolution (serious question, no sass intended).
Shit resolution would be STRETCHED on your screen. Imagine 720p stretched to 1080p, as that's what most of us are using. Not bad still? Now imagine that instead of your TV 3 meters away you are looking at it from 50cm. Yeah, not fun.
 

Metalmurphy

Member
Jan 17, 2007
32,672
0
0
Portugal
steamcommunity.com
Someone needs to explain to me what the issue was with playing at the game's original resolution (serious question, no sass intended).
Everything looks sharper and less aliased at higher resolutions. Specially when your sitting close to the display, which is something most people do when playing on PCs.


However that screenshot doesn't look like your typical 1920x1080p screenshot. Looks like it's upscaled.
 

Semblance

shhh Graham I'm still compiling this Radiant map
Dec 2, 2004
6,026
0
0
Good stuff, Durante. Went from a wait for sale to will buy soon.
 

Neiteio

Member
Nov 10, 2007
54,439
4
0
If this works as advertised, with no adverse effects to the computer, I may be buying Dark Souls after all! I have a GTX 560M (2GB VRAM), 8GB RAM, i7. I would want to scale to 1600x900. Should this work?
 

def sim

Member
May 31, 2007
17,810
0
0
Someone needs to explain to me what the issue was with playing at the game's original resolution (serious question, no sass intended).
It would look terrible on a monitor that's not native 1024x720. That would make it everyone's problem.
 

Tomat

Wanna hear a good joke? Waste your time helping me! LOL!
May 3, 2010
12,236
0
795
US
Everything looks sharper and less aliased at higher resolutions. Specially when your sitting close to the display, which is something most people do when playing on PCs.


However that screenshot doesn't look like your typical 1920x1080p screenshot. Looks like it's upscaled.
I'll have to look at some comparison shots then. That screenshot looks like an upscale to me as well.

Props to durante though.