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

Hunted: The Demon's Forge · handler “Hunted”

Version 1

Release notes

first release

Released
Size
1.1 KB
Downloads
10
Check
Unverified
SHA-256
0ea2a4d0589b188bfd831f5b0f5349e487858dc6ca12e84e73c607da8995d550
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.6 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Thu Feb 13 2020 06:18:53 GMT+0000 (UTC).
Hub.Handler.Id = "p32hzprAnrXjSTeeD";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["BINARIES\\WIN32"];
Game.FileSymlinkExclusions = ["HUNTED.exe"];
Game.FileSymlinkCopyInstead = ["P4DFTRE.DLL"];
Game.ExecutableContext = ["APEX_RELEASE.DLL"];
Game.NeedsSteamEmulation = false;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "hunted.exe";
Game.ChangeExe = false;
Game.SteamID = "22450";
Game.GUID = "Hunted";
Game.GameName = "Hunted: The Demon's Forge";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.SupportsPositioning = true;
Game.ForceFinishOnPlay = true;
Game.BinariesFolder = "BINARIES\\WIN32";
Game.HideTaskbar = false;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Hunted";
Game.Hook.DInputEnabled = true;
Game.Hook.DInputForceDisable = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.PreventWindowDeactivation = true;
Game.HookFocus = true;
Game.UserProfileConfigPath = "Documents\\My Games\\Hunted\\DFGame\\Config";
Game.RenameAndOrMoveFiles = ["BINARIES\\WIN32\\P4DFTRE.DLL|BINARIES\\WIN32\\HUNTED.exe"];
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\DFEngine.ini";
  Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("URL", "Name", Context.Nickname),
    new Nucleus.IniSaveInfo("SystemSettings", "Fullscreen", "False"),
    new Nucleus.IniSaveInfo("SystemSettings", "ResX", Context.Width),
    new Nucleus.IniSaveInfo("SystemSettings", "ResY", Context.Height),
    new Nucleus.IniSaveInfo("Engine.Engine", "bPauseOnLossOfFocus", "FALSE")
  ]);

  var savePath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\DFGame.ini";
  Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [new Nucleus.IniSaveInfo("DefaultPlayer", "Name", Context.Nickname)]);

  if (Player.IsKeyboardPlayer) {
    var Args = (Context.Args = " -windowed " + " -nosplash " + " -AlwaysFocus " + " -nomoviestartup ");

    Context.StartArguments = Args;
  } else {
    var Args = (Context.Args = " -windowed " + " -nosplash " + " -AlwaysFocus " + " -nomoviestartup " + " -nomouse ");

    Context.StartArguments = Args;
  }
};