Craftopia · handler “Craftopia”
Version 3
Release notes
new notes.
- Released
- Size
- 1.4 KB
- Downloads
- 2
- Check
- Verified
- SHA-256
- 050fcf3f678dbe9ab928d16ecd70d8f67e15a5ef9b728e06296c7c84742c505a
Files 1
| Path | Size |
|---|---|
| handler.js | 3.2 KB |
handler.js
Plain textHub.Handler.Version = 3; // Released at https://hub.splitscreen.me/ on Fri Jan 15 2021 09:25:17 GMT+0000 (UTC).
Hub.Handler.Id = "p7ZmhhBZEcmgwdxFM";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.DirSymlinkExclusions = ["Craftopia_Data\\Plugins\\x86_64"];
Game.FileSymlinkExclusions = ["steam_api64.dll", "steam_appid.txt", "xinput1_4.dll"];
//Game.LaunchAsDifferentUsers = true;
//Game.TransferNucleusUserAccountProfiles = true;
//Game.CopyEnvFoldersToNucleusAccounts = ["AppData\\LocalLow\\PocketPair\\Craftopia\\Save"];
Game.GameName = "Craftopia";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = false;
Game.ExecutableName = "Craftopia.exe";
Game.SteamID = "1307550";
Game.GUID = "Craftopia";
Game.MaxPlayers = 4;
Game.MaxPlayersOneMonitor = 4;
Game.BinariesFolder = "";
Game.NeedsSteamEmulation = false;
Game.UseGoldberg = true;
Game.GoldbergExperimental = true;
Game.LauncherTitle = "";
Game.Hook.ForceFocus = true;
Game.Hook.ForceFocusWindowName = "Craftopia";
Game.Hook.DInputEnabled = false;
Game.Hook.DInputForceDisable = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.XInputPlusDll = ["xinput1_4.dll"];
Game.Hook.CustomDllEnabled = false;
Game.FakeFocus = true;
Game.BlockRawInput = true;
Game.ResetWindows = true;
Game.UserProfileSavePath = "AppData\\LocalLow\\PocketPair\\Craftopia\\Save";
Game.Description =
"IMPORTANT: Set your main game to windowed and create different in-game profiles and worlds before running this, use a different character/profile per instance but do not create them when running via Nucleus, do not open the next instance until you have hosted a multiplayer game, the first instance will resize correctly after you open the second, join in the other instances using the option join via steam or join via IP. Change the port number per instance in the game settings before pressing ok in the last prompt to be able to connect the instances. Disable autosave and save manually if you have issues with saving.";
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 40;
Game.Play = function() {
var Args = (Context.Args = " -screen-fullscreen 0 -popupwindow " + " -screen-width " + Context.Width + " -screen-height " + Context.Height);
Context.StartArguments = Args;
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\PocketPair\\Craftopia", "Screenmanager Fullscreen mode_h3630240806", 3, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\PocketPair\\Craftopia", "Screenmanager Resolution Height_h2627697771", Context.Height, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\PocketPair\\Craftopia", "Screenmanager Resolution Width_h182942802", Context.Width, Nucleus.RegType.DWord);
Context.EditRegKey("HKEY_CURRENT_USER", "SOFTWARE\\PocketPair\\Craftopia", "Screenmanager Resolution Use Native_h1405027254", 0, Nucleus.RegType.DWord);
var nolan = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\\Craftopia_Data\\Plugins\\x86_64\\disable_lan_only.txt";
var lines = [""];
Context.WriteTextFile(nolan, lines);
};