Skip to content
Beta: this is a preview of the new SplitScreen.Me. Data may be reset before launch.

Dungeon Siege III · handler “DungeonSiegeIII”

Version 1

Release notes

First release

Released
Size
1.2 KB
Downloads
6
Check
Unverified
SHA-256
72f0cb2cc292f6ad55d69d698ab7bd5fe10c73dd36f4b5f85714dae57eb0bc0f
Download v1 (.nc)All versions

Files 1

PathSize
handler.js3.8 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun Dec 08 2019 04:16:49 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"];
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.PauseBetweenStarts = 20;

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);
};