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

Clandestine · handler “Clandestine”

Version 1

Release notes

First Release

Released
Size
1.2 KB
Downloads
35
Check
Verified
SHA-256
4e0bf8683a6fd8a78d62de69f58f44c631c66373b9a16c95b14102b4cd323ea4
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.7 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Tue Mar 10 2020 02:25:29 GMT+0000 (UTC).
Hub.Handler.Id = "M4DohysoE7XacttWq";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Clandestine_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_appid.txt", "steam_api64.dll"];
Game.GameName = "Clandestine";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "Clandestine.exe";
Game.SteamID = "290530";
Game.GUID = "Clandestine";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Clandestine";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.BlockRawInput = false;
Game.PreventWindowDeactivation = true;
Game.KeyboardPlayerSkipPreventWindowDeactivate = true;
Game.SetWindowHook = false;
Game.ResetWindows = true;
Game.PromptBetweenInstances = true;
Game.Description =
  "Best played with one gamepad and one keyboard, second instance will be always keyboard player. Host a public game in the first instance before starting the second via prompt, join the match in the second instance before applying the focus hooks prompt. If you using 2 gamepads map your gamepads to the different players in the game controls options in your regular game first. Do not enter the setup menu when launching via Nucleus or it will break your custom resolution. ";
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 50;

Game.Play = function() {
  var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\My Games\\Clandestine\\settings.ini";
  Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("Video", "FullScreen", false),
    new Nucleus.IniSaveInfo("Video", "ResolutionWidth", Context.Width),
    new Nucleus.IniSaveInfo("Video", "ResolutionHeight", Context.Height)
  ]);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Logic Artists\\Clandestine", "Screenmanager Is Fullscreen mode_h3981298716", 0, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Logic Artists\\Clandestine", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Logic Artists\\Clandestine", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);
};