Devil May Cry 4 Special Edition

Devil May Cry 4 Special Edition

Not enough ratings
Installing DDMK on Linux and Windows
By InfamousD
A step-by-step guide on how to install DDMK on Linux and Windows.
2
   
Award
Favorite
Favorited
Unfavorite
Required Files
DDMK[github.com]
DMC4SE.2019[github.com]

Extract both files.
Linux
The game’s root directory can be found by Right-clicking on Devil May Cry 4 Special Edition in Steam > Manage > Browse local files

<Steam-folder> refers to the Steam Library folder where the game is installed. By default this is ~/.local/share/Steam

<Steam-folder>/steamapps/compatdata can be found by navigating to the game’s root directory, going up two levels in the directory tree, then opening the folder named compatdata.

  1. Create a backup of your savegame by going to <Steam-folder>/steamapps/compatdata/329050/pfx/drive_c/users/steamuser/Documents/CAPCOM/DEVILMAYCRY4SPECIALEDITION and copying SavedGame00.DevilMayCry4SpecialEdition to another location.

  2. Create a backup of DevilMayCry4SpecialEdition.exe and steam_api.dll by going into the game’s root directory and copying both files to another location.

  3. Copy the contents of the folder named 4 into the game’s root directory.

  4. Copy the contents of the folder named Special Edition from DMC4SE.2019.zip into the game’s root directory. Choose to replace the files when asked.

  5. Open the Terminal.

  6. Copy and paste the following command into the Terminal, or skip to step 9 if you already have Protontricks installed.
    flatpak install flathub com.github.Matoking.protontricks

  7. Once the installation is complete, copy and paste the following command into the Terminal.
    echo "alias protontricks='flatpak run com.github.Matoking.protontricks'" >> ~/.bashrc

  8. Close and reopen the Terminal.

  9. Type protontricks -l to list all games. Protontricks will produce a warning message if it does not have access to Steam Library folders on other drives, along with a command containing the exact path(s) to grant access to said folder(s), e.g., flatpak override --user --filesystem=/path/to/other/Steam/Library com.github.Matoking.protontricks. Just copy and paste that command into the Terminal.

  10. Type protontricks 329050 consolas. This will install the Consolas font which DDMK uses.

  11. Launch Steam > Right-click on Devil May Cry 4 Special Edition > Properties. Copy and paste the following command under Launch Options, then close the properties window.
    WINEDLLOVERRIDES="dinput8=n,b" %command%

  12. Play Devil May Cry 4 Special Edition. You will be welcomed by the DDMK mod if the installation is successful. LEFT_CONTROL + D toggles the menu.
Windows
The game’s root directory can be found by Right-clicking on Devil May Cry 4 Special Edition in Steam > Manage > Browse local files

  1. Create a backup of your savegame by going to %USERPROFILE%\Documents\CAPCOM\DEVILMAYCRY4SPECIALEDITION\ and copying SavedGame00.DevilMayCry4SpecialEdition to another location.

  2. Create a backup of DevilMayCry4SpecialEdition.exe and steam_api.dll by going into the game’s root directory and copying both files to another location.

  3. Copy the contents of the folder named 4 into the game’s root directory.

  4. Copy the contents of the folder named Special Edition from DMC4SE.2019.zip into the game’s root directory. Choose to replace the files when asked.

  5. Play Devil May Cry 4 Special Edition. You will be welcomed by the DDMK mod if the installation is successful. LEFT_CONTROL + D toggles the menu.
Removing DDMK
  1. Linux only: Remove WINEDLLOVERRIDES="dinput8=n,b" %command% from the game’s Launch Options.

  2. Delete dinput8.dll and Kyrie.dll from the game’s root directory.

  3. Optional: Restore your backup of DevilMayCry4SpecialEdition.exe and steam_api.dll by copying them back into the game’s root directory. Choose to replace the files when asked.
Acknowledgment
DDMK was created by serpentiem[github.com]. If you enjoy using their mod, show your support by starring it on GitHub.


Hope this guide was helpful,
D
14 Comments
ArtisanDragon Feb 21 @ 4:01pm 
Thank you so much for the guide! It works!
InfamousD  [author] Feb 14 @ 6:37am 
No problem. I’m glad that you finally got it to work.

That was just the normal behavior of Consolas being installed for the first time into the new Wine prefix that was created when you did a fresh install of the game.

This may not apply to you, but another thing to note is that the MangoHud overlay can cause some games to crash on some systems. It should be the first thing that you disable when experiencing crashes in any game.
Cipo Feb 14 @ 4:31am 
first of all , sorry, it must be a bore to deal with a random guy punching his screen trying to get the mod to work, so i thank you,
things for now are working, but i'll see for how long it will
the only thing i've noticed from doing a fresh install is that from terminal, installing consolas gave
me a different command, it dint give me an error or anything , but it acted like it was reinstalling
and instead of gong "consolas already installed, skipping" it goes on for a few seconds
so I don't know what that is
InfamousD  [author] Feb 13 @ 2:33pm 
NOTE:

This was tested using Proton 8.0

You do NOT need to install 4_patches

The game's config.ini file can be found at <Steam-folder>/steamapps/compatdata/329050/pfx/drive_c/users/steamuser/AppData/Local/CAPCOM/DEVILMAYCRY4SPECIALEDITION
InfamousD  [author] Feb 13 @ 2:33pm 
You can always try installing the mod again with a fresh install of the game if your issues persist:

1. Create a backup of your savegame.

2. Uninstall Devil May Cry 4 Special Edition from Steam.

3. Go to <Steam-folder>/steamapps/common and delete the folder named "Special Edition".

4. Go to <Steam-folder>/steamapps/compatdata and delete the folder named "329050".

5. Install Devil May Cry 4 Special Edition from Steam.

6. Launch the game. Go into PC Settings and change the resolution to your native resolution, or the highest resolution available. Make sure that the game remains in windowed mode.

7. Quit the game.

8. Install the DDMK mod by following my guide.

9. Launch the game. Enable borderless fullscreen from the DDMK menu. If the game crashes, either at startup or anytime afterwards, go into the game's config.ini file and change the value of "Resolution" to the native resolution of your monitor. You should also confirm that “Fullscreen” is disabled while you’re there.
InfamousD  [author] Feb 13 @ 2:32pm 
It's been a while since I've played DMC4SE. From what I recall, fullscreen usually prevents the game from launching. In order to successfully launch the game, you would first need to disable fullscreen in the game’s config.ini file. You can use Alt + Enter at the game’s title screen to enable it once more after it has launched.

As long as the game can launch, you should go ahead and install the mod by following my guide. Once the mod has been successfully installed, you should enable borderless fullscreen in the DDMK menu.

The game tends to crash if the native resolution of your monitor is higher than 1080p. If this is the case, you will need to go into the game's config.ini file and change the value of "Resolution" to the native resolution of your monitor.
Cipo Feb 13 @ 11:52am 
the thing is, i got it to work but after a while it starts on windowed mode and makes it crash
Cipo Feb 13 @ 11:51am 
linux
InfamousD  [author] Feb 12 @ 1:36pm 
Are you on Linux or Windows?
Cipo Feb 12 @ 12:20pm 
because the game closes instantly at startup