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

Dungeon of the Endless · handler “DungeonoftheEndless”

Version 1

Release notes

First Release

Released
Size
2.2 KB
Downloads
87
Check
Unverified
SHA-256
9cd348aa9fec522f32b666ca3ccc6e235dee5111b3402b0f4ed7b177e9205f70
Download v1 (.nc)All versions

Files 3

PathSize
DungeonoftheEndless/Registry.xml1.2 KB
DungeonoftheEndless/steam_interfaces.txt573 B
handler.js6.0 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sat Mar 14 2020 07:33:32 GMT+0000 (UTC).
Hub.Handler.Id = "kKksuxubTSdagDYhh";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt"];
Game.GameName = "Dungeon of the Endless";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "dungeonoftheendless.exe";
Game.SteamID = "249050";
Game.GUID = "249050";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNeedSteamInterface = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Dungeon of the Endless";
Game.Hook.DInputEnabled = true;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.FakeFocus = true;
Game.Description =
  "Only working with one player using a gamepad and the other the keyboard and mouse, alt-tab to the keyboard instance if the cursor does not work correctly in the keyboard instance.";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859710");
  System.IO.Directory.CreateDirectory(filePath);

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859711");
  System.IO.Directory.CreateDirectory(filePath);

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859712");
  System.IO.Directory.CreateDirectory(filePath);

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859713");
  System.IO.Directory.CreateDirectory(filePath);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859710\\Registry.xml");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "Registry.xml");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859711\\Registry.xml");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "Registry.xml");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859712\\Registry.xml");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "Registry.xml");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Dungeon of the Endless\\Users\\1062859713\\Registry.xml");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "Registry.xml");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var path = "%USERPROFILE%\\Documents\\Dungeon of the Endless\\Users\\1062859710\\Registry.xml";
  Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "False");
  Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
  Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
  Context.ChangeXmlNodeInnerTextValue(path, "//EnableXBoxController", "True");

  var path = "%USERPROFILE%\\Documents\\Dungeon of the Endless\\Users\\1062859711\\Registry.xml";
  Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "False");
  Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
  Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
  Context.ChangeXmlNodeInnerTextValue(path, "//EnableXBoxController", "True");

  var path = "%USERPROFILE%\\Documents\\Dungeon of the Endless\\Users\\1062859712\\Registry.xml";
  Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "False");
  Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
  Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
  Context.ChangeXmlNodeInnerTextValue(path, "//EnableXBoxController", "True");

  var path = "%USERPROFILE%\\Documents\\Dungeon of the Endless\\Users\\1062859713\\Registry.xml";
  Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "False");
  Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
  Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
  Context.ChangeXmlNodeInnerTextValue(path, "//EnableXBoxController", "True");

  if (Player.IsKeyboardPlayer) {
    var path = "%USERPROFILE%\\Documents\\Dungeon of the Endless\\Users\\1062859711\\Registry.xml";
    Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "False");
    Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
    Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
    Context.ChangeXmlNodeInnerTextValue(path, "//EnableXBoxController", "False");

    var path = "%USERPROFILE%\\Documents\\Dungeon of the Endless\\Users\\1062859712\\Registry.xml";
    Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "False");
    Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
    Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
    Context.ChangeXmlNodeInnerTextValue(path, "//EnableXBoxController", "False");

    var path = "%USERPROFILE%\\Documents\\Dungeon of the Endless\\Users\\1062859713\\Registry.xml";
    Context.ChangeXmlNodeInnerTextValue(path, "//Fullscreen", "False");
    Context.ChangeXmlNodeInnerTextValue(path, "//Width", Context.Width);
    Context.ChangeXmlNodeInnerTextValue(path, "//Height", Context.Height);
    Context.ChangeXmlNodeInnerTextValue(path, "//EnableXBoxController", "False");
  }
};