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

Blades of Time · handler “BladesofTime”

Version 1

Release notes

First Release

Released
Size
1.4 KB
Downloads
118
Check
Verified
SHA-256
2747cad19be7e203b4f89392a1b30b4a8c554f2258a80953959afed2f938eb3a
Download v1 (.nc)All versions

Files 1

PathSize
handler.js3.4 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Sun Mar 29 2020 23:59:50 GMT+0000 (UTC).
Hub.Handler.Id = "c9s9rirF75jbxb7eu";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.KillMutex = ["BladesOfTimeApplication"];
Game.DirSymlinkExclusions = ["video"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_api.dll", "steam_appid.txt", "steam_interfaces.txt", "gaijin.ogm", "intro.ogm"];
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "bladesoftime.exe";
Game.SteamID = "208670";
Game.GUID = "Blades of Time";
Game.GameName = "Blades of Time";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergNoLocalSave = true;
Game.UseNucleusEnvironment = true;
Game.LauncherTitle = "";
Game.MaxPlayersOneMonitor = 4;
Game.MaxPlayers = 2;
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Blades of Time";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_4.dll", "xinput9_1_0.dll"];
Game.UserProfileConfigPath = "AppData\\Local\\BladesOfTime";
Game.UserProfileSavePath = "AppData\\Roaming\\Goldberg SteamEmu Saves\\208670\\remote";
Game.PreventWindowDeactivation = true;
Game.KeyboardPlayerSkipPreventWindowDeactivate = true;
Game.HookFocus = true;
//Game.PlayerSteamIDs = [ "76561198134585131"];
Game.Description =
  "Run your regular game and change some graphics settings at least once before running this. Recommended that you add custom resolutions from your AMD/Nvidia/Intel panel (For example: 960x540, 1920x540, 960x1080, 960x540 ect.)";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  if (Context.IsKeyboardPlayer) {
    var txtPath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\settings.blk";
    var dict = ["51|  windowed:b=yes", "57|  resolution:t=" + Context.Width + "x" + Context.Height, "83|  usegamepad:b=no"];

    Context.ReplaceLinesInTextFile(txtPath, dict);
  } else {
    var txtPath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\settings.blk";
    var dict = ["51|  windowed:b=yes", "57|  resolution:t=" + Context.Width + "x" + Context.Height, "83|  usegamepad:b=yes"];

    Context.ReplaceLinesInTextFile(txtPath, dict);
  }

  var filePath = (Context.filePath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings");
  System.IO.Directory.CreateDirectory(filePath);

  var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_interfaces.txt";
  var lines = [
    "SteamClient012",
    "SteamGameServer011",
    "SteamGameServerStats001",
    "SteamUser016",
    "SteamFriends011",
    "SteamUtils005",
    "SteamMatchMaking009",
    "SteamMatchMakingServers002",
    "STEAMUSERSTATS_INTERFACE_VERSION010",
    "STEAMAPPS_INTERFACE_VERSION005",
    "SteamNetworking005",
    "STEAMREMOTESTORAGE_INTERFACE_VERSION006",
    "STEAMSCREENSHOTS_INTERFACE_VERSION001",
    "STEAMHTTP_INTERFACE_VERSION001"
  ];

  Context.WriteTextFile(autoExec, lines);

  var autoExec = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\steam_settings\\DLC.txt";
  var lines = ["208981=Dismal Swamp DLC (Blades of Time - Dismal Swamp DLC)"];

  Context.WriteTextFile(autoExec, lines);
};