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

Binary Domain · handler “BinaryDomain”

Version 2

Release notes

updated to work on latest version

Released
Size
1.2 KB
Downloads
55
Check
Verified
SHA-256
e4f5861a12039c416f3d247d6974dfd0584ee0394d065b819ce9c8e99d7fa827
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 Thu Feb 13 2020 03:35:06 GMT+0000 (UTC).
Hub.Handler.Id = "rXN7ERF3HeJrfvwD6";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["savedata"];
Game.FileSymlinkExclusions = [
  "steam_api.dll",
  "steam_appid.txt",
  "XInput1_3.dll",
  "UserCFG.txt",
  "playdata00.pp",
  "playdata01.pp",
  "playdata02.pp",
  "playdata03.pp",
  "playdata04.pp",
  "playdata05.pp",
  "playdata06.pp",
  "playdata07.pp",
  "playdata08.pp",
  "playdata09.pp",
  "playdata10.pp",
  "playdata11.pp",
  "playdata12.pp",
  "playdata13.pp",
  "playdata14.pp",
  "playdata15.pp",
  "playdata16.pp",
  "playdata17.pp",
  "playdata18.pp",
  "playdata19.pp",
  "sysdata.cfg"
];
Game.FileSymlinkCopyInstead = ["BinaryDomainConfiguration.exe"];
Game.KillMutex = ["Binary_Domain"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "binarydomain.exe";
Game.ChangeExe = false;
Game.SteamID = "203750";
Game.GUID = "Binary Domain";
Game.GameName = "Binary Domain";
Game.MaxPlayers = 10;
Game.MaxPlayersOneMonitor = 10;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.StartArguments = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "SEGA Binary Domain - PC";
Game.HasDynamicWindowTitle = true;
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.UseAlpha8CustomDll = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.FakeFocus = true;
Game.HookFocus = true;
Game.Description =
  "For versus mode host a private match instead of public match. Use flawless widescreen to remove the black borders if you play 2 players splitscreen, each instance savedata is inside the savedata folder in Nucleus instances folders in content.";
Game.FlawlessWidescreen = "BinaryDomain";
Game.KeepSymLinkOnExit = true;
Game.PauseBetweenStarts = 25;

Game.Play = function() {
  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\savedata\\UserCFG.txt");
  var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "savedata\\UserCFG.txt");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\savedata\\UserCFG.txt";
  var dict = ['5|windowed="0"|windowed="1" '];

  Context.ReplacePartialLinesInTextFile(txtPath, dict);

  var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\savedata\\UserCFG.txt";
  var dict = ["4|    <resolution width= " + Context.Width + " height= " + Context.Height + ' refresh="60" />'];

  Context.ReplaceLinesInTextFile(txtPath, dict);
};