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

Serious Sam 4 · handler “Serious Sam 4”

Version 4

Release notes

updated to use galaxy emulator instead of Steam

Released
Size
1.2 KB
Downloads
10
Check
Unverified
SHA-256
9a7d7723804f4aac5a475e101ec2cf5539fb342380c15dcd0392a480b1d7d21a
Download v4 (.nc)All versions

Files 1

PathSize
handler.js2.3 KB

handler.js

Plain text
Hub.Handler.Version = 4; // Released at https://hub.splitscreen.me/ on Sun Dec 18 2022 17:07:19 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "nS37EL53drArouA2A";
Hub.Maintainer.Name = "Genjuro_Kibagami";
Hub.Maintainer.Id = "6s2Fuz9unXTtH453m";

Game.DirSymlinkExclusions = ["Bin\\x64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "Galaxy64.dll", "steam_appid.txt", "local_save.txt", "xinput1_3.dll"];
Game.ChangeExe = true;
Game.UseNucleusEnvironment = true;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNemirtingasGalaxyEmu = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.ExecutableName = "Sam4.exe";
Game.SteamID = "257420";
Game.GUID = "Serious Sam 4";
Game.GameName = "Serious Sam 4";
Game.BinariesFolder = "Bin\\x64";
Game.MaxPlayers = 8;
Game.MaxPlayersOneMonitor = 8;
Game.LauncherTitle = "";
Game.StartArguments = "+gfx_bFullScreen 0";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Serious Sam 4 - 64bit";
Game.FakeFocus = true;
Game.FakeFocusInterval = 8000;
Game.SendFakeFocusMsg = true;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll", "xinput1_4.dll", "xinput9_1_0.dll"];
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\257420\\remote";
Game.Description = "Steam version only. Gamepads only too for now.";
Game.KeepSymLinkOnExit = false;
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var idg = Context.PlayerID + 6;

  var jsonPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Bin\\x64\\ngalaxye_settings\\NemirtingasGalaxyEmu.json";
  var params = [
    "{",
    '  "api_version": "1.144.1.0",',
    '  "enable_overlay": false,',
    '  "galaxyid": 14549624462898294' + idg + ",",
    '  "language": ' + '"' + Context.GogLang + '",',
    '  "productid": 1407036516,',
    '  "username": ' + '"' + Context.Nickname + '"',
    "}"
  ];
  Context.WriteTextFile(jsonPath, params);

  if (!System.IO.File.Exists(Context.OrigRootFolder + "\\Bin\\x64\\steam_api64.dll")) {
    Game.UseGoldberg = false;
  } else {
  }
};