Spec Ops: The Line · handler “SpecOpsTheLine”
Version 2
Release notes
Fixed the windows stretching and sometimes maintaining and regaining borders issues. Also added notes for how to use Flawless Widescreen in the script notes.
- Released
- Size
- 1.6 KB
- Downloads
- 201
- Check
- Verified
- SHA-256
- e4c00fb865c4b36f1e3608635ad758e2f3d7e945512c77ee60fc3e6ddb5d30d3
Files 1
| Path | Size |
|---|---|
| handler.js | 3.4 KB |
handler.js
Plain textHub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Tue Jul 14 2020 17:10:41 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.UseDirectX9Wrapper = true;
Game.FakeFocus = true;
Game.HookFocus = false;
Game.Description =
"Comment back in the flawless widescreen line to remove the black borders if you want. Once you launch first time via Nucleus you will get a message saying it can't find the Flawless Widescreen module, click ok and FWS will open, in the list of modules select the SpecOpsTheLine one, once it is installed close FWS and the instances will open. Once the last instance opens FWS will open again and the patches to remove the blackbars should apply automatically, if they don't apply automatically after FWS opens the second time just select the new instances modules that Nucleus created in the FWS UI and they should enable. Use CTRL+T if Nucleus instances get in the way. If that does not do it for your resolution go to settings/configuration/display detection in the FWS window and tick enable display detection override then set the width and height of one instance manually, also select 1 in horizontal and vertical display count.";
Game.PauseBetweenStarts = 30;
//Game.FlawlessWidescreen = "SpecOpsTheLine";
Game.Play = function() {
if (Context.IsKeyboardPlayer) {
Context.StartArguments = "-Fullscreen -AlwaysFocus -nosplash -nostartupmovies -NoController" + " -ResX= " + Context.Width + " -ResY= " + Context.Height;
} else {
Context.StartArguments = "-Fullscreen -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);
};