Spintires · handler “Spintires”
Version 1
Release notes
first release
- Released
- Size
- 1.0 KB
- Downloads
- 514
- Check
- Verified
- SHA-256
- b5300fdfc884955bcad70355e0065fb4baa7d3896944f3585c9a3a82b7b714a5
Files 1
| Path | Size |
|---|---|
| handler.js | 2.2 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Wed Mar 18 2020 21:23:55 GMT+0000 (UTC).
Hub.Handler.Id = "TrMEQjFXnyqqkfuNQ";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["User"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "xinput1_3.dll"];
Game.FileSymlinkCopyInstead = ["BaseConfig.xml"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "SpinTires.exe";
Game.SteamID = "263280";
Game.GUID = "Spintires";
Game.GameName = "Spintires";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.StartArguments = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Spintires®";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.HookInit = true;
Game.Description = "Use the mouse cursor in all instances to start and join a game.";
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var path = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\User\\BaseConfig.xml";
Context.ChangeXmlAttributeValue(path, "//System", "Width", Context.Width);
Context.ChangeXmlAttributeValue(path, "//System", "Height", Context.Height);
Context.ChangeXmlAttributeValue(path, "//System", "Windowed", "true");
Context.ChangeXmlAttributeValue(path, "//System", "Maximized", "false");
var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings");
System.IO.Directory.CreateDirectory(filePath);
var dlc = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings\\DLC.txt";
var lines = ["1151111=Spintires - Chernobyl® DLC", "1151110=Spintires® - Aftermath DLC", "1148580=Spintires® - Canyons DLC"];
Context.WriteTextFile(dlc, lines);
};