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 2

Release notes

Fixes

Released
Size
1.1 KB
Downloads
165
Check
Verified
SHA-256
51b90113ce1dda0cfe42aa292dc01e19bed0ceed2945b97af669b9be760a02f2
Download v2 (.nc)All versions

Files 1

PathSize
handler.js2.4 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Thu Jun 04 2020 02:05:26 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", "xinput9_1_0.dll"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
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 = "-window -AlwaysFocus";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Warhammer 40,000: Space Marine";
Game.HasDynamicWindowTitle = true;
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.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput9_1_0.dll"];
Game.FakeFocus = true;
Game.HookFocus = true;
Game.UserProfileConfigPath = "AppData\\Local\\THQ\\Relic Entertainment\\Space Marine";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\55150\\remote";
//Game.FlawlessWidescreen = "Warhammer40kSM";
Game.PauseBetweenStarts = 25;

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 interfaces = 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(interfaces, lines);
};