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

Gunfire Reborn · handler “Gunfire Reborn”

Version 1

Release notes

First Release for R5.

Released
Size
1.7 KB
Downloads
285
Check
Verified
SHA-256
6258e245e2a8ab45668b659cbb06ec1e724f6b75285541b90ce20885f3e7060f
Download v1 (.nc)All versions

Files 1

PathSize
handler.js4.2 KB

handler.js

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

Game.DirSymlinkExclusions = ["Gunfire Reborn_Data\\Plugins"];
Game.FileSymlinkCopyInstead = ["steam_api64.dll"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimentalSteamClient = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = false;
Game.ExecutableName = "Gunfire Reborn.exe";
Game.SteamID = "1217060";
Game.GUID = "Gunfire Reborn";
Game.GameName = "Gunfire Reborn";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.LauncherTitle = "";
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Gunfire Reborn";
Game.Hook.DInputForceDisable = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.InjectHookXinput = true;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.BlockRawInput = true;
Game.ResetWindows = true;
Game.UserProfileConfigPath = "AppData\\LocalLow\\duoyi\\Gunfire Reborn";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\1217060\\remote";
Game.UserProfileSavePathNoCopy = true;
Game.Description =
  "Complete the tutorial first per instance. To connect the instances copy the lobby code to the clipboard using the gamepad X button and in the other instances press the right trigger to open the field where you can paste that code to join using ctrl+v, press the left stick in a gamepad to switch to cursor mode to select the field to paste the code and join. You can also use the Overlay (shift+tab) to invite other players with the cursor. It also appears when you select the + icon in the lobby. Enable the multikeyboards and mice line in the script if you want to test multiple keyboards and mice, but connecting the instances will be harder.";
Game.PauseBetweenStarts = 35;

Game.SupportsMultipleKeyboardsAndMice = false;

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.DrawFakeMouseCursorForControllers = false;
Game.UpdateFakeMouseWithInternalInput = false;
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\\duoyi\\Gunfire Reborn", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);
  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\duoyi\\Gunfire Reborn", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);
  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\duoyi\\Gunfire Reborn", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);
  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\duoyi\\Gunfire Reborn", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);

  var username = System.Environment.UserName;

  Context.BackupFile("C:\\Users\\" + username + "\\AppData\\LocalLow\\duoyi\\Gunfire Reborn\\usersetting.ini", true);

  var VideoConfig = "C:\\Users\\" + username + "\\AppData\\LocalLow\\duoyi\\Gunfire Reborn\\usersetting.ini";
  Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("Setting", "305", "3")]);
};