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

Embr · handler “Embr-FireProject”

Version 2

Release notes

Fix for gamepad drifting

Released
Size
1.5 KB
Downloads
5
Check
Verified
SHA-256
41dfdb6af687bc1d25e7f9be6c73fc26fe2bf4add851e882904a818d16c1acfc
Download v2 (.nc)All versions

Files 1

PathSize
handler.js3.8 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Sat Mar 06 2021 06:22:46 GMT+0000 (UTC).
Hub.Handler.Id = "gqweMeg96Do5ownhR";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["FireProject_Data\\Plugins\\x86_64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_api.dll", "steam_appid.txt", "dinput8.dll", "xinput9_1_0.dll"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = false;
Game.ExecutableName = "FireProject.exe";
Game.SteamID = "1062830";
Game.GUID = "Embr";
Game.GameName = "Embr";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Embr";
Game.UseDInputBlocker = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.InjectHookXinput = true;
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.HookFocus = false;
Game.ResetWindows = true;
Game.BlockRawInput = false;
Game.Description =
  "Create a non visible multiplayer game in one instance and join in the others via LAN. 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 CTRL+Q to close Nucleus and all its instances. So the instances resize correctly in splitscreen you need to add custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 960x540 etc.). Reduce graphic settings like textures in your main game to improve performance.";
Game.PauseBetweenStarts = 30;

Game.SupportsMultipleKeyboardsAndMice = true;

Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = false;
Game.HookGetKeyboardState = false;
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 = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = true;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  var Args = (Context.Args = " -screen-fullscreen 0 -popupwindow " + " -screen-width " + Context.Width + " -screen-height " + Context.Height);

  Context.StartArguments = Args;

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Muse Games\\FireProject", "resolution_new_h2735577768", "640x480", Nucleus.RegType.Binary);

  //Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Muse Games\\FireProject", "resolution_new_h2735577768", Context.Width + "x" + Context.Height, Nucleus.RegType.Binary);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Muse Games\\FireProject", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Muse Games\\FireProject", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Muse Games\\FireProject", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Muse Games\\FireProject", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);

  if (Context.HasKeyboardPlayer == true) {
  } else {
    Game.SetForegroundWindowElsewhere = true;
  }
};