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

School Girl/Zombie Hunter · handler “SG/ZH: School Girl/Zombie Hunter”

Version 1

Release notes

Zombie Panic shooting Action

Released
Size
1.9 KB
Downloads
189
Check
Verified
SHA-256
4a492acab789d6bc5e8b44e7d176c5412d4b2b7e35b04ea7fc9d692577e915f9
Download v1 (.nc)All versions

Files 1

PathSize
handler.js4.8 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Fri Oct 29 2021 09:06:13 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "fMnPMppojDYKYHart";
Hub.Maintainer.Name = "Dreadnot";
Hub.Maintainer.Id = "imcayCstgHndCbyMo";

Game.KillMutex = ["sgzh_application"];
Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv132\\Win64\\steam_settings", "sgzh\\Binaries\\Win64", "sgzh\\Content\\Movies"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "xinput1_3.dll"]; //"cri.mp4", "d3.mp4", "tamlogo.mp4", "UE4_Logo.mp4"
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.GameName = "SG/ZH: School Girl/Zombie Hunter";
Game.ExecutableName = "sgzh-Win64-Shipping.exe";
Game.GUID = "SGZH";
Game.SteamID = "682570";
Game.BinariesFolder = "sgzh\\Binaries\\Win64";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.UseNucleusEnvironment = true;
Game.UseGoldberg = true;
Game.CreateSteamAppIdByExe = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "sgzh (64-bit,PCD3D_SM5)";
Game.FakeFocus = true;
Game.FakeFocusInterval = 5000;
Game.SendFakeFocusMsg = true;
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.RefreshWindowAfterStart = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll", "xinput9_1_0.dll"];
Game.UserProfileConfigPath = "AppData\\Local\\sgzh\\Saved\\Config\\WindowsNoEditor";
Game.UserProfileSavePath = "AppData\\Local\\sgzh\\Saved\\SaveGames";
Game.Description =
  "Set your main game to windowed before running this. Create a multiplayer room in one instance and join in the others. If you get a disconnect message just wait, do not press anything and the game will start eventually. Reduce graphics in the game config options to improve performance.";
Game.PauseBetweenProcessGrab = 15;
Game.PauseBetweenStarts = 35;

Game.ProtoInput.InjectStartup = false;
Game.ProtoInput.InjectRuntime_RemoteLoadMethod = false;
Game.ProtoInput.InjectRuntime_EasyHookMethod = true;
Game.ProtoInput.InjectRuntime_EasyHookStealthMethod = false;
Game.LockInputAtStart = false;
Game.LockInputSuspendsExplorer = true;
Game.ProtoInput.FreezeExternalInputWhenInputNotLocked = false;
Game.LockInputToggleKey = 0x23;
Game.ProtoInput.GetRawInputDataHook = true;
Game.ProtoInput.MessageFilterHook = true;
Game.ProtoInput.GetCursorPosHook = true;
Game.ProtoInput.SetCursorPosHook = true;
Game.ProtoInput.RawInputFilter = true;
Game.ProtoInput.ClipCursorHook = true;
Game.ProtoInput.MouseMoveFilter = false;
Game.ProtoInput.MouseActivateFilter = true;
Game.ProtoInput.MouseWheelFilter = true;
Game.ProtoInput.MouseButtonFilter = true;
Game.ProtoInput.FocusHooks = true;

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

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv132\\Win64\\steam_settings");
  System.IO.Directory.CreateDirectory(filePath);

  var videoconfig = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\GameUserSettings.ini";
  Context.ModifySaveFile(videoconfig, videoconfig, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "DesiredScreenWidth", Context.Width),
    new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "DesiredScreenHeight", Context.Height),
    new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "ResolutionSizeX", Context.Width),
    new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "ResolutionSizeY", Context.Height),
    new Nucleus.IniSaveInfo("/Script/Engine.GameUserSettings", "FullscreenMode", "2"),
    new Nucleus.IniSaveInfo("ScalabilityGroups", "sg.ResolutionQuality", "100.000000")
  ]);

  var dlc = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv132\\Win64\\steam_settings\\DLC.txt";
  var lines = [
    "826507=Starfruit & Melon C",
    "826506=Starfruit & Melon B",
    "826505=Starfruit & Melon A",
    "826504=Avocados & Watermelon C",
    "826503=Avocados & Watermelon B",
    "826502=Avocados & Watermelon A",
    "826501=Cherry Tomatoes & Cabbage C",
    "826500=Cherry Tomatoes & Cabbage B",
    "826499=Cherry Tomatoes & Cabbage A",
    "826498=Lingerie Black",
    "826497=Lingerie Red",
    "826496=Lingerie Blue",
    "826495=Micro Thong White",
    "826494=Micro Thong Yellow",
    "826493=Micro Thong Red",
    "826492=Onechanbara Blue Kagura",
    "826491=Onechanbara Black Kagura",
    "826490=Onechanbara Red Kagura"
  ];
  Context.WriteTextFile(dlc, lines);
};