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

Factorio · handler “Factorio”

Version 1

Release notes

First Release

Released
Size
1.1 KB
Downloads
1,133
Check
Verified
SHA-256
511070b3cbb1727f80797b467410552ad6c82061fd929c92c0c813bed9ac6ae7
Download v1 (.nc)All versions

Files 1

PathSize
handler.js2.2 KB

handler.js

Plain text
Hub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Wed Mar 18 2020 08:42:04 GMT+0000 (UTC).
Hub.Handler.Id = "Sn5Bx4xzAgbqqPbQC";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["bin\\x64", "bin\\Win32"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_api.dll", "steam_interfaces.txt", "steam_appid.txt"];
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.UseNucleusEnvironment = true;
Game.HandlerInterval = 100;
Game.SymlinkGame = true;
Game.SymlinkFolders = false;
Game.SymlinkExe = false;
Game.ExecutableName = "factorio.exe";
Game.SteamID = "427520";
Game.GUID = "Factorio";
Game.GameName = "Factorio x64";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.BinariesFolder = "bin\\x64";
Game.Hook.ForceFocus = false;
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = false;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.Description = "Host a multiplayer game, other players can join via LAN. Press the END key to unlock the input. You can also use CTR+Q to close Nucleus and all its instances.";
Game.PauseBetweenStarts = 25;

Game.SupportsMultipleKeyboardsAndMice = true;

Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = true;
Game.HookGetAsyncKeyState = true;
Game.HookGetKeyboardState = true;
Game.HookFilterRawInput = false;
Game.HookFilterMouseMessages = true;
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.DrawFakeMouseCursor = true;
Game.LockInputAtStart = true;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  var cfgPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\..\\..\\config-path.cfg";

  var lines = ["config-path=__PATH__system-write-data__/config", "use-system-read-write-data-directories=true"];

  Context.WriteTextFile(cfgPath, lines);
};