Judge Dredd: Dredd vs Death

Judge Dredd: Dredd vs Death

78 ratings
How to enable widescreen/custom resolutions in Dredd vs Death
By RiptoR
This guide will show you how to run the game in a widescreen/custom resolution. This guide also provides links to my "Custom Res Tool" that automates the process of setting a custom resolution and enables setting a custom FOV and correct aspect ratio.
 
Rate  
Favorite
Favorited
Unfavorite
Custom Resolution Tool
To make patching in a custom resolution much easier, I decided to write a small tool that does most of the work for you.

Simply download the tool, unzip it wherever you like (I recommend the install folder of Dredd Vs Death to make things easier), and follow the instructions.

I've tested the tool thoroughly, but if you happen to experience any problems, don't hesitate to contact me in the comments. The tool is written in .Net 3.5, so you might need to install the .Net 3.5 runtime[www.microsoft.com] if needed (if you're running Windows Vista or later, the .Net 3.5 runtime should be installed already).

This tool is now also mentioned on the PCGamingWiki page for Dredd vs Death[pcgamingwiki.com] and the WSGF.org page for Dredd vs Death[www.wsgf.org] as the preferred widescreen solution!


Latest version:

Older versions can be downloaded from here[www.byeclan.be].


Version history:
  • beta 0.3: FOV/aspect ratio fixes work with the latest GOG version of the game, the custom resolution fields now automatically show the current desktop resolution for easier patching, and updated help text
  • beta 0.2.1: changed build process to eliminate false positives, and updated help text
  • beta 0.2: added FOV and aspect ratio fixes, updated hex patcher code, and some (small) improvements
  • beta 0.1: initial release


*NOTE*

* Latest version should not show up as a false positive anymore *

It has been brought to my attention that the tool gets picked up as malware by some AV products. Rest assured though, this is a false positive.

It seems that my default build process (which uses a packer to combine all external DLLs into the exe) is the cause of this. Apparently some AV products will classify anything that uses a packer as malware, just because a packer was used in the build process.

I'm gonna see if I can change the build process so this doesn't happen for future versions.


Anyway, if you don't trust this tool, you can always try the manual fix described below (custom resolution only for the moment. If you want me to update the guide with instructions on how to patch in a custom FOV and aspect ratio, let me know in the comments).
Screenshots
To show what my Custom Res Tool is able to do, I took some screenshots. While a custom resolution makes the game look better on widescreen monitors, you will see that patching the exe to force the game to use the correct aspect ratio and a custom FOV makes a huge difference.

The first screenshot shows the game running with only a custom resolution (1920x1200 in this case). Notice that there is some slight horizontal stretching due to an incorrect aspect ratio. By default the game has a 4/3 aspect ratio, so rendering in a widescreen resolution with the default aspect ratio will result in the image being stretched out horizontally.




The second screenshot shows what the game looks like with a custom resolution AND the correct aspect ratio (16:10 in this case). Notice that the stretching is gone, but we (temporarily) lose some screen space at the top and bottom.

The tool will automatically calculate the correct aspect ratio based on the custom resolution




And the last screenshot shows what the game looks like with a custom resolution, correct aspect ratio AND a custom FOV (90 in this case). No more stretching, and a much better gameplay experience on widescreen monitors thanks to the custom FOV. You may notice also we regained the lost space at the top and bottom.

Manual fix - Needed tools
To be able to force the game into using a widescreen (or custom) resolution, we'll need a couple of tools:

1. A decent hex editor, for example XVI[www.chmaas.handshake.de] (freeware)

2. A decimal-to-binary converter, for example this online one[www.binaryhexconverter.com]
Manual fix - The actual fix
Step 1: Start the game and create a profile.

Step 2: Change the ingame settings to your likings, and remember what resolution you chose. It is best to change everything you want now, because changing anything after applying the fix might revert the game back to the original non-widescreen resolution (though I haven't tested if this is really the case).

Step 3: Navigate to the install folder of the game. The easiest way to do this is rightclicking on the game in your Steam library, then chose Properties, then go to the Local files tab, and click on the Browse local files... button. This will take you straight to the folder we need.

Step 4: In the install folder, look for a file called save0.dsg. This should be in the root folder of the game (same folder of the Dredd.exe executable). MAKE A BACKUP OF THIS FILE IN CASE SOMETHING GOES WRONG!

ALSO: Make sure you chose the correct save0.dsg file size: +- 1KB), and NOT the one in the save0 folder (size: +250KB)!



Step 5: Open this file in a hex editor (see links above for good freeware hex editor).

Step 6: Now comes the tricky part. We need to change the hexadecimal representation of the resolution we chose in step 2 to the one of the resolution we want. To do this, we will need to convert the decimal representation of the resolution to a hexadecimal representation. Easiest way is to use an online decimal-to-hex converter (see links above). Don't worry, the actual conversion is quite easy and is explained below if you're interested, but for sake of convenience I've created a table with the default resolutions and their hexadecimal representations, and a table for the more common widescreen resolutions (both tables can be found below).

For example, say we chose the ingame resolution 1152x864, then we'll need to look for the hexadecimal values 80 04 and 60 03. We want to change this to 1920x1200, which translates to the hexadecimal values 80 07 and B0 04.

We'll start by looking for the first value (80 04).



The first result you get should be the value you need. You can easily check this by looking for the second value (60 03) which should be visible just after the first value.



To run the game in our wanted resolution, all we need to do is change 80 04 to 80 07, and 60 03 to B0 04.



Step 7: Now save the file, and we're done.


All that is left to do, is run the game and check if the fix worked. Keep in mind that the game will always start in 800x600, but as soon as you load your profile the game will automatically switch to the resolution we edited in.
Manual fix - Resolution tables
Default resolutions

Resolution
Hexadecimal
640x480
80 02 and E0 01
800x600
20 03 and 58 02
1024x768
00 04 and 00 03
1152x864
80 04 and 60 03
1280x960
00 05 and C0 03
1600x1200
40 06 and B0 04


Widescreen resolutions - 16:9
Resolution
Hexadecimal
1280x720
00 05 and D0 02
1600x900
40 06 and 84 03
1920x1080
80 07 and 38 04

2560x1440
00 0A and A0 05
3840x2160
00 0F and 70 08


Widescreen resolutions - 16:10

Resolution
Hexadecimal
1280x800
00 05 and 20 03
1440x900
A0 05 and 84 03
1680×1050
90 06 and 1A 04
1920x1200
80 07 and B0 04
2560x1600
00 0A and 40 06


If your wanted resolution isn't in these tables, and you can't get your head around the manual conversion process, feel free to post a comment with the resolution you want, and I'll convert it for you.
The decimal-to-hexadecimal explanation
As stated above, to be able to edit in our custom resolution we need to convert the resolution values from decimal to hexadecimal. This process is quite easy, and shouldn't take more that a minute.

For example, say we chose the ingame resolution 1152x864. Using a decimal-to-hex converter, 1152 becomes 480, and 864 becomes 360.

Hexadecimal values however are always stored in pairs of 2, so if needed we need to add a 0 at the start until we get an even number of hexadecimal characters. So 480 becomes 04 80, and 360 becomes 03 60.

The game saves these values in reverse order, so we need to change up the hexadecimal value in pairs of 2 characters. This way, 04 80 becomes 80 04 and 03 60 becomes 60 03.


So, in short: 1152 >> decimal to hex: 480 >> pad with 0's if needed: 04 80 >> reverse hex pairs: 80 04


That's it. As you can see, it's not exactly rocket science and with the right tools it is quite easy.
< >
130 Comments
RiptoR  [author] Jul 1 @ 7:58am 
Glad I could help :)
Kid Venom Jul 1 @ 6:07am 
Thanks, you patched worked perfectly! Fan made patches like this are one of the many reasons I love Steam.
kalirion Apr 16 @ 2:14pm 
How about just Printscrn? Games don't usually pay attention to that one.
RiptoR  [author] Apr 16 @ 12:29pm 
If I remember correctly, any key press will skip the cutscene, so rebinding the screenshot key in Steam won't work.

I'm not sure if it will work, but if I remember correctly you can use Cortana in Windows 10 to take voice controlled screenshots. The command is 'Hey Cortana, take a screenshot" iirc.
Tyger Apr 16 @ 7:01am 
Is there any way to take screenshots during cutscenes? Pressing F12 unfortunately acts as a skip key.
kalirion Mar 20 @ 4:09pm 
Oh, the reason that I thought vsync was only activating when I selected my profile was that I'd used RTSS to cap the framerate to 70 at the time, but the low resolution of the title screen had a native 75MHz refresh rate on my monitor. RTSS kept vsync from triggering, and when I realized that that's how I came up with the workaround...
kalirion Mar 20 @ 4:06pm 
@RiptoR, that's really strange, I wonder what's causing it on my end. Well, found a work-around anyway - using RTSS to cap the framerate at 59 keeps vsync from activating so no input lag. Good thing it's not one of those inane vsync implementations that would lower the fps to 30 in such a scenario :)

Thanks again for the great tool!
RiptoR  [author] Mar 20 @ 1:13pm 
@kalirion: just checked my installs (both Steam and GOG versions), and neither has Vsync when patched with my tool. If I want Vsync, I need to force it through my video drivers.

I'm not sure what is forcing Vsync on on your install, but I'm certain it isn't caused by my tool.
RiptoR  [author] Mar 20 @ 1:38am 
My tool only enables setting a custom resolution, FOV, and aspect ratio. It does not force VSync or anything else.

It's possible the game forces vsync on by default though. I'll check later tonight if my install has the same problem.
kalirion Mar 19 @ 9:57pm 
Hi! I just started playing the game, the custom tool works great!

One thing I noticed though is that it seems to have forced vsync and I can't figure out how to turn it off (to get rid of input lag.) When I launch the game at the low resolution profile selection there's no vsync, but as soon as I select the profile vsync turns on, framerate goes down to 60, and input lag starts.

Is the vsync implicitly forced by the tool? I even tried putting "always off" in catalyst drivers, no help.