Skip to content

Instantly share code, notes, and snippets.

@amsyarzero
Last active March 24, 2023 08:00
Show Gist options
  • Save amsyarzero/07afc970e63e35cc2e9913dcd4df9361 to your computer and use it in GitHub Desktop.
Save amsyarzero/07afc970e63e35cc2e9913dcd4df9361 to your computer and use it in GitHub Desktop.
How to install DDMK for DMC4SE on Linux

How to install DDMK for DMC4SE on Linux

Tested on

  • Pop!_OS 22.04 LTS
  • Vanilla OS 22.10

Prerequisites

  • Devil May Cry 4 Special Edition
  • Latest version of ddmk
  • xdelta3
    • Refer to your repo's instructions on installing xdelta3
  • dmc4_downgrade
  • protontricks
    • Easiest way is to use flatpak version: flatpak install protontricks
    • Make sure to set an alias if you plan to use terminal (CLI) only, it will make your job easier.

Credits

  • skau, the person who came up with this solution. I'm simply making it more understandable.
  • serpentium, developer of DDMK.

Instructions

  1. Extract the contents of ddmk_2.7.3_release.zip somewhere safe.

  2. Copy the contents of 4 from ddmk_2.7.3_release.zip into the root folder of DMC4SE.

  • To find the game's root folder, simply head into the game page in your Steam library -> Manage -> Browse Local Files
  1. Extract these files from dmc4_downgrade.zip into the root folder of DMC4SE:
  • diff_DevilMayCry4SpecialEdition
  • diff_steam_api
  1. Copy and paste DevilMayCry4SpecialEdition.exe in the same location, and rename it to something else e.g. source_DMC4SE.exe.

  2. Do the same thing with steam_api.dll (copy & paste, rename e.g. source_steam_api.dll).

  3. Open terminal and direct it to DMC4SE's root folder using cd.

  4. Run this command (using name example from step 4):

xdelta3 -f -d -s source_DMC4SE.exe diff_DevilMayCry4SpecialEdition DevilMayCry4SpecialEdition.exe
  1. Afterwards, run this command (using name example from step 5):
xdelta3 -f -d -s source_steam_api.dll diff_steam_api steam_api.dll
  1. Use protontricks to install Consolas. You can either:
  • (GUI) Select DMC4SE -> Select the default wineprefix -> Install a font -> Choose consolas, or
  • (terminal) Run this command (assuming you set an alias called protontricks):
protontricks 320950 consolas
  1. Open the game's Properties and paste this:
DXVK_ASYNC=1 WINEDLLOVERRIDES="dinput8=n,b" %command%

Contact

If you have problems/found potential improvements, feel free to contact me on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment