Don't Starve Together · handler “Don't Starve Together”
Version 5
Release notes
updated to work in latest steam version.
- Released
- Size
- 990 B
- Downloads
- 8,269
- Check
- Verified
- SHA-256
- 9c0ac748e10de2fc050e5c01f08e5d1cb666c67046d0c0575d7dc549f5c6bb04
Files 1
| Path | Size |
|---|---|
| handler.js | 4.4 KB |
handler.js
Plain textHub.Handler.Version = 5; // Released at https://hub.splitscreen.me/ on Thu Jul 02 2020 22:23:49 GMT+0000 (UTC).
Hub.Handler.Id = "HJtQAkDh9nyRd6z6J";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["bin"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt"];
Game.GameName = "Don't Starve Together";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "dontstarve_steam.exe";
Game.SteamID = "322330";
Game.GUID = "Don't Starve Together";
Game.MaxPlayers = 6;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "bin";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Don't Starve Together";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.FixResolution = true;
Game.Hook.FixPosition = true;
Game.UserProfileSavePath = "Documents\\Klei\\DoNotStarveTogether";
Game.RefreshWindowAfterStart = false;
Game.PauseBetweenStarts = 25;
Game.Play = function() {
if (Context.PlayerID == 0) {
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Klei\\DoNotStarveTogether\\1062859710\\client.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_width", Context.Width),
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_height", Context.Height),
new Nucleus.IniSaveInfo("GRAPHICS", "fullscreen", "false"),
new Nucleus.IniSaveInfo("MISC", "controller_popup", "false")
]);
}
if (Context.PlayerID == 1) {
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Klei\\DoNotStarveTogether\\1062859711\\client.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_width", Context.Width),
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_height", Context.Height),
new Nucleus.IniSaveInfo("GRAPHICS", "fullscreen", "false"),
new Nucleus.IniSaveInfo("MISC", "controller_popup", "false")
]);
}
if (Context.PlayerID == 2) {
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Klei\\DoNotStarveTogether\\1062859712\\client.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_width", Context.Width),
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_height", Context.Height),
new Nucleus.IniSaveInfo("GRAPHICS", "fullscreen", "false"),
new Nucleus.IniSaveInfo("MISC", "controller_popup", "false")
]);
}
if (Context.PlayerID == 3) {
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Klei\\DoNotStarveTogether\\1062859713\\client.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_width", Context.Width),
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_height", Context.Height),
new Nucleus.IniSaveInfo("GRAPHICS", "fullscreen", "false"),
new Nucleus.IniSaveInfo("MISC", "controller_popup", "false")
]);
}
if (Context.PlayerID == 4) {
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Klei\\DoNotStarveTogether\\1062859714\\client.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_width", Context.Width),
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_height", Context.Height),
new Nucleus.IniSaveInfo("GRAPHICS", "fullscreen", "false"),
new Nucleus.IniSaveInfo("MISC", "controller_popup", "false")
]);
}
if (Context.PlayerID == 5) {
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\Klei\\DoNotStarveTogether\\1062859715\\client.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_width", Context.Width),
new Nucleus.IniSaveInfo("GRAPHICS", "windowed_height", Context.Height),
new Nucleus.IniSaveInfo("GRAPHICS", "fullscreen", "false"),
new Nucleus.IniSaveInfo("MISC", "controller_popup", "false")
]);
}
};