Terraria · handler “Terraria”
Version 1
Release notes
First Release
- Released
- Size
- 961 B
- Downloads
- 11
- Check
- Unverified
- SHA-256
- cdcb2deb3346e59383a12bb9f8d2fa397dfcc9da44b0d66081596de2b558c3c2
Files 1
| Path | Size |
|---|---|
| handler.js | 1.7 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Thu Feb 13 2020 07:21:23 GMT+0000 (UTC).
Hub.Handler.Id = "J5vdAQFvS9i3AZCRE";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.FileSymlinkExclusions = ["steam_appid.txt", "config.json"];
Game.FileSymlinkCopyInstead = ["steam_api.dll"];
Game.NeedsSteamEmulation = false;
Game.CreateSteamAppIdByExe = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "terraria.exe";
Game.SteamID = "105600";
Game.GUID = "Terraria";
Game.GameName = "Terraria";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.SupportsPositioning = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Terraria";
Game.HasDynamicWindowTitle = true;
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.FakeFocus = true;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.Description = "When an instance opens move in the title screen with the respective gamepad for gamepads to work correctly.";
Game.PauseBetweenStarts = 40;
Game.Play = function() {
var txtPath = Context.GetFolder(Nucleus.Folder.Documents) + "\\My Games\\Terraria\\config.json";
var dict = ['14|"Fullscreen": false,', '15|"WindowMaximized": false,', '16|"WindowBorderless": true,', '17|"DisplayWidth": ' + Context.Width + ",", '18|"DisplayHeight": ' + Context.Height + ","];
Context.ReplaceLinesInTextFile(txtPath, dict);
};