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

Spec Ops: The Line · handler “SpecOpsTheLine”

Version 1

Release notes

Flawless widescreen doesn't work with 1080p display

Released
Size
1.2 KB
Downloads
124
Check
Verified
SHA-256
fcccf1c1d7da19e0075003590b831cebce91eb7a63b4e04b97deda6a20a9689a
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.6 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Wed Apr 22 2020 10:38:30 GMT+0000 (UTC).
Hub.Handler.Id = "JyjkZdPxGGgDrk2QS";
Hub.Maintainer.Name = "Snailedlt";
Hub.Maintainer.Id = "SE7kdQcCoCbgkzDeH";

Game.ExecutableContext = ["binkw32.dll"];
Game.KillMutex = ["UnrealEngine3_SHIPPING_6"];
Game.DirSymlinkExclusions = ["Binaries\\Win32"];
Game.FileSymlinkExclusions = ["steam_api.dll", "steam_appid.txt", "steam_interfaces.txt"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.HandlerInterval = 100;
Game.SupportsKeyboard = true;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.ExecutableName = "SpecOpsTheLine.exe";
Game.SteamID = "50300";
Game.GUID = "Spec Ops The Line";
Game.GameName = "Spec Ops: The Line";
Game.MaxPlayers = 8;
Game.MaxPlayersOneMonitor = 8;
Game.BinariesFolder = "Binaries\\Win32";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Spec Ops: The Line";
Game.HasDynamicWindowTitle = true;
Game.Hook.DInputForceDisable = false;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.SetWindowHookStart = true;
Game.Description = "You might need to set custom resolutions in Nvidia/AMD settings for scaling to work properly.";
Game.PauseBetweenStarts = 25;
//Game.FlawlessWidescreen = "SpecOpsTheLine";
//Game.NotTopMost = true;
//Game.HideTaskbar = true;

Game.Play = function() {
  if (Context.IsKeyboardPlayer) {
    Context.StartArguments = "-windowed -AlwaysFocus -nosplash -nostartupmovies -NoController" + " -ResX= " + Context.Width + " -ResY= " + Context.Height;
  } else {
    Context.StartArguments = "-windowed -AlwaysFocus -nosplash -nostartupmovies -nomouse" + " -ResX= " + Context.Width + " -ResY= " + Context.Height;
  }

  var interfaces = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Binaries\\Win32\\steam_interfaces.txt";
  var lines = [
    "SteamClient011",
    "SteamGameServer010",
    "SteamGameServerStats001",
    "SteamUser016",
    "SteamFriends009",
    "SteamUtils005",
    "SteamMatchMaking008",
    "SteamMatchMakingServers002",
    "STEAMUSERSTATS_INTERFACE_VERSION010",
    "STEAMAPPS_INTERFACE_VERSION004",
    "SteamNetworking005",
    "STEAMREMOTESTORAGE_INTERFACE_VERSION004",
    "STEAMSCREENSHOTS_INTERFACE_VERSION001",
    "STEAMHTTP_INTERFACE_VERSION001",
    "SteamMasterServerUpdater001"
  ];

  Context.WriteTextFile(interfaces, lines);
};