Niffelheim · handler “Niffelheim”
Version 3 (current)
Release notes
Better resizing and multi keyboard support.
- Released
- Size
- 1.4 KB
- Downloads
- 612
- Check
- Verified
- SHA-256
- a9bf333d621a1ba17ff5bee92ee3ff04c63b9241152fcc16456fadddfd57d7dd
Files 1
| Path | Size |
|---|---|
| handler.js | 3.3 KB |
handler.js
Plain textHub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Sun May 24 2020 22:46:50 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.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_3.dll", "xinput1_4.dll", "xinput9_1_0.dll"];
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.FakeFocus = true;
Game.BlockRawInput = true;
Game.UserProfileConfigPath = "AppData\\LocalLow\\ElladaGames\\Niffelheim";
Game.Description =
"For gamepads to work click each window with the mouse cursor to skip the intro movie. Do not select graphic settings in-game or you will lose your custom resolution. Press the END key in your keyboard to unlock the input when you finish playing. You can also use CTR+Q to close Nucleus and all its instances.";
Game.PauseBetweenStarts = 30;
Game.SupportsMultipleKeyboardsAndMice = true;
Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = true;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;
Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = false;
Game.DrawFakeMouseCursorForControllers = false;
Game.UpdateFakeMouseWithInternalInput = false;
Game.LockInputAtStart = true;
Game.LockInputToggleKey = 0x23;
Game.Play = function() {
var Args = (Context.Args = " -popupwindow " + " -screen-width " + Context.Width + " -screen-height " + Context.Height);
Context.StartArguments = Args;
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);
};