The lights are on
Peter "Durante" Thoman did what FromSoftware wouldn't.
Leading up to the release of Dark Souls: Prepare to Die Edition for PC, many expected a bare-bones port after comments made from the developer indicated not much effort was going into it. Players later discovered the PC version had a fixed rendering resolution of 1024x720, but was unlocked on the day of its release thanks to Thoman's mod (which can be accessed through his blog).
Dark Souls now looks prettier than ever.
Thoman is currently working toward a PhD in computer science at the University of Innsbruck in Austria. He's not much of a modder, and hadn't attempted anything like the Dark Souls patch before. He has created tools for improving games and contributed to some open source projects, however.
I spoke to Thoman about his experience creating the mod and the reaction from fans so far. He also wanted to remind people to read the Readme.txt included with the fix. He says he gets around 30 "error" reports a day by various channels that are about issues covered in that file.
How long did it take you to create the mod from start to release?
I posted something about 23 minutes in the first rush of excitement, and the Internet of course ran with it. It's true in a sense, but there's more to it. When the resolution lock was confirmed about a week before the release, I started thinking about and researching what exactly would be involved to fix it. I spent around six hours or so setting up a program that would allow me to keep track of all the Direct3D calls made by some game, and manipulate them as desired. I tested this on The Witcher 2 to get a feeling for how a game's rendering actions are reflected in the log files produced by my tool.
When the game was released, I launched it and immediately tracked a short period – just a few seconds – of rendering with the tool. Then I analyzed the (massive) log file that was generated and searched for the most likely candidates for the primary rendering surface. After 23 minutes and about as many testing cycles a first version of the override was working and I produced a screenshot. However, while the rendering resolution was adjusted, it was still very blurry due to additional scaling and suffered from numerous issues.
Five or six hours later I had something that I deemed release-worthy – the blur was fixed, and users could set their desired resolution in an .ini file – and that became version 0.1.In the simplest possible terms, how does the mod work? Why wasn't FromSoftware able to do something similar themselves?
Most Windows games use Microsoft's DirectX interface to render their graphics, and they access that interface through a dynamic-link library (DLL). My fix replaces that library with its own version that provides all the same operations as the original. Most such operations are simply forwarded to the "real" system DLL – which in turn communicates with the graphics driver – but a select few are manipulated to e.g. provide a larger rendering surface than the one actually requested. Then you have to keep track of that surface, and when the game uses it again other parameters (like the viewport projection matrix or scissor rectangle) have to be adjusted to match the changed resolution.
As for the second part of your question, I am absolutely certain that FromSoftware would be able to do this by themselves. I can only speculate on why they did not, and the most likely reason I can come up with is that they wanted to (or were forced to) minimize the required testing/QA time for the port.Has Namco-Bandai contacted you about the mod?
No.About how many downloads have you seen since your released the mod?Around 150,000 so far. That's with all five versions combined. The amount of traffic on my domain during the first weekend was more than all of the two years before it. Some people suggested putting up ads on my blog or the download links, but since I always complain about advertising I decided to put my money where my mouth is and kept it ad-free.
I'm wondering about the amount of donations you received. Can you give some context?
It certainly was more than I expected on the first day, but – just like game sales often do – it has slowed down extremely quickly after that (which I did expect). On the fourth day after the release I received 25€ in donations, which is much less than on the first and second days. Overall so far, roughly 0.15% of the people who downloaded the fix have donated.
Seeing which countries the donations come from is really interesting to me. Many are from central and western Europe, as you would expect from a PC game, but there are also quite a few from Russia. North America is well represented of course, and there seem to be a surprising number of Dark Souls fans in Australia. I even got one donation from Indonesia!
Oh, and before I forget it, thanks a lot to everyone who donated! It's really appreciated, and it helps motivate me to continue improving the mod as the coding gradually moves from "novel fun" to "work."Your mod is directly responsible for some people deciding to buy the PC version of Dark Souls. How do you feel about the reaction so far?
As a huge fan of FromSoftware since Demon's Souls, and a proponent of the PC as a gaming platform, it would make me happy if the game sells well. I hope it motivates Namco Bandai and other publishers to invest just a little bit more into future PC versions of their games.How much longer will you continue to update the Dark Souls PC mod?
I still have a huge list of things I want to do. And an even larger one of user requests. I'm not sure if all of them are feasible, but I think I'm set for a few weeks. I plan to make everything public as an open source project at some point in the future, so that other people can contribute and maybe use it as a base for modifications to other games. Currently, if you try to search for code examples in this particular area, almost everything you find is related to cheating. What's next for you?
I have reserved one of the 100 early DIY prototype kits of the Oculus Rift, so I'm really looking forward to playing with and coding for that come November.
From Software needs to hire this guy.
The pictures posted on the web don't do the mod any justice. I'm surprised on how sharp the graphics look with the mod running 1920x1080. I just made it through Blightown with out any FPS issues and also killed the cats in Darkroot garden with no FPS drops. Which both of those places on the consoles choked really bad. I can't wait to see what graphical additions will be added later. I really hope to see some AA support and better distant views.
/sigh when is the new content coming for ps3?!?
Making the best game this gen even better!
This guy wins the day.
Thanks for the Article Jim! Can I just say that hearing about this fix will most likely lead me to finally purchasing this game!
I'm very appreciative that this guy went out of his way to make a fix for this game before it even released and shared it with everyone.
I'm still having issues getting this mod to work for me, it affects the resolution properly, but something about the fix causes the displayed image to crunch into about 1/4 of my screen, and the rest black. I'm waiting until a later iteration of this or when more information is out for people that have had similar issues.
Thanks again to Durante, and good interviewing Jim Reilly.
Great! I love when a community member stands out and helps the rest.
I already played the living crap out of DS on the 360, and I would buy it again on PC, but guess it's going to be some other time. I'll be sure to donate to this guy when the time comes.
It's sad that From Software didn't deliver a better port, but then, we don't know what circumstances surrounded the work. Did namco/bandai just want to do a quick and dirty port to cash in on more money? From Software doesn't strike me as being lazy, but perhaps this fell by the wayside or perhaps there would have been an update later on that fixed the issue. Maybe they thought that a direct port would be enough? Who knows what the real reason was. From Software could tell us, but they;ll likely keep mum on the subject. I think i will be getting this game, but not play it until i install Durante's mod. And throw him a couple of dollars while i'm at it. He did put in the work From Software obviously didn't, after all and he deserves some compensation..
Way to go man. Good on ya. Love this game!!
This port is a disgrace to Namco-Bandai, a real blemish on their face. I'm not sure how the developers looked at this game and thought that it was ready. All those who say stuff like "well at least we actually got it," you are the reason that make it ok for developers to do this. If customers make a united outcry against injustices like this then we wouldn't have to suffer through it.
I'm sorry, I loved Dark Souls and I've played the crap out of this port after downloading the patch, but this is utter BS. Namco-Bandai should feel the need to rectify this immediately. Some of the bugs are inexcusable, especially the fact that the mouse isn't even screenlocked, making the game literally unplayable without a controller.
I don't understand how a big company didn't have time to do this while one gamer can change the experience of many. Good on you bud!
Yeah that Rift thing did pretty well on Kickstarter.