Devil May Cry 4 Special Edition

Devil May Cry 4 Special Edition

270 ratings
Graphical Tweaking Guide
By Shifty
This guide aims to walk you through disabling the performance heavy and (subjectively) ugly new post-processing effects that were added to the Special Edition of Devil May Cry 4, but excluded from the options menu.

The effects in question are Depth of Field, Motion Blur and God Rays / Light Shafts. Be warned that some hex editing may be required.
   
Award
Favorite
Favorited
Unfavorite
Depth of Field and Motion Blur
In order to disable Depth of Field and/or Motion Blur, you will need to modify the game executable using a hex editor. I recommend using a freeware program called HxD[mh-nexus.de].

Walkthrough
1. Navigate to the game directory, located at
<Steam Root Folder>\steamapps\common\Special Edition
2. Create a backup copy of DevilMayCry4SpecialEdition.exe, in case anything goes wrong.
3. Open DevilMayCry4SpecialEdition.exe using a hex editor.

NOTE: When modifying values using a hex editor, do not delete or backspace the value and re-type it. Drag select the section you wish to modify with the mouse, then overwrite it directly. Failure to do so may cause the executable to break.

4a. To disable Depth of Field, use the Ctrl+F search function to locate and modify the following:
  • Locate
    mbGSDOF
    and change it to
    mxGSDOF
  • Locate
    uDOFFilter
    and change it to
    xDOFFilter

4b. To disable Motion Blur, use the Ctrl+F search function to locate and modify the following:
  • Locate
    uMotionBlurFilter
    and change it to
    xMotionBlurFilter

5. Save the file, and close the program.
God Rays / Light Shafts
To disable the God Ray / Light Shaft effect, you will need to edit the game's configuration file using a text editor.

Walkthrough
1. Navigate to the game's config directory, located at
%LocalAppData%\CAPCOM\DEVILMAYCRY4SPECIALEDITION
2. Open config.ini with a text editor.
3. Locate
GodRay=ON
and change it to
GodRay=OFF
4. Save the file, and close the program.
Afterword
And that pretty much covers it! With any luck, Capcom will see fit to patch proper options in for these effects in the near future. Until then however, the community has your back!

I hope that you found this guide useful. Enjoy your newly-modded, better-performing, and (subjectively) nicer-looking DMC4SE!
Credits
The hex editing tweaks were first made possible by the efforts of Kingz, who discovered and released instructions for disabling Depth of Field here.

The initial work on disabling Motion Blur was done by Sethir, and released in this thread.

I then went on to refine the fix down to a single value modification, which was released here.
51 Comments
okay Apr 7 @ 10:51pm 
"I also couldn't find it with CTRL + F"
Because you put search direction forward instead all
Alfat - 12人目の剣士 Sep 7, 2023 @ 8:41pm 
Unfortunately, hex editing doesn't work anymore, tried this today and the only thing, that comes out is an error
Dante Deviler Oct 17, 2022 @ 4:43pm 
I did all the steps, but the game keeps going back in slow motion on the lowest settings. Is there something I’m missing or do I just have a bad pc?
SnapKick Jul 4, 2022 @ 4:06am 
If you can't find uDOFFilter, it's legit like 10 lines above mbGSDOF
I also couldn't find it with CTRL + F for some reason but my eyes saved me.
Bruhloski May 8, 2022 @ 8:20am 
Weird, I can't find the "uDOFFilter" string and trying "uDOF" like the dude 4 comments below suggested didn't return anything either. Anybody know any solutions?
Solomon Kane Apr 9, 2022 @ 5:09am 
Will this increase FPS ?
Joatt Nov 26, 2021 @ 8:31pm 
If you're getting a message saying something can't be found, even if you know you typed it in exactly right, change the "search direction" to "All". 100% fix.
Comkill117 Oct 29, 2021 @ 6:57am 
Worked perfectly, thanks a lot!
CatMann Dec 11, 2020 @ 10:33am 
If you can’t find uDOFFilter, try searching just uDOF, found it for me.