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

Dark Souls: Prepare to Die Edition · handler “Dark Souls”

Version 1

Release notes

First Release

Released
Size
4.5 KB
Downloads
20
Check
Unverified
SHA-256
7fa930c74779bc5de67984fa6340e7696b5fa4c6cd927e9c612eef47eb0c8dad
Download v1 (.nc)All versions

Files 3

PathSize
Darksouls/DSfix.ini7.7 KB
Darksouls/steam_interfaces.txt466 B
handler.js2.3 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Tue Nov 12 2019 20:56:27 GMT+0000 (UTC).
Hub.Handler.Id = "4romqwMRuhC5y5NiG";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.ExecutableContext = ["dsfix"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "DSfix.ini"];
Game.GameName = "Dark Souls";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "darksouls.exe";
Game.SteamID = "211420";
Game.GUID = "Dark Souls";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNeedSteamInterface = true;
Game.LauncherTitle = "";
Game.ForceFinishOnPlay = true;
Game.SupportsPositioning = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "DARK SOULS";
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.HookFocus = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var username = System.Environment.UserName;
  var VideoConfig = "C:\\Users\\" + username + "\\AppData\\Local\\NBGI\\DarkSouls\\DarkSouls.ini";

  Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("DisplaySetting", "WindowMode", "1")]);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\DSfix.ini");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "DSfix.ini");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var saveSrc = System.IO.Path.Combine(Context.RootInstallFolder, "DSfix.ini");
  var savePath = System.IO.Path.Combine(Context.RootFolder, "DSfix.ini");
  Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("RENDER", "renderWidth", Context.Width),
    new Nucleus.IniSaveInfo("RENDER", "renderHeight", Context.Height),
    new Nucleus.IniSaveInfo("RENDER", "presentWidth", "1280"),
    new Nucleus.IniSaveInfo("RENDER", "presentHeight", "800"),
    new Nucleus.IniSaveInfo("FORCEDWINDOW", "forceWindowed", "0")
  ]);
};