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

Journey to the Savage Planet · handler “JourneytotheSavagePlanet”

Version 2

Release notes

minor fixes

Released
Size
1.6 KB
Downloads
189
Check
Verified
SHA-256
8f09e1678dd6d4ebf0a08202e98c31b4071d682bba2aabcb4c423e928a948eea
Download v2 (.nc)All versions

Files 1

PathSize
handler.js4.1 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Tue Mar 01 2022 17:14:42 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "MF4DBMnzoNDZZbByz";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv150\\Win64", "Engine\\Binaries\\ThirdParty\\EpicOnlineServices", "Towers\\Binaries\\Win64", "Towers\\Content\\Movies"];
Game.FileSymlinkExclusions = [
  "steam_api64.dll",
  "steam_appid.txt",
  "EOSSDK-Win64-Shipping.dll",
  "xinput1_3.dll",
  "505games_logo_1088p.mp4",
  "alienware_logo_1088p.mp4",
  "Legal_1088p.mp4",
  "TyphoonIntroVideo_1088p.mp4",
  "UE4_Moving_Logo_1088p.mp4"
];
Game.UseNucleusEnvironment = true;
Game.UseGoldberg = true;
Game.UseNemirtingasEpicEmu = true;
Game.UseNemirtingasGalaxyEmu = false;
Game.EpicEmuArgs = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.ExecutableName = "Towers-Win64-Shipping.exe";
Game.SteamID = "973810";
Game.GUID = "Journey To The Savage Planet";
Game.GameName = "Journey To The Savage Planet";
Game.MaxPlayers = 2;
Game.MaxPlayersOneMonitor = 2;
Game.BinariesFolder = "Towers\\Binaries\\Win64";
Game.LauncherTitle = "";
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Journey To The Savage Planet";
Game.FakeFocus = true;
Game.FakeFocusSendActivateIgnoreKB = true;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.ResetWindows = true;
Game.RefreshWindowAfterStart = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.XInputPlusDll = ["xinput1_3.dll"];
Game.UserProfileConfigPath = "AppData\\Local\\Towers\\Saved\\Config\\WindowsNoEditor";
Game.UserProfileSavePath = "AppData\\Local\\Towers\\Saved\\SaveGames";
Game.UserProfileSavePathNoCopy = true;
Game.Description = "Select cooperative-invite and you should see the other player name right away so he can join you.";
Game.PauseBetweenStarts = 35;

Game.SupportsMultipleKeyboardsAndMice = false;

Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = false;
Game.HookGetAsyncKeyState = false;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;

Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = false;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  Context.StartArguments = "-windowed -AlwaysFocus -nosplash" + " -ResX=" + Context.Width + " -ResY=" + Context.Height;

  var configPath = Context.EnvironmentPlayer + Context.UserProfileConfigPath + "\\GameUserSettings.ini";
  Context.ModifySaveFile(configPath, configPath, Nucleus.SaveType.INI, [
    new Nucleus.IniSaveInfo("/Script/Towers.TowersGameUserSettings", "bUseDynamicResolution", false),
    new Nucleus.IniSaveInfo("/Script/Towers.TowersGameUserSettings", "ResolutionSizeX", Context.Width),
    new Nucleus.IniSaveInfo("/Script/Towers.TowersGameUserSettings", "ResolutionSizeY", Context.Height),
    new Nucleus.IniSaveInfo("/Script/Towers.TowersGameUserSettings", "FullscreenMode", "2"),
    new Nucleus.IniSaveInfo("/Script/Towers.TowersGameUserSettings", "DesiredScreenWidth", Context.Width),
    new Nucleus.IniSaveInfo("/Script/Towers.TowersGameUserSettings", "DesiredScreenHeight", Context.Height)
  ]);

  if (Context.HasKeyboardPlayer !== true) {
    Game.SetForegroundWindowElsewhere = true;
  }

  if (!System.IO.File.Exists(Context.OrigRootFolder + "\\Engine\\Binaries\\ThirdParty\\Steamworks\\Steamv150\\Win64\\steam_api64.dll")) {
    Game.UseGoldberg = false;
  } else {
  }
};