Craftopia · handler “Craftopia”
Version 4
Release notes
More notes.
- Released
- Size
- 1.5 KB
- Downloads
- 1,762
- Check
- Verified
- SHA-256
- c480875d82b3575f76ceef772c908075b57ed6b037872780e5a5073ffff9a895
Files 1
| Path | Size |
|---|---|
| handler.js | 3.4 KB |
handler.js
Plain textHub.Handler.Version = 4; // Released at https://hub.splitscreen.me/ on Fri Jan 15 2021 11:04:10 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, you have to do this to be able to connect the instances, set the second instance port number to 8080 for example. Press ok in the last prompt and the instances will resize back if they changed resolution when you changed the port number. Alt-tab between the instances to use the keyboard. 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);
};