Don't Starve Together · handler “Don't Starve Together”
Version 1
Release notes
Correct naming
- Released
- Size
- 912 B
- Downloads
- 58
- Check
- Unverified
- SHA-256
- c66cffa9af67ede1ce4c7faa370b6ae17e6167186b33c1fc2bb4fbd476773636
Files 1
| Path | Size |
|---|---|
| handler.js | 3.8 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Mon Nov 11 2019 00:58:52 GMT+0000 (UTC).
Hub.Handler.Id = "HJtQAkDh9nyRd6z6J";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt"];
Game.GameName = "Don't Starve Together";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = 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.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.PauseBetweenStarts = 20;
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")
]);
}
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")
]);
}
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")
]);
}
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")
]);
}
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")
]);
}
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")
]);
}
};