Skip to content
Beta: this is a preview of the new SplitScreen.Me. Data may be reset before launch.

Divinity: Dragon Commander · handler “DivinityDragonCommander”

Version 1

Release notes

First Release

Released
Size
1.2 KB
Downloads
102
Check
Verified
SHA-256
2cf8689c4158be38ed631b4c393d7876166abac824b00a2a4afb329a00bc56ed
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.5 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Wed Mar 25 2020 02:35:13 GMT+0000 (UTC).
Hub.Handler.Id = "8Ei7tuiJexvTkr3CD";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Shipping"];
Game.FileSymlinkExclusions = ["steam_appid.txt"];
Game.ExecutableContext = ["CoreLib.dll", "binkw32.dll"];
Game.GameName = "Divinity: Dragon Commander";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.CreateSteamAppIdByExe = true;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "DCApp.exe";
Game.SteamID = "243950";
Game.GUID = "Divinity Dragon Commander";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "Shipping";
Game.NeedsSteamEmulation = false;
Game.LauncherTitle = "";
Game.SupportsPositioning = true;
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.ForceFinishOnPlay = true;
Game.StartArguments = "";
Game.Hook.ForceFocusWindowName = "DC";
Game.HasDynamicWindowTitle = true;
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = false;
Game.Hook.XInputReroute = false;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.Hook.CustomDllEnabled = false;
Game.Description =
  "Only playable using keyboards and mice, after the instances open press the END key to lock the input for all instances to have their own cursor. Press the END key again to unlock the input. You can also use CTR+Q to close Nucleus and all its instances.";
Game.PauseBetweenStarts = 30;

Game.SupportsMultipleKeyboardsAndMice = true;

Game.HookSetCursorPos = false;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = true;
Game.HookGetAsyncKeyState = true;
Game.HookGetKeyboardState = true;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;

Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.DrawFakeMouseCursor = true;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  var txtPath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Larian Studios\\Dragon Commander\\graphicSettings.lsx";
  var dict = ['41|value="1"|value="0" ', '51|value="1"|value="0" '];

  Context.ReplacePartialLinesInTextFile(txtPath, dict);
};