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

Halo Online · handler “Halo Online ElDewrito”

Version 2

Release notes

new release with settings saving fixes and keyboard support.

Released
Size
1.2 KB
Downloads
1,347
Check
Verified
SHA-256
f339955e59c2bf18b146e42362f92cd9e86a6aa04799853e51c5ac9d93122105
Download v2 (.nc)All versions

Files 1

PathSize
handler.js2.9 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Sun Jan 03 2021 01:09:28 GMT+0000 (UTC).
Hub.Handler.Id = "k592u6pkeix9LnNDM";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.FileSymlinkExclusions = ["eldorado.visualelementsmanifest.xml"];
Game.FileSymlinkCopyInstead = ["dewrito_prefs.cfg"];
Game.NeedsSteamEmulation = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "eldorado.exe";
Game.SteamID = "3";
Game.GUID = "Halo Online";
Game.GameName = "Halo Online ElDewrito";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.StartArguments = "-multiInstance";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "ElDewrito | Version: 0.6.1.0 | Build Date: Jun 21 2018";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.BlockKeyboardEvents = false;
Game.Hook.BlockMouseEvents = true;
Game.Hook.BlockInputEvents = true;
Game.Hook.UseAlpha8CustomDll = true;
Game.KeepSymLinkOnExit = true;
Game.Description =
  "Set your player names in Nucleus settings icon. Alt-Tab to the keyboard instance to control it. You need to add custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 1920x540, 960x540 etc.) for the game to see them and use them.";
Game.PauseBetweenStarts = 25;

Game.Play = function() {
  var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\dewrito_prefs.cfg";
  var dict = [
    Context.FindLineNumberInTextFile(txtPath, "Game.MenuURL", Nucleus.SearchType.StartsWith) + '|Game.MenuURL "http://scooterpsu.github.io/new/"',
    Context.FindLineNumberInTextFile(txtPath, "Player.Name", Nucleus.SearchType.StartsWith) + '|Player.Name "' + Context.Nickname + '"',
    Context.FindLineNumberInTextFile(txtPath, "Settings.Fullscreen", Nucleus.SearchType.StartsWith) + '|Settings.Fullscreen "0"',
    Context.FindLineNumberInTextFile(txtPath, "Settings.ScreenResolution", Nucleus.SearchType.StartsWith) + '|Settings.ScreenResolution "' + Context.Width + "x" + Context.Height + '"',
    Context.FindLineNumberInTextFile(txtPath, "Settings.Gamepad", Nucleus.SearchType.StartsWith) + '|Settings.Gamepad "1"'
  ];
  Context.ReplaceLinesInTextFile(txtPath, dict);

  if (Context.IsKeyboardPlayer) {
    var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\dewrito_prefs.cfg";
    var dict = [Context.FindLineNumberInTextFile(txtPath, "Settings.Gamepad", Nucleus.SearchType.StartsWith) + '|Settings.Gamepad "0"'];
    Context.ReplaceLinesInTextFile(txtPath, dict);

    Context.Hook.BlockMouseEvents = "False";
    Context.Hook.BlockKeyboardEvents = "False";
    Context.Hook.BlockInputEvents = "False";
    Context.Hook.ForceFocus = "False";
  }
};