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

Warhammer 40,000: Space Marine · handler “Space Marine Anniversary Edition”

Version 1

Release notes

First

Released
Size
1.1 KB
Downloads
73
Check
Verified
SHA-256
fd6fc6c8c057faf703ea0ccc6a6d02c02ad5e5e693ec722618dd25334a34c011
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.2 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Fri Feb 14 2020 09:31:25 GMT+0000 (UTC).
Hub.Handler.Id = "QX3pn69Mo33EeRF7W";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "spacemarine.exe";
Game.SteamID = "55150";
Game.GUID = "Space Marine";
Game.GameName = "Warhammer 40,000: Space Marine";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.StartArguments = "-steam -window -AlwaysFocus -nointro -novid";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Warhammer 40,000: Space Marine";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.UseAlpha8CustomDll = true;
Game.Hook.XInputNames = ["XInput9_1_0.dll"];
Game.UserProfileConfigPath = "AppData\\Local\\THQ\\Relic Entertainment\\Space Marine";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\55150";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var txtPath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\gamePC.cfg";
  var dict = ["24|Resolution.Height = " + Context.Height, "25|Resolution.Width = " + Context.Width];

  Context.ReplaceLinesInTextFile(txtPath, dict);

  var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_interfaces.txt";
  var lines = [
    "SteamClient010",
    "SteamGameServer010",
    "SteamGameServerStats001",
    "SteamUser016",
    "SteamFriends009",
    "SteamUtils005",
    "SteamMatchMaking008",
    "SteamMatchMakingServers002",
    "STEAMUSERSTATS_INTERFACE_VERSION009",
    "STEAMAPPS_INTERFACE_VERSION004",
    "SteamNetworking005",
    "STEAMREMOTESTORAGE_INTERFACE_VERSION004",
    "SteamMasterServerUpdater001"
  ];

  Context.WriteTextFile(autoExec, lines);
};