Binary Domain · handler “BinaryDomain”
Version 3
Release notes
A lot of fixes and more notes.
- Released
- Size
- 1.9 KB
- Downloads
- 134
- Check
- Verified
- SHA-256
- 5c23ddca7030e4b1dabeb8d65d3af48a56a64ab19fd22d45ce1ee4c007be91d5
Files 1
| Path | Size |
|---|---|
| handler.js | 5.1 KB |
handler.js
Plain textHub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Tue May 05 2020 00:10:35 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",
"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",
"IconCFG.txt",
"sysdata.cfg"
];
Game.FileSymlinkCopyInstead = ["BinaryDomainConfiguration.exe", "UserCFG.txt"];
Game.KillMutex = ["Binary_Domain"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "binarydomain.exe";
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", "xinput9_1_0.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 want, each instance savedata is inside the savedata folder in the Nucleus instances folders in content. If you use 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. Once you launch first time via Nucleus you will get a message saying it can't find the Flawless Widescreen module, click ok and FWS will open, in the list of modules select the Binary Domain one, once it is installed close FWS and the instances will open. Once the last instance opens FWS will open again and the patches to remove blackbars should apply automatically, if they don't apply automatically after FWS opens the second time just select the new instances modules that Nucleus created in the FWS UI and they should enable. Use ctr+t if Nucleus instances get in the way. If you want to change the icons in the game UI between gamepad and keyboard icons go to Nucleus content folder and open the Binary Domain configuration exe, in the tab input configuration scroll down and select the input display icons you want, you can do it per instance folder.";
Game.FlawlessWidescreen = "BinaryDomain";
//Game.NotTopMost = true;
//Game.HideTaskbar = true;
Game.KeepSymLinkOnExit = true;
Game.SetForegroundWindowElsewhere = true;
Game.PauseBetweenStarts = 30;
Game.SupportsMultipleKeyboardsAndMice = true;
Game.HookSetCursorPos = true;
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.HookReRegisterRawInput = false;
Game.HookReRegisterRawInputMouse = false;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = false;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;
Game.Play = function() {
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);
if (Context.IsKeyboardPlayer) {
var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\savedata\\UserCFG.txt";
var dict = ['5|control_layout="1"|control_layout="0" '];
Context.ReplacePartialLinesInTextFile(txtPath, dict);
} else {
var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\savedata\\UserCFG.txt";
var dict = ['5|control_layout="0"|control_layout="1" '];
Context.ReplacePartialLinesInTextFile(txtPath, dict);
}
};