Devil May Cry 5 · handler “DMCV Co-op Mod”
Version 3
Release notes
typos fixed
- Released
- Size
- 2.1 MB
- Downloads
- 12
- Check
- Verified
- SHA-256
- feccf0bbbb04b04319847c115c9a52138a85927071cc4e640c93a5d8b6370853
Files 3
| Path | Size |
|---|---|
| DevilMayCry5/Devil May Cry 5 Vergil Ultrawide Fix.exe | 30 KB |
| DevilMayCry5/dinput8.dll | 6.4 MB |
| handler.js | 7.4 KB |
handler.js
Plain textHub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Wed Nov 02 2022 02:46:44 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "aqgvFgGTb7Cs92qT5";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
var answers1 = ["No", "REFR", "VUWF"];
Game.AddOption(
"Letterboxing/Pillarboxing fix?",
"Removes the black bars in split-screen. In the RE Framework menu that will show click on graphics and enable the aspect ratio fix, you can also change the FOV. You need to add custom resolutions and select them in-game first like the handler notes mention. Use the alternative vergil ultra wide fix if the hud in horizontal instances is outside the screen, when the fix window opens click start to patch the .exe then click ok and launch the game instance via the Nucleus Co-op prompt.",
"Patch",
answers1
);
Game.ExecutableContext = ["amd_ags_x64.dll"];
Game.DirSymlinkExclusions = ["Collab Trainer\\Injectors"];
Game.FileSymlinkExclusions = ["steam_appid.txt", "local_save.txt", "dinput8.dll", "xinput1_3.dll", "SmartSteamLoader_x64.exe", "SmartSteamEmu64.dll", "SmartSteamEmu.ini"];
Game.FileSymlinkCopyInstead = [
"steam_api64.dll",
"amd_ags_x64.dll",
"dmc5config.ini",
"re_chunk_000.pak.patch_001.pak",
"re_chunk_000.pak.patch_002.pak",
"re_chunk_000.pak.patch_003.pak",
"re_chunk_000.pak.patch_004.pak",
"re_chunk_000.pak.patch_006.pak",
"sssiyan.dll",
"REFramework.dll"
];
Game.NeedsSteamEmulation = true;
Game.SSEAdditionalLines = [
"DLC|1432643=Devil May Cry 5 - Vergil EX Provocation",
"DLC|1432642=Devil May Cry 5 - Super Vergil Unlock",
"DLC|1432641=Devil May Cry 5 - Vergil Battle Track 4-Pack",
"DLC|1432640=Devil May Cry 5 - Playable Character: Vergil",
"DLC|941965=Devil May Cry 5 - Monkey Business",
"DLC|941964=Devil May Cry 5 - V & Vergil Alt Colors",
"DLC|941963=Devil May Cry 5 - Taunt Trio",
"DLC|941962=Devil May Cry 5 - Super Character 3-Pack",
"DLC|941961=Devil May Cry 5 - Cavaliere R",
"DLC|941960=Devil May Cry 5 - Mega Buster",
"DLC|941959=Devil May Cry 5 - Sweet Surrender",
"DLC|941958=Devil May Cry 5 - Pasta Breaker",
"DLC|941957=Devil May Cry 5 - Gerbera GP01",
"DLC|941956=Devil May Cry 5 - DMC4 Battle Track 3-Pack",
"DLC|941955=Devil May Cry 5 - DMC3 Battle Track 3-Pack",
"DLC|941954=Devil May Cry 5 - DMC2 Battle Track 3-Pack",
"DLC|941953=Devil May Cry 5 - DMC1 Battle Track 3-Pack",
"DLC|941952=Devil May Cry 5 - Live Action Cutscenes",
"DLC|941951=Devil May Cry 5 - Alt Title Calls",
"DLC|941950=Devil May Cry 5 - Alt Style Rank Announcers",
"DLC|940501=Devil May Cry 5 - Alt Heroine Colors",
"DLC|940500=Devil May Cry 5 - Alt Hero Colors"
];
Game.GameName = "Devil May Cry 5";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = false;
Game.ExecutableName = "DevilMayCry5.exe";
Game.SteamID = "601150";
Game.GUID = "Devil May Cry 5";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Devil May Cry 5";
Game.HookFocus = true;
Game.ResetWindows = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.SupportsKeyboard = false;
Game.Hook.CustomDllEnabled = false;
Game.UserProfileSavePath = "AppData\\Roaming\\SmartSteamEmu";
Game.UserProfileSavePathNoCopy = true;
Game.Description =
"IMPORTANT: This requires the Co-op trainer v135 by Dante and Raz0r: https://www.nexusmods.com/devilmaycry5/mods/353?tab=files . To make the Co-op trainer work with Nucleus run the trainer first then launch your legit game from Steam to activate the trainer (wait at least 1 minute after the game opens), close your main game after the trainer activates then launch this handler and the trainer should activate again with the Nucleus game instances, in the trainer tick on coop/divergence and focus an instance by clicking on it or alt-tabbing to it and select a mission/bloody palace, difficulty and character, do and select the same for all instances and they should connect, if the Co-op mod activated correctly in the instances you should see a character selection screen before starting a mission and a connecting to network message when a level is loading, get past the tutorial first, make sure all instances have the game network setting and friend priority enabled. When all instances are in-game, pause and then unpause simultaneously or one by one to connect to each other, if this doesn't work restart from the checkpoint for all instances. On first Nucleus run set the resolution in the game options that matches the window size in all instances, to avoid stretching in split-screen you need to create custom resolutions in your AMD/Nvidia/Intel panel (For example for a 1920x1080 monitor add: 960x1080, 960x540, 1920x540 etc.) so the game can see and use them. Use Ctrl+T to minimize the instances if you need to use the trainer mid game. Reduce graphics settings per instance to improve performance. Make sure you are using the DMC5 vanilla Steam game files as some mods could cause issues.";
Game.PromptBetweenInstances = true;
Game.PauseBetweenProcessGrab = 12;
Game.PauseBetweenStarts = 30;
//Game.KillProcessesOnClose = ["DMCVTrainer"];
Game.Play = function() {
var videoconfig = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\dmc5config.ini");
Context.ModifySaveFile(videoconfig, videoconfig, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("RenderConfig", "FullScreenMode", "false"),
new Nucleus.IniSaveInfo("RenderConfig", "WindowMode", "Normal") //Borderless
]);
var patch = Context.Options["Patch"];
if (patch == "REFR") {
if (System.IO.File.Exists(Context.OrigRootFolder + "\\Collab Trainer\\Injectors\\sssiyan.dll")) {
System.IO.File.Copy(System.IO.Path.Combine(Context.RootInstallFolder, "dinput8.dll"), System.IO.Path.Combine(Context.RootFolder, "dinput8.dll"), true);
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Collab Trainer\\Injectors\\REFramework.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "dinput8.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
} else {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\dinput8.dll");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "dinput8.dll");
System.IO.File.Copy(savePkgOrigin, savePath, true);
}
}
if (patch == "VUWF") {
Game.KillProcessesOnClose = ["Devil May Cry 5 Vergil Ultrawide Fix"];
Game.PromptBetweenInstances = false;
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Devil May Cry 5 Vergil Ultrawide Fix.exe");
var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "Devil May Cry 5 Vergil Ultrawide Fix.exe");
System.IO.File.Copy(savePkgOrigin, savePath, true);
Context.RunAdditionalFiles(
["all|" + Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Devil May Cry 5 Vergil Ultrawide Fix.exe"],
false,
"" + Context.Nickname + " click OK here to launch the instance only after you applied the fix, in the fix window first click start then ok.",
0,
false,
false,
true,
false
);
}
if (patch == "No") {
}
};