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

LEGO Worlds · handler “LEGOWorlds”

Version 1

Release notes

First Release

Released
Size
1.2 KB
Downloads
149
Check
Verified
SHA-256
64895ed7cd56c44d775d8e6569cd36201ce9bc67a2fe421dc524b873d99b48ec
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.3 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Wed Jun 03 2020 04:09:19 GMT+0000 (UTC).
Hub.Handler.Id = "P3HRxsdengacwR3zK";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_api.dll", "steam_appid.txt"];
Game.KillMutex = ["TTALES-{LEGOWorlds}"];
Game.NeedsSteamEmulation = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SupportsKeyboard = true;
Game.ExecutableName = "LEGO_Worlds_DX11.exe";
Game.SteamID = "332310";
Game.GUID = "LEGO Worlds";
Game.GameName = "LEGO Worlds";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.LauncherTitle = "";
Game.HideTaskbar = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.UseNucleusEnvironment = false;
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "LEGOWorlds";
Game.Hook.DInputForceDisable = true;
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.HookFocus = true;
Game.SetForegroundWindowElsewhere = true;
Game.Description =
  "This game has native splitscreen for 2 players only, with this script you can play with 4 using the online option to connect the instances. Use the overlay that appears to join, right click the host player in the other instances and select join, close the overlay with the mouse cursor. Select a different saveslot per instance. Limit the game fps and lower graphic settings to improve performance.";
Game.UserProfileConfigPath = "AppData\\Roaming\\Warner Bros. Interactive Entertainment\\LEGOWorlds";
Game.UserProfileSavePath = "AppData\\Roaming\\Warner Bros. Interactive Entertainment\\LEGOWorlds\\SAVEDGAMES";
Game.PauseBetweenStarts = 30;

Game.Play = function() {
  var username = System.Environment.UserName;
  var txtPath = "C:\\Users\\" + username + "\\AppData\\Roaming\\Warner Bros. Interactive Entertainment\\LEGOWorlds\\PCCONFIG.txt";
  var dict = ["2|ScreenWidth									" + Context.Width, "3|ScreenHeight								" + Context.Height, "4|WindowWidth									" + Context.Width, "5|WindowHeight								" + Context.Height, "8|Windowed									1", "10|BorderlessWindow							1"];

  Context.ReplaceLinesInTextFile(txtPath, dict);
};