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

Mothergunship · handler “MotherGunship”

Version 6

Release notes

epic emu overlay

Released
Size
1.3 KB
Downloads
0
Check
Verified
SHA-256
ef62cd07e0bb25ee2b1f2a375ce3119a233b7a95dc6914a17213329ae9a3e7eb
Download v6 (.nc)All versions

Files 1

PathSize
handler.js2.5 KB

handler.js

Plain text
Hub.Handler.Version = 6; // Released at https://hub.splitscreen.me/ on Sun Mar 27 2022 06:56:20 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "us2RLk7KeWe7rrexW";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv140\\Win64", "TowerOfGuns2\\Binaries\\Win64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "xinput1_3.dll", "EOSSDK-Win64-Shipping.dll"];
Game.GameName = "MOTHERGUNSHIP";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "TowerOfGuns2-Win64-Shipping.exe";
Game.SteamID = "574090";
Game.GUID = "MOTHERGUNSHIP";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "TowerOfGuns2\\Binaries\\Win64";
Game.UseNucleusEnvironment = true;
Game.UseGoldberg = true;
Game.UseNemirtingasEpicEmu = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "MOTHERGUNSHIP";
Game.HookFocus = true;
Game.SetWindowHookStart = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.SupportsKeyboard = true;
Game.KeyboardPlayerFirst = true;
Game.UserProfileSavePath = "AppData\\Local\\TowerOfGuns2\\Saved\\SaveGames";
Game.UserProfileConfigPath = "AppData\\Local\\TowerOfGuns2\\Saved\\Config\\WindowsNoEditor";
Game.Description =
  "Get past the tutorial in all instances to connect to the other players. Each instance has its own saves that are copies of your original one, so your original save will not be overwritten. You can access these saves in the app, after the first launch click game options/open user profile save path in the UI.";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  Context.StartArguments = " -windowed -AlwaysFocus -nosplash " + " -ResX= " + Context.Width + " -ResY= " + Context.Height;

  if (!System.IO.File.Exists(Context.OrigRootFolder + "\\Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv140\\Win64\\steam_api64.dll")) {
    Game.UseGoldberg = false;

    var jsonPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\TowerOfGuns2\\Binaries\\Win64\\ngalaxye_settings\\NemirtingasGalaxyEmu.json";
    var params = ["{", '  "enable_overlay": true,', '  "username": ' + '"' + Context.Nickname + '"', "}"];
    Context.WriteTextFile(jsonPath, params);
  } else {
  }
};