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 2

Release notes

mkb support, resizing fixes and more.

Released
Size
1.9 KB
Downloads
419
Check
Verified
SHA-256
5be9ceba4bbffb39f4fa7cd121f2bfd43012019f712e3f5e6347b3d765523fbd
Download v2 (.nc)All versions

Files 1

PathSize
handler.js4.7 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Mon Apr 19 2021 06:08:36 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.UseNucleusEnvironment = true;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.GoldbergExperimentalSteamClient = 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.LauncherTitle = "";
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Gunfire Reborn";
Game.FakeFocus = true;
Game.HookFocus = true;
Game.ResetWindows = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.InjectHookXinput = true;
Game.Hook.CustomDllEnabled = false;
Game.BlockRawInput = false;
Game.UserProfileSavePathNoCopy = true;
Game.UserProfileConfigPathNoCopy = true;
Game.UserProfileConfigPath = "AppData\\LocalLow\\duoyi\\Gunfire Reborn";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\1217060\\remote";
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. If you use keyboards and mice press the END key in your keyboard to unlock the input and the main cursor when you finish playing. You can also use CTRL+Q to close Nucleus and all its instances. With mice and keyboards you can also use the Overlay (shift+tab) to invite other players with the cursor, the overlay also appears when you select the + icon in the lobby. If the overlay does not show make sure you disable any external overlay apps that could be interfering.";
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 35;

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.DrawFakeMouseCursorForControllers = false;
Game.UpdateFakeMouseWithInternalInput = false;
Game.LockInputAtStart = true;
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;

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\ColdClientLoader.ini");
  Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("SteamClient", "ExeCommandLine", 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);

  //Context.BackupFile(Context.NucleusUserRoot + "\\AppData\\LocalLow\\duoyi\\Gunfire Reborn\\usersetting.ini", true);

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

  if (Context.HasKeyboardPlayer !== true) {
    Game.SupportsMultipleKeyboardsAndMice = false;
    Game.PromptBetweenInstances = false;
  }
};