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

Factorio · handler “Factorio”

Version 2

Release notes

Imorovements, goldberg not needed.

Released
Size
1.3 KB
Downloads
1,401
Check
Verified
SHA-256
ae29fd621d0f3aece1babc77f8f5cca750c7ca168ca55d28abd858ef8cf6ad8f
Download v2 (.nc)All versions

Files 1

PathSize
handler.js2.8 KB

handler.js

Plain text
Hub.Handler.Version = 2; // Released at https://hub.splitscreen.me/ on Thu Nov 11 2021 11:12:58 GMT+0000 (Coordinated Universal Time).
Hub.Handler.Id = "Sn5Bx4xzAgbqqPbQC";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.DirSymlinkExclusions = ["bin\\x64", "bin\\x86", "bin\\Win32"];
Game.FileSymlinkExclusions = ["steam_appid.txt"];
Game.UseNucleusEnvironment = true;
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = false;
Game.HandlerInterval = 100;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SymlinkExe = false;
Game.ExecutableName = "factorio.exe";
Game.CreateSteamAppIdByExe = true;
Game.SteamID = "427520";
Game.GUID = "Factorio";
Game.GameName = "Factorio";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.BinariesFolder = "bin\\x64";
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Factorio";
Game.HasDynamicWindowTitle = true;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.SetWindowHook = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = false;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.UserProfileSavePath = "AppData\\Roaming\\Factorio\\Saves";
Game.UserProfileConfigPath = "AppData\\Roaming\\Factorio\\config";
Game.UserProfileSavePathNoCopy = false;
Game.UserProfileConfigPathNoCopy = false;
Game.Description =
  "Set your main game to windowed first. Host a multiplayer game and unckeck Steam, public and verify user identity in the server settings, the other instances can join via LAN. Make sure the LAN name in the game options-others is different for all instances. Only working with multiple keyboards/mice, press the END key to unlock the input when you finish playing. You can also use CTRL+Q to close Nucleus and all its instances.";
Game.PauseBetweenProcessGrab = 5;
Game.PauseBetweenStarts = 40;

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);
};