Dungeon Siege III · handler “DungeonSiegeIII”
Version 2
Release notes
added 2p per instance option.
- Released
- Size
- 1.2 KB
- Downloads
- 79
- Check
- Verified
- SHA-256
- c5fb6d06d20a63303552fdd16e321b982ab96952f25766ea9d4fb4577ff89328
Files 1
| Path | Size |
|---|---|
| handler.js | 3.8 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Sat Mar 14 2020 07:42:26 GMT+0000 (UTC).
Hub.Handler.Id = "h7XpXxzsmNkKDgm9x";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "winmm.dll", "config.ini", "engine.ini", "xinput1_3.dll"];
Game.KillMutex = ["onyx"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseSteamStubDRMPatcher = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "dungeon siege iii.exe";
Game.SteamID = "39160";
Game.GUID = "Dungeon Siege III";
Game.GameName = "Dungeon Siege III";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.SupportsPositioning = true;
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Dungeon Siege III";
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.PlayersPerInstance = 2;
Game.PauseBetweenStarts = 25;
Game.Play = function() {
var saveSrc = System.IO.Path.Combine(Context.RootInstallFolder, "config.ini");
var savePath = System.IO.Path.Combine(Context.RootFolder, "config.ini");
Context.ModifySaveFile(saveSrc, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("Engine.Render", "full_screen", 0),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_4_3", true),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_16_10", true),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_custom", true)
]);
var saveSrc = System.IO.Path.Combine(Context.RootInstallFolder, "engine.ini");
var savePath = System.IO.Path.Combine(Context.RootFolder, "engine.ini");
Context.ModifySaveFile(saveSrc, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("Engine.Render", "full_screen", 0),
new Nucleus.IniSaveInfo("Engine.Render", "window_width", Context.Width),
new Nucleus.IniSaveInfo("Engine.Render", "window_height", Context.Height),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_4_3", true),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_16_10", true),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_custom", true)
]);
var savePath = Context.GetFolder(Nucleus.Folder.Documents) + "\\My Games\\Dungeon Siege III\\user.ini";
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("Engine.Render", "full_screen", 0),
new Nucleus.IniSaveInfo("Engine.Render", "window_width", Context.Width),
new Nucleus.IniSaveInfo("Engine.Render", "window_height", Context.Height),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_4_3", true),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_16_10", true),
new Nucleus.IniSaveInfo("Engine.Render", "support_aspect_ratio_custom", true)
]);
var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_interfaces.txt";
var lines = [
"SteamUser014",
"SteamFriends008",
"SteamUtils005",
"SteamMatchMaking008",
"SteamMatchMakingServers002",
"STEAMUSERSTATS_INTERFACE_VERSION009",
"STEAMAPPS_INTERFACE_VERSION004",
"SteamNetworking004",
"STEAMREMOTESTORAGE_INTERFACE_VERSION004",
"SteamClient010",
"SteamContentServer002",
"SteamGameServer010",
"SteamMasterServerUpdater001",
"SteamGameServerStats001"
];
Context.WriteTextFile(autoExec, lines);
};