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 1

Release notes

First release for Paint the Town Red

Released
Size
1.3 KB
Downloads
327
Check
Verified
SHA-256
e14b0a4bd4f919a79a41896b79e79175c1a47bf99ae7d3ad218712490d306088
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.9 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Fri Nov 13 2020 02:36:19 GMT+0000 (UTC).
Hub.Handler.Id = "kZhQAnAgCjMqPm2Xh";
Hub.Maintainer.Name = "Cabura";
Hub.Maintainer.Id = "Xwpvg2pRQ6WY8xqAk";

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.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseSteamStubDRMPatcher = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Paint The Town Red";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.InjectHookXinput = false;
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.BlockRawInput = true;
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. 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.UserProfileSavePath = "AppData\\LocalLow\\South East Games\\Paint The Town Red\\SaveData";
Game.UserProfileConfigPath = "AppData\\LocalLow\\South East Games\\Paint The Town Red\\Settings";
Game.KeepSymLinkOnExit = false;
Game.PauseBetweenStarts = 35;

Game.Play = function() {
  var Args = (Context.Args = " -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);
};