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

Niffelheim · handler “Niffelheim”

Version 2

Release notes

Correct Script

Released
Size
1.0 KB
Downloads
32
Check
Verified
SHA-256
fab46407371104d8c28562f2f97af835922a8ca84114308232ecc367633e3be7
Download v2 (.nc)All versions

Files 1

PathSize
handler.js2.1 KB

handler.js

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

Game.DirSymlinkExclusions = ["Niffelheim_Data\\Plugins"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "XInput1_3.dll"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "niffelheim.exe";
Game.SteamID = "351100";
Game.GUID = "Niffelheim";
Game.GameName = "Niffelheim";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Niffelheim";
Game.Hook.DInputForceDisable = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_4.dll"];
Game.SetWindowHookStart = true;
Game.FakeFocus = true;
Game.BlockRawInput = true;
Game.Description =
  "For gamepads to work click each window with the mouse cursor. If the game windows open very tiny do not worry they will resize correctly. If you select graphic settings in-game you will lose your custom resolution.";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\ElladaGames\\Niffelheim", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\ElladaGames\\Niffelheim", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\ElladaGames\\Niffelheim", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);

  Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\ElladaGames\\Niffelheim", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);
};