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

Tom Clancy's Splinter Cell: Conviction · handler “SplinterCellConviction”

Version 1

Release notes

First release no .exes needed.

Released
Size
6.5 MB
Downloads
6,561
Check
Unverified
SHA-256
6c00c06d7a909a086886891dee1430339b1af5f516b5e12969fb65fcfa06c01b
Download v1 (.nc)All versions

Files 5

PathSize
Conviction/conviction_game.jdf11.1 MB
Conviction/JDiff.exe869 KB
Conviction/MapConfigurationDLC.xml6.0 KB
Conviction/ubiorbitapi_r2.dll864 KB
handler.js7.1 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Tue Jan 26 2021 19:14:36 GMT+0000 (UTC).
Hub.Handler.Id = "GGN6FpryMWXq8eP2x";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

var answers1 = ["Yes", "No"];
Game.AddOption("Are you using latest legit steam/uplay version?", "Only select yes if you are. You need the latest version of the game.", "Legit", answers1);

Game.ExecutableContext = ["UMDS"];
Game.KillMutex = ["Type:Semaphore|sc5_semaphore"];
Game.DirSymlinkExclusions = ["src\\system", "data\\Videos"];
Game.FileSymlinkExclusions = [
  "MapConfigurationDLC.xml",
  "ubiorbitapi_r2.dll",
  "d3d9.dll",
  "conviction_game.exe",
  "gu.exe",
  "UPlayBrowser.exe",
  "Skidrow.ini",
  "Logo_ESRB_01.bik",
  "Logo_ESRB_02.bik",
  "Logo_MiddleWare_01.bik",
  "Logo_Ubisoft.bik",
  "Logo_Clancy_01.bik"
];
Game.FileSymlinkCopyInstead = ["Conviction.ini", "ConvictionUser.ini", "ConvictionUserPC.ini", "systemdetection.dll"];
Game.NeedsSteamEmulation = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "conviction_game.exe";
Game.SteamID = "33220";
Game.GUID = "Splinter Cell Conviction";
Game.GameName = "Tom Clancy's Splinter Cell Conviction";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 4;
Game.LauncherTitle = "";
Game.BinariesFolder = "src\\system";
Game.HideTaskbar = false;
Game.StartArguments = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Conviction";
Game.UseDirectX9Wrapper = true;
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.UseAlpha8CustomDll = true;
Game.Hook.BlockMouseEvents = false;
Game.Hook.BlockInputEvents = false;
Game.Hook.BlockKeyboardEvents = false;
//Game.Hook.CustomDllEnabled= false;
//Game.XInputPlusDll = [ "xinput1_3.dll" ];
//Game.FakeFocus= true;
Game.UserProfileSavePath = "AppData\\Local\\storage";
Game.Description =
  "Click ok quickly on the system detection prompt. Enable the gamepad in the game controller options on first launch for both instances using the keyboard, alt-tab between instances to do it. Connect the instances via the LAN option, you need the latest version of the game. If you want the instances to resize correctly and avoid stretching you need to create custom resolutions in your AMD/Nvidia/Intel panel (For example: 960x1080, 960x540, 1920x540 etc.) so the game can see and use them. If you get too low fps make sure the game is using most cpu cores, this is a known issue to fix it in task manager details tab select the conviction exes, right click and set affinity, do this after starting a new level. You can use CTRL+T to minimize the instances. If you can not change in-game graphic settings try launching the instance in all the monitor.";
Game.PauseBetweenContextAndLaunch = 10;
Game.PauseBetweenStarts = 35;

Game.Play = function() {
  var username = Context.Nickname;
  var VideoConfig = "C:\\ProgramData\\Ubisoft\\Conviction\\ConvictionUserPC.ini";
  Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("Inputs", "UseXInputByDefault", true),
    new Nucleus.IniSaveInfo("UserVideoOptions." + username, "FullscreenViewportX", Context.Width),
    new Nucleus.IniSaveInfo("UserVideoOptions." + username, "FullscreenViewportY", Context.Height)
  ]);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\ubiorbitapi_r2.dll");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "ubiorbitapi_r2.dll");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\MapConfigurationDLC.xml");
  var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "MapConfigurationDLC.xml");
  System.IO.File.Copy(savePkgOrigin, savePath, true);

  var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\Skidrow.ini");
  Context.ModifySaveFile(savePath, savePath, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("Account", "Username", '"' + Context.Nickname + '"'),
    new Nucleus.IniSaveInfo("Account", "Password", '"SamFisher"')
  ]);

  if (Context.AspectRatioDecimal > 1.8) {
    var VideoConfig = "C:\\ProgramData\\Ubisoft\\Conviction\\ConvictionUserPC.ini";
    Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
      new Nucleus.IniSaveInfo("Engine.Display", "EyefinityMode", 0),
      new Nucleus.IniSaveInfo("Engine.Display", "ForceMultiMon", true),
      new Nucleus.IniSaveInfo("Engine.Display", "MinTripleDispRatio", "3.5")
    ]);
  } else if (Context.AspectRatioDecimal < 1.2) {
    var VideoConfig = "C:\\ProgramData\\Ubisoft\\Conviction\\ConvictionUserPC.ini";
    Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
      new Nucleus.IniSaveInfo("Engine.Display", "EyefinityMode", 0),
      new Nucleus.IniSaveInfo("Engine.Display", "ForceMultiMon", true),
      new Nucleus.IniSaveInfo("Engine.Display", "MinTripleDispRatio", "0.8")
    ]);
  } else {
    var VideoConfig = "C:\\ProgramData\\Ubisoft\\Conviction\\ConvictionUserPC.ini";
    Context.ModifySaveFile(VideoConfig, VideoConfig, Nucleus.SaveType.INI, [
      new Nucleus.IniSaveInfo("Engine.Display", "EyefinityMode", 0),
      new Nucleus.IniSaveInfo("Engine.Display", "ForceMultiMon", false)
    ]);
  }

  var legit = Context.Options["Legit"];

  if (legit == "Yes") {
    var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\conviction_gameog.exe");
    var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "conviction_game.exe");
    System.IO.File.Copy(savePkgOrigin, savePath, true);

    var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\JDiff.exe");
    var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "JDiff.exe");
    System.IO.File.Copy(savePkgOrigin, savePath, true);

    var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\conviction_game.jdf");
    var savePkgOrigin = System.IO.Path.Combine(Game.Folder, "conviction_game.jdf");
    System.IO.File.Copy(savePkgOrigin, savePath, true);

    var Bat = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\start.bat";
    var lines = ["jdiff.exe -u conviction_gameog.exe conviction_game.jdf conviction_game.exe"];
    Context.WriteTextFile(Bat, lines);

    Context.RunAdditionalFiles(["all|" + Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\start.bat"], false, 1);
  }

  if (legit == "No") {
    var savePath = (Context.SavePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\src\\system\\conviction_game.exe");
    var savePkgOrigin = System.IO.Path.Combine(Context.RootInstallFolder, "conviction_game.exe");
    System.IO.File.Copy(savePkgOrigin, savePath, true);
  }
};