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

Secrets of Grindea · handler “SecretsofGrindea”

Version 4

Release notes

aspect ratio option

Released
Size
1.0 KB
Downloads
691
Check
Verified
SHA-256
26bf6db2522dff5c2d4926a30f0d21556ed36ce3b7797f454c573b07f8d76b22
Download v4 (.nc)All versions

Files 1

PathSize
handler.js1.9 KB

handler.js

Plain text
Hub.Handler.Version = 4; // Released at https://hub.splitscreen.me/ on Mon Dec 19 2022 00:01:57 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "G3SZSKRRAFXoNyiie";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

var answers1 = ["No", "Yes"];
Game.AddOption("Keep aspect ratio?", "Maintains the default aspect ratio to avoid stretching.", "Ratio", answers1);

Game.FileSymlinkExclusions = ["steam_appid.txt"];
Game.NeedsSteamEmulation = false;
Game.CreateSteamAppIdByExe = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "Secrets Of Grindea.exe";
Game.SteamID = "269770";
Game.GUID = "Secrets Of Grindea";
Game.GameName = "Secrets Of Grindea";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Secrets Of Grindea";
Game.FakeFocus = true;
Game.FakeFocusInterval = 5000;
Game.SendFakeFocusMsg = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.SupportsKeyboard = true;
Game.Hook.CustomDllEnabled = false;
Game.UserProfileSavePath = "AppData\\Roaming\\Secrets of Grindea";
Game.Description = "Set network type to IP in the game options for all instances to connect them.";
Game.PauseBetweenStarts = 25;

Game.Play = function() {
  var txtPath = Context.NucleusUserRoot + "\\AppData\\Roaming\\Secrets of Grindea\\Config.txt";
  var dict = ["8|2", "10|3", "81|False"];
  Context.ReplaceLinesInTextFile(txtPath, dict);

  var ratio = Context.Options["Ratio"];

  if (ratio == "Yes") {
    Game.KeepMonitorAspectRatio = true;
    Game.IgnoreWindowBorderCheck = true;
    Context.HideDesktop();
    Context.HideTaskBar();
  }

  if (ratio == "No") {
  }
};