Serious Sam II · handler “SeriousSam2”
Version 2
Release notes
fixed ini edit and focus issues.
- Released
- Size
- 1005 B
- Downloads
- 1,453
- Check
- Verified
- SHA-256
- 853f2349b5134dfeb260851119fc2f81475f43d90a36e570adfbed1993fcd76a
Files 1
| Path | Size |
|---|---|
| handler.js | 2.1 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Wed Mar 18 2020 22:27:15 GMT+0000 (UTC).
Hub.Handler.Id = "oefjk6ZbHYpvzftpv";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.ExecutableContext = ["Sam2Game.dll"];
Game.DirSymlinkExclusions = ["Bin", "Content\\SeriousSam2"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "xinput1_4.dll", "xinput9_1_0.dll"];
Game.FileSymlinkCopyInstead = ["CurrentMod.txt", "Sam2.ini"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "sam2.exe";
Game.BinariesFolder = "Bin";
Game.SteamID = "204340";
Game.GUID = "Serious Sam 2";
Game.GameName = "Serious Sam 2";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.HideTaskbar = false;
Game.StartArguments = "";
Game.LauncherTitle = "";
Game.SupportsPositioning = true;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Serious Sam 2";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_4.dll", "xinput9_1_0.dll"];
Game.Hook.CustomDllEnabled = false;
Game.PreventWindowDeactivation = true;
Game.HookFocus = true;
Game.Description = "Use a different profile per instance, create different profiles in your main game first.";
Game.PauseBetweenStarts = 30;
Game.Play = function() {
var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Content\\SeriousSam2\\Sam2.ini");
Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
new Nucleus.IniSaveInfo("Engine", "gfx_bFullScreen", 0),
new Nucleus.IniSaveInfo("Engine", "gfx_pixResWidth", Context.Width),
new Nucleus.IniSaveInfo("Engine", "gfx_pixResHeight", Context.Height),
new Nucleus.IniSaveInfo("Engine", "gfx_pixWinWidth", Context.Width),
new Nucleus.IniSaveInfo("Engine", "gfx_pixWinHeight", Context.Height)
]);
};