Tinkertown · handler “Tinkertown”
Version 1
Release notes
Tinkertown currently has no controller support so this script is for keyboard and mouse only. Use a different in game profile slot per player.
- Released
- Size
- 1.2 KB
- Downloads
- 52
- Check
- Unverified
- SHA-256
- 7aeed34dd2ca5805e1a87f8a24a1e9e9f69bc6ade36c2c90b312534765ffde24
Files 1
| Path | Size |
|---|---|
| handler.js | 3.0 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Tue Dec 22 2020 13:11:32 GMT+0000 (UTC).
Hub.Handler.Id = "mTPKBhtpxEuDEPCea";
Hub.Maintainer.Name = "slothy87";
Hub.Maintainer.Id = "Z7E8HmzMRDb77WRsi";
Game.DirSymlinkCopyInstead = ["Tinkertown_Data\\Plugins", "Server\\TinkertownServer_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "Steamworks.NET.txt"];
Game.GameName = "Tinkertown";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "Tinkertown.exe";
Game.SteamID = "1276660";
Game.GUID = "Tinkertown";
Game.MaxPlayers = 3;
Game.MaxPlayersOneMonitor = 3;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Tinkertown";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = false;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.BlockRawInput = true;
Game.ResetWindows = true;
Game.UserProfileSavePath = "AppData\\LocalLow\\Headup\\Tinkertown";
Game.Description = "Tinkertown currently has no controller support so this script is for keyboard and mouse only. Use a different in game profile slot per player";
Game.PauseBetweenStarts = 30;
Game.SupportsMultipleKeyboardsAndMice = true;
Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = false;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;
Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = true;
Game.LockInputAtStart = true;
Game.LockInputToggleKey = 0x23;
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\\Headup\\Tinkertown", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Headup\\Tinkertown", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Headup\\Tinkertown", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\Headup\\Tinkertown", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);
};