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

Paint the Town Red · handler “Paint the Town Red”

Version 2

Release notes

instances not opening fix.

Released
Size
1.3 KB
Downloads
735
Check
Verified
SHA-256
6a36b9c745b72001eb115e9b79e3ad4aa6d971b578e30cbfc6c921fdbf496d9f
Download v2 (.nc)All versions

Files 1

PathSize
handler.js3.0 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Tue May 25 2021 23:19:32 GMT+0000 (UTC).
Hub.Handler.Id = "kZhQAnAgCjMqPm2Xh";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.ExecutableContext = ["PaintTheTownRed_Data"];
Game.DirSymlinkExclusions = ["PaintTheTownRed_Data\\Plugins\\x86_64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "winmm.dll"];
Game.GameName = "Paint The Town Red";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "PaintTheTownRed.exe";
Game.SteamID = "337320";
Game.GUID = "PaintTheTownRed";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.UseGoldberg = true;
Game.CreateSteamAppIdByExe = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Paint The Town Red";
Game.FakeFocus = true;
Game.HookFocus = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.InjectHookXinput = false;
Game.Hook.CustomDllEnabled = false;
Game.BlockRawInput = true;
Game.UserProfileSavePath = "AppData\\LocalLow\\South East Games\\Paint The Town Red\\SaveData";
Game.UserProfileConfigPath = "AppData\\LocalLow\\South East Games\\Paint The Town Red\\Settings";
Game.Description =
  "IMPORTANT: To assign a different gamepad to each instance go to the game/input options, input remapping and click assign controller then press a button in the gamepad you want to assign. Launch with Steam opened. Create a multiplayer public lobby in one instance and join in the others. If you get uneven fps in the instances try alt tabbing to the nucleuscoop app window, the game windows will still remain on top.";
Game.KeepSymLinkOnExit = false;
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 35;

Game.Play = function() {
  var Args = (Context.Args = "-screen-fullscreen 0 -popupwindow" + " -screen-width " + Context.Width + " -screen-height " + Context.Height);

  Context.StartArguments = Args;

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\South East Games\\Paint The Town Red", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\South East Games\\Paint The Town Red", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\South East Games\\Paint The Town Red", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\South East Games\\Paint The Town Red", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\PaintTheTownRed_Data\\Plugins\\x86_64\\steam_settings\\mods");
  System.IO.Directory.CreateDirectory(filePath);
};