Durante
I'm taking it FROM here
(08-23-2012, 09:00 PM)

Durante's Avatar
Dark Souls internal rendering resolution fix (DSfix) #1

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:
Originally Posted by chiablo:
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:
Originally Posted by Durante: View Post
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:
Originally Posted by Durante: View Post
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

Quote:
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.
Last edited by Durante; 09-06-2012 at 02:21 AM.
Dennis
Member
(08-23-2012, 09:01 PM)

Dennis's Avatar
#2

You the man


dino1980
Member
(08-23-2012, 09:01 PM)

dino1980's Avatar
#3

Thanks thanks thanks! You are the man! :D
LiK
Member
(08-23-2012, 09:01 PM)

LiK's Avatar
#4

hell yes

Hoo-doo
Member
(08-23-2012, 09:01 PM)

Hoo-doo's Avatar
#5

You sir are a gentleman and a scholar.
stabwound
Junior Member
(08-23-2012, 09:01 PM)

stabwound's Avatar
#6

You're a genius.
Backfoggen
Member
(08-23-2012, 09:01 PM)

Backfoggen's Avatar
#7

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
Last edited by Backfoggen; 08-23-2012 at 09:06 PM.
djplaeskool
Member
(08-23-2012, 09:01 PM)

djplaeskool's Avatar
#9

PC community to the rescue.
linko9
Member
(08-23-2012, 09:02 PM)

linko9's Avatar
#10

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.
friedeggs
Member
(08-23-2012, 09:02 PM)

friedeggs's Avatar
#11

Okie doke
Boogybro
Member
(08-23-2012, 09:02 PM)

Boogybro's Avatar
#12

That was fast.

Good show old chap.
Yoshichan
Rage Apologist
(08-23-2012, 09:02 PM)

Yoshichan's Avatar
#13

WOW, already?!
Tailzo
Member
(08-23-2012, 09:02 PM)

Tailzo's Avatar
#14

Wow, impressive. You're a real fan :)
chiablo
Member
(08-23-2012, 09:02 PM)

chiablo's Avatar
#15

This bears repeating:

Vigilance
Member
(08-23-2012, 09:02 PM)

Vigilance's Avatar
#16

Job well done mate!
CambriaRising
Junior Member
(08-23-2012, 09:03 PM)

CambriaRising's Avatar
#17

Thank you Based Durante. Praise the sun.

Your move, Namco.
EasyMode
Member
(08-23-2012, 09:03 PM)

EasyMode's Avatar
#18

AwwwYeah.jpg
LabouredSubterfuge
Member
(08-23-2012, 09:03 PM)

LabouredSubterfuge's Avatar
#19

<3 Durante
Raptomex
Member
(08-23-2012, 09:03 PM)

Raptomex's Avatar
#20

Subscribed. And thank you.
dallow_bg
nods at old men
(08-23-2012, 09:03 PM)

dallow_bg's Avatar
#21

I was thinking "Someone out there has to be able to mod this and make it render correctly..."

Never expected Gaf's own.

Thank you man.
Metalmurphy
(08-23-2012, 09:03 PM)

Metalmurphy's Avatar
#22

Why does the game still have that upscale blur btw? Pic still looks kinda rough.
Rygar 8 Bit
Jaguar 64-bit
(08-23-2012, 09:03 PM)

Rygar 8 Bit's Avatar
#23

Originally Posted by Metalmurphy: View Post
Wait... the game is out already?
for some people it is GFWL is fucking awful and are releasing the game by time zone so you dont get to play until its midnight in your timezone
FuKuy
Member
(08-23-2012, 09:04 PM)

FuKuy's Avatar
#24

We need comparison shots.
Zeliard
Member
(08-23-2012, 09:04 PM)

Zeliard's Avatar
#25

No surprise to see this coming from the glorious "Torment is the greatest game ever" brotherhood.
Felix Lighter
Member
(08-23-2012, 09:04 PM)

Felix Lighter's Avatar
#26

Thank you!

Hopefully, I can force AA on top of this.
Capell
Junior Member
(08-23-2012, 09:04 PM)

Capell's Avatar
#27

Thanks a lot!
Alextended
Banned
(08-23-2012, 09:04 PM)

Alextended's Avatar
#28

Nice, but the game looks so muddy even like this, wow. At least in your screens. Better still, obviously.
Wario64
Member
(08-23-2012, 09:04 PM)

Wario64's Avatar
#29

Originally Posted by chiablo: View Post
This bears repeating:


lol
felipepl
Member
(08-23-2012, 09:04 PM)

felipepl's Avatar
#30

Thanks for making me spend more money this month.
Dog Problems
Member
(08-23-2012, 09:04 PM)

Dog Problems's Avatar
#31

Thanks again, Durante. If it's confirmed that the game can handle a constant 30FPS, even throughout Blighttown, I'll be buying it.
Einbroch
Member
(08-23-2012, 09:04 PM)

Einbroch's Avatar
#32

Great job, but holy crap this is pathetic. From/Namco, are you really even trying?
Reiko
Banned
(08-23-2012, 09:04 PM)
#33

Rule: Never Force an internal framebuffer on PC Gamers. It WILL be broken.
darkressurection
Member
(08-23-2012, 09:04 PM)

darkressurection's Avatar
#34

This single-handedly made me interested in buying this again. Already played a bit on PS3 so I am happy that it will now actually take advantage of my PC :D
Revolutionary
Member
(08-23-2012, 09:05 PM)

Revolutionary's Avatar
#35

We love you, Durante!
MichaelEM3
Member
(08-23-2012, 09:05 PM)

MichaelEM3's Avatar
#36

Praise the Durante!
Lime
Member
(08-23-2012, 09:05 PM)

Lime's Avatar
#37

Now I might actually buy the damn game.
darkpaladinmfc
Member
(08-23-2012, 09:05 PM)

darkpaladinmfc's Avatar
#38

Any word on the feasibility of unlocking the frame-rate?
Tomat
Member
(08-23-2012, 09:05 PM)

Tomat's Avatar
#39

Originally Posted by Alextended: View Post
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).
Boogybro
Member
(08-23-2012, 09:06 PM)

Boogybro's Avatar
#40

So let's get some screenshots already.
dino1980
Member
(08-23-2012, 09:06 PM)

dino1980's Avatar
#41

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
(08-23-2012, 09:06 PM)
#42

Originally Posted by Zeliard: View Post
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

Originally Posted by Tomat: View Post
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
(08-23-2012, 09:06 PM)

Metalmurphy's Avatar
#43

Originally Posted by Tomat: View Post
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
(08-23-2012, 09:07 PM)

Semblance's Avatar
#44

Good stuff, Durante. Went from a wait for sale to will buy soon.
Daante
Member
(08-23-2012, 09:07 PM)

Daante's Avatar
#45

i came gif
Neiteio
Member
(08-23-2012, 09:08 PM)

Neiteio's Avatar
#46

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?
friedeggs
Member
(08-23-2012, 09:08 PM)

friedeggs's Avatar
#47

Originally Posted by Tomat: View Post
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.
Blizzard
Member
(08-23-2012, 09:08 PM)

Blizzard's Avatar
#48

Good work -- are you planning to release the DLL source code?
Tomat
Member
(08-23-2012, 09:08 PM)

Tomat's Avatar
#49

Originally Posted by Metalmurphy: View Post
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.
Sn4ke_911
If I ever post something in Japanese which I don't understand, please BAN me.
(08-23-2012, 09:08 PM)

Sn4ke_911's Avatar
#50

dat Durante.