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

TerraTech · handler “TerraTech”

Version 1

Release notes

First Release

Released
Size
1.0 KB
Downloads
253
Check
Verified
SHA-256
7c7dca322e255dfd501036d4cd72cb7d9acca57c3f964859810e09e0af4a46e1
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.2 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Fri Apr 17 2020 09:11:06 GMT+0000 (UTC).
Hub.Handler.Id = "pwXokSsMgsTvLWRmr";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["TerraTechWin64_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "xinput9_1_0.dll"];
Game.GameName = "TerraTech";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "TerraTechWin64.exe";
Game.SteamID = "285920";
Game.GUID = "TerraTech";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "TerraTech";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_4.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.BlockRawInput = true;
Game.UserProfileSavePath = "Documents\\My Games\\TerraTech";
Game.Description = "When the game launcher opens quickly tick windowed and click play for windows to resize correctly. Use the mouse cursor to start a co-op game and to join.";
Game.PauseBetweenStarts = 40;

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\\Payload\\TerraTech", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Payload\\TerraTech", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Payload\\TerraTech", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Payload\\TerraTech", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);
};