Craftopia · handler “Craftopia”
Version 1
Release notes
first release
- Released
- Size
- 1.2 KB
- Downloads
- 230
- Check
- Verified
- SHA-256
- da2799de908d98d5e953a8699310e9b915cef6e39d55552d94737b45ba76c5e2
Files 1
| Path | Size |
|---|---|
| handler.js | 2.5 KB |
handler.js
Plain textHub.Handler.Version = 1; // Released at https://hub.splitscreen.me/ on Wed Sep 09 2020 16:11:57 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.GameName = "Craftopia";
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = true;
Game.SymlinkFolders = true;
Game.SupportsKeyboard = true;
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 =
"Set your main game to windowed before running this, use a different character per instance, 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.";
Game.PromptBetweenInstances = true;
Game.PauseBetweenStarts = 40;
Game.Play = function() {
var Args = (Context.Args = " -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);
};