I have searched through the issues and didn't find my problem.
[x] Confirm
Bug description
I'm not sure what happened, but I've been successfully using this for Stardew Valley for a while now and just this week an issue started. When I right click, it behaves as though I am holding right click until I left click and when I try to scroll, I can't scroll more than one or two slots at a time. I have confirmed that this does not happen just running Stardew without Nucleus. I had not updated Nucleus prior to seeing this bug, though I have now in an attempt to fix it. The only changes I have recently made have been to uninstall BitDefender and turn on Windows Defender. This only happens for one mouse input reproducibly.
Debug Log
[2024-11-06 18:23:01]HANDLER: --------------------- START ---------------------
[2024-11-06 18:23:01]HANDLER: Game: Stardew Valley, Arch: x64, Executable: Stardew Valley.exe, Launcher: , SteamID: 413150, Handler: Stardew Valley.js, Content Folder: Stardew Valley
[2024-11-06 18:23:01]HANDLER: PC Info - OS: Microsoft Windows 10 Home, .NET Framework Version: 4.8 or later
[2024-11-06 18:23:01]HANDLER: Determining which monitors will be used by Nucleus
[2024-11-06 18:23:01]HANDLER: Checking if any monitors to be used by Nucleus are using DPI scaling other than 100%
[2024-11-06 18:23:01]HANDLER: Display - DPIHandling: True, DPI Scale: 1
[2024-11-06 18:23:01]HANDLER: Monitor 0 - Resolution: 1920x1200
[2024-11-06 18:23:01]HANDLER: Monitor 1 - Resolution: 1920x1200
[2024-11-06 18:23:01]HANDLER: Number of players: 2
[2024-11-06 18:23:01]HANDLER: Nucleus Co-op version: 2.3.1
[2024-11-06 18:23:01]HANDLER: ########## START OF HANDLER ##########
[2024-11-06 18:23:01]HANDLER: Hub.Handler.Version = 10; // Released at https://hub.splitscreen.me/ on Mon Feb 20 2023 05:07:16 GMT+0000 (Coordinated Universal Time).
[2024-11-06 18:23:01]HANDLER: Hub.Handler.Id = "LT3wMdrR7gPrKgfzb";
[2024-11-06 18:23:01]HANDLER: Hub.Maintainer.Name = "Talos91";
[2024-11-06 18:23:01]HANDLER: Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.ExecutableContext = ["Content"];
[2024-11-06 18:23:01]HANDLER: Game.DirSymlinkExclusions = ["Mods\Coop Cursor", "Mods\Lenient Window Resize"];
[2024-11-06 18:23:01]HANDLER: Game.FileSymlinkExclusions = ["steam_appid.txt", "Stardew Valley.exe", "StardewModdingAPI.exe", "xinput1_4.dll"];
[2024-11-06 18:23:01]HANDLER: Game.FileSymlinkCopyInstead = ["config.json", "Coop Cursor.dll", "Coop Cursor.pdb", "Lenient Window Resize.dll", "Lenient Window Resize.pdb"];
[2024-11-06 18:23:01]HANDLER: Game.NeedsSteamEmulation = false;
[2024-11-06 18:23:01]HANDLER: Game.HandlerInterval = 100;
[2024-11-06 18:23:01]HANDLER: Game.SymlinkExe = false;
[2024-11-06 18:23:01]HANDLER: Game.SymlinkGame = true;
[2024-11-06 18:23:01]HANDLER: Game.SymlinkFolders = true;
[2024-11-06 18:23:01]HANDLER: Game.ExecutableName = "Stardew Valley.exe";
[2024-11-06 18:23:01]HANDLER: Game.SteamID = "413150";
[2024-11-06 18:23:01]HANDLER: Game.CreateSteamAppIdByExe = true;
[2024-11-06 18:23:01]HANDLER: Game.GUID = "Stardew Valley";
[2024-11-06 18:23:01]HANDLER: Game.GameName = "Stardew Valley";
[2024-11-06 18:23:01]HANDLER: Game.MaxPlayers = 4;
[2024-11-06 18:23:01]HANDLER: Game.MaxPlayersOneMonitor = 4;
[2024-11-06 18:23:01]HANDLER: Game.LauncherTitle = "conhost";
[2024-11-06 18:23:01]HANDLER: Game.HideTaskbar = false;
[2024-11-06 18:23:01]HANDLER: Game.SetTopMostAtEnd = true;
[2024-11-06 18:23:01]HANDLER: Game.Hook.ForceFocus = false;
[2024-11-06 18:23:01]HANDLER: Game.Hook.ForceFocusWindowName = "Stardew Valley";
[2024-11-06 18:23:01]HANDLER: Game.HasDynamicWindowTitle = true;
[2024-11-06 18:23:01]HANDLER: Game.RefreshWindowAfterStart = false;
[2024-11-06 18:23:01]HANDLER: Game.ResetWindows = true;
[2024-11-06 18:23:01]HANDLER: Game.SetWindowHook = false;
[2024-11-06 18:23:01]HANDLER: Game.Hook.DInputEnabled = false;
[2024-11-06 18:23:01]HANDLER: Game.Hook.XInputEnabled = false;
[2024-11-06 18:23:01]HANDLER: Game.Hook.XInputReroute = false;
[2024-11-06 18:23:01]HANDLER: Game.Hook.CustomDllEnabled = false;
[2024-11-06 18:23:01]HANDLER: Game.UserProfileConfigPath = "AppData\Roaming\StardewValley";
[2024-11-06 18:23:01]HANDLER: Game.UserProfileSavePath = "AppData\Roaming\StardewValley\Saves";
[2024-11-06 18:23:01]HANDLER: Game.Description =
[2024-11-06 18:23:01]HANDLER: "IMPORTANT: Intended for Multiple monitors only, one player per instance, the game already has 4 player native split-screen. To start a co-op game select co-op, host a new farm and select the number of starting cabins you want (this equals the number of players), the other instances then select join LAN game, leave the field blank, press ok and join. If you have SMAPI installed for mods in your main files the handler will automatically launch the SMAPI exe even if you added the game to Nucleus by selecting the vanilla exe so do not rename any exes, installing the Co-op cursor mod by DeLiXx is recommended to fix the known issue of all instances sharing the same cursor, multiple keyboards and mice will only work with this mod too: https://www.nexusmods.com/stardewvalley/mods/12269?tab=files. If you use keyboards and mice after all the instances have launched, resized and positioned correctly, press the END key once to lock the input for all instances to have their own working cursor and keyboard. You need to left click each mouse to make the emulated cursors appear after locking the input. Press the END key again to unlock the input when you finish playing. You can also use CTRL+Q to close Nucleus and all its instances when the input is unlocked.";
[2024-11-06 18:23:01]HANDLER: Game.ForceProcessPick = false;
[2024-11-06 18:23:01]HANDLER: Game.PauseBetweenProcessGrab = 7;
[2024-11-06 18:23:01]HANDLER: Game.PauseBetweenStarts = 30;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: //USS deprecated options:
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.HookSetCursorPos = false;
[2024-11-06 18:23:01]HANDLER: Game.HookGetCursorPos = false;
[2024-11-06 18:23:01]HANDLER: Game.HookGetKeyState = false;
[2024-11-06 18:23:01]HANDLER: Game.HookGetAsyncKeyState = false;
[2024-11-06 18:23:01]HANDLER: Game.HookGetKeyboardState = false;
[2024-11-06 18:23:01]HANDLER: Game.HookFilterRawInput = false;
[2024-11-06 18:23:01]HANDLER: Game.HookFilterMouseMessages = false;
[2024-11-06 18:23:01]HANDLER: Game.HookUseLegacyInput = false;
[2024-11-06 18:23:01]HANDLER: Game.HookDontUpdateLegacyInMouseMsg = false;
[2024-11-06 18:23:01]HANDLER: Game.HookMouseVisibility = false;
[2024-11-06 18:23:01]HANDLER: Game.InjectHookXinput = false;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.SendNormalMouseInput = false;
[2024-11-06 18:23:01]HANDLER: Game.SendNormalKeyboardInput = false;
[2024-11-06 18:23:01]HANDLER: Game.SendScrollWheel = false;
[2024-11-06 18:23:01]HANDLER: Game.ForwardRawKeyboardInput = false;
[2024-11-06 18:23:01]HANDLER: Game.ForwardRawMouseInput = false;
[2024-11-06 18:23:01]HANDLER: Game.HookReRegisterRawInput = false;
[2024-11-06 18:23:01]HANDLER: Game.HookReRegisterRawInputMouse = false;
[2024-11-06 18:23:01]HANDLER: Game.HookReRegisterRawInputKeyboard = false;
[2024-11-06 18:23:01]HANDLER: Game.DrawFakeMouseCursor = false;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: //ProtoInput:
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.SupportsMultipleKeyboardsAndMice = true;
[2024-11-06 18:23:01]HANDLER: Game.SupportsKeyboard = false;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectStartup = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectRuntime_RemoteLoadMethod = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectRuntime_EasyHookMethod = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectRuntime_EasyHookStealthMethod = false;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.LockInputAtStart = false;
[2024-11-06 18:23:01]HANDLER: Game.LockInputSuspendsExplorer = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FreezeExternalInputWhenInputNotLocked = true;
[2024-11-06 18:23:01]HANDLER: Game.LockInputToggleKey = 0x23;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RenameHandlesHook = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RenameHandles = [];
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RenameNamedPipes = [];
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RegisterRawInputHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetRawInputDataHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MessageFilterHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetCursorPosHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SetCursorPosHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetKeyStateHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetAsyncKeyStateHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetKeyboardStateHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.CursorVisibilityHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.ClipCursorHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusHooks = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.DrawFakeCursor = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.AutoHideTaskbar = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SetWindowPosHook = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SetWindowStyleHook = false;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RawInputFilter = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseMoveFilter = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseActivateFilter = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.WindowActivateFilter = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.WindowActvateAppFilter = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseWheelFilter = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseButtonFilter = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.KeyboardButtonFilter = true;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendMouseWheelMessages = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendMouseButtonMessages = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendMouseMovementMessages = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendKeyboardButtonMessages = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.XinputHook = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.UseOpenXinput = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.UseDinputRedirection = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.DinputDeviceHook = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.DinputHookAlsoHooksGetDeviceState = false;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MultipleProtoControllers = true;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.EnableFocusMessageLoop = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoopIntervalMilliseconds = 1;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoop_WM_ACTIVATE = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoop_WM_ACTIVATEAPP = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoop_WM_NCACTIVATE = true;
[2024-11-06 18:23:01]HANDLER: //Game.ProtoInput.FocusLoop_WM_SETFOCUS = true;
[2024-11-06 18:23:01]HANDLER: //Game.ProtoInput.FocusLoop_WM_MOUSEACTIVATE = true;
[2024-11-06 18:23:01]HANDLER: Game.ProtoInput.BlockedMessages = [0x0008]; // Blocks WM_KILLFOCUS
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: Game.Play = function() {
[2024-11-06 18:23:01]HANDLER: var path = Context.NucleusUserRoot + "\AppData\Roaming\StardewValley\startup_preferences";
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//skipWindowPreparation", "true");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowMode", "1");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowedBorderlessFullscreen", "false");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreen", "false");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//gamepadControls", "true");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//hardwareCursor", "false");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreenResolutionX", Context.Width);
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreenResolutionY", Context.Height);
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//preferredResolutionX", Context.Width);
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//preferredResolutionY", Context.Height);
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//pauseWhenOutOfFocus", "false");
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: if (Player.Owner.IsFullscreen()) {
[2024-11-06 18:23:01]HANDLER: var path = Context.NucleusUserRoot + "\AppData\Roaming\StardewValley\startup_preferences";
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//skipWindowPreparation", "false");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowMode", "1");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowedBorderlessFullscreen", "true");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreen", "false");
[2024-11-06 18:23:01]HANDLER: }
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: if (Context.IsKeyboardPlayer) {
[2024-11-06 18:23:01]HANDLER: var path = Context.NucleusUserRoot + "\AppData\Roaming\StardewValley\startup_preferences";
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//gamepadControls", "false");
[2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//hardwareCursor", "false");
[2024-11-06 18:23:01]HANDLER: }
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: if (System.IO.File.Exists(Context.OrigRootFolder + "\StardewModdingAPI.exe")) {
[2024-11-06 18:23:01]HANDLER: Game.PauseBetweenProcessGrab = 18;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: System.IO.File.Copy(System.IO.Path.Combine(Context.RootInstallFolder, "StardewModdingAPI.exe"), System.IO.Path.Combine(Context.RootFolder, "Stardew Valley.exe"), true);
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: if (System.IO.File.Exists(Context.OrigRootFolder + "\Mods\Coop Cursor\config.json")) {
[2024-11-06 18:23:01]HANDLER: var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\Mods\Coop Cursor\config.json";
[2024-11-06 18:23:01]HANDLER: var dict = [
[2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "enabled":', Nucleus.SearchType.StartsWith) + '| "enabled": true,',
[2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "keyboardPlayer":', Nucleus.SearchType.StartsWith) + '| "keyboardPlayer": false'
[2024-11-06 18:23:01]HANDLER: ];
[2024-11-06 18:23:01]HANDLER: Context.ReplaceLinesInTextFile(txtPath, dict);
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: if (Context.IsKeyboardPlayer) {
[2024-11-06 18:23:01]HANDLER: var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\Mods\Coop Cursor\config.json";
[2024-11-06 18:23:01]HANDLER: var dict = [
[2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "enabled":', Nucleus.SearchType.StartsWith) + '| "enabled": true,',
[2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "keyboardPlayer":', Nucleus.SearchType.StartsWith) + '| "keyboardPlayer": true'
[2024-11-06 18:23:01]HANDLER: ];
[2024-11-06 18:23:01]HANDLER: Context.ReplaceLinesInTextFile(txtPath, dict);
[2024-11-06 18:23:01]HANDLER: }
[2024-11-06 18:23:01]HANDLER: }
[2024-11-06 18:23:01]HANDLER: } else {
[2024-11-06 18:23:01]HANDLER: System.IO.File.Copy(System.IO.Path.Combine(Context.RootInstallFolder, "Stardew Valley.exe"), System.IO.Path.Combine(Context.RootFolder, "Stardew Valley.exe"), true);
[2024-11-06 18:23:01]HANDLER: }
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: var numPlayers = 0;
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: for (var i = 0; i < PlayerList.Count; i++) {
[2024-11-06 18:23:01]HANDLER: var player = PlayerList[i];
[2024-11-06 18:23:01]HANDLER:
[2024-11-06 18:23:01]HANDLER: if (player.IsXInput && player.ScreenIndex !== -1) {
[2024-11-06 18:23:01]HANDLER: numPlayers++;
[2024-11-06 18:23:01]HANDLER: }
[2024-11-06 18:23:01]HANDLER: player.ProtoController1 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController2 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController3 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController4 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController5 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController6 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController7 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController8 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController9 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController10 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController11 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController12 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController13 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController14 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController15 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: player.ProtoController16 = Context.GamepadId;
[2024-11-06 18:23:01]HANDLER: }
[2024-11-06 18:23:01]HANDLER: };
[2024-11-06 18:23:01]HANDLER: ########## END OF HANDLER ##########
[2024-11-06 18:23:01]HANDLER: ** Setting up player 1 **
[2024-11-06 18:23:01]HANDLER: Player monitor's resolution: 1920 x 1200
[2024-11-06 18:23:01]HANDLER: Commencing file operations
[2024-11-06 18:23:01]HANDLER: Creating instance folder content\Stardew Valley\Instance0
[2024-11-06 18:23:01]HANDLER: Creating instance folder content\Stardew Valley\Instance1
[2024-11-06 18:23:01]HANDLER: Trying to unlock original game files.
[2024-11-06 18:23:03]HANDLER: Game executable (Stardew Valley.exe) will be copied and not symlinked
[2024-11-06 18:23:03]HANDLER: 4 Files in Game.FileSymlinkExclusions will not be symlinked
[2024-11-06 18:23:03]HANDLER: 5 Files in Game.FileSymlinkCopyInstead will be copied instead of symlinked
[2024-11-06 18:23:03]HANDLER: 2 Directories in Game.DirSymlinkExclusions will be ignored
[2024-11-06 18:23:03]HANDLER: Symlinking game folder and files at p:\program files (x86)\steam\steamapps\common\stardew valley to P:\Program Files\Nucleus\content\Stardew Valley, for each instance
[2024-11-06 18:23:06]HANDLER: File operations complete
[2024-11-06 18:23:06]HANDLER: Creating steam_appid.txt with steam ID 413150 at P:\Program Files\Nucleus\content\Stardew Valley\Instance0
[2024-11-06 18:23:07]HANDLER: Launching game directly at P:\Program Files\Nucleus\content\Stardew Valley\Instance0\Stardew Valley.exe with args
[2024-11-06 18:23:07]HANDLER: Pausing for 7 seconds
[2024-11-06 18:23:14]HANDLER: Obtained process Stardew Valley (pid 3736)
[2024-11-06 18:23:14]HANDLER: Process details; Name: Stardew Valley, ID: 3736, MainWindowtitle: , NucleusGetMainWindowHandle(): 0
[2024-11-06 18:23:14]HANDLER: Setting process data to process Stardew Valley (pid 3736)
[2024-11-06 18:23:14]HANDLER: Injecting ProtoInput at runtime into pid 3736
[2024-11-06 18:23:16]HANDLER: Pausing for 30 seconds
[2024-11-06 18:23:20]HANDLER: Update data process has not exited
[2024-11-06 18:23:30]HANDLER: (Update) Resizing game window for pid 3736 to the following width:1920, height:1200
[2024-11-06 18:23:30]HANDLER: Update State 0
[2024-11-06 18:23:40]HANDLER: (Update) Repostioning game window for pid 3736 to coords x:1920,y:0
[2024-11-06 18:23:40]HANDLER: Update State 1
[2024-11-06 18:23:46]HANDLER: Creating raw input window
[2024-11-06 18:23:46]HANDLER: ** Setting up player 2 **
[2024-11-06 18:23:47]HANDLER: Injecting hook DLL for previous instance
[2024-11-06 18:23:48]HANDLER: Injecting hooks DLL
[2024-11-06 18:23:49]HANDLER: Player monitor's resolution: 1920 x 1200
[2024-11-06 18:23:49]HANDLER: Commencing file operations
[2024-11-06 18:23:49]HANDLER: Trying to unlock original game files.
[2024-11-06 18:23:50]HANDLER: File operations complete
[2024-11-06 18:23:50]HANDLER: Creating steam_appid.txt with steam ID 413150 at P:\Program Files\Nucleus\content\Stardew Valley\Instance1
[2024-11-06 18:23:50]HANDLER: Launching game directly at P:\Program Files\Nucleus\content\Stardew Valley\Instance1\Stardew Valley.exe with args
[2024-11-06 18:23:50]HANDLER: Pausing for 7 seconds
[2024-11-06 18:23:50]HANDLER: (Update) Removing game window border for pid 3736
[2024-11-06 18:23:50]HANDLER: Update State 2
[2024-11-06 18:23:57]HANDLER: Obtained process Stardew Valley (pid 2100)
[2024-11-06 18:23:57]HANDLER: Process details; Name: Stardew Valley, ID: 2100, MainWindowtitle: Stardew Valley, NucleusGetMainWindowHandle(): 267840
[2024-11-06 18:23:57]HANDLER: Attempting to reposition, resize and strip borders for instance 0 - Stardew Valley (pid 3736)
[2024-11-06 18:23:57]HANDLER: Setting process data to process Stardew Valley (pid 2100)
[2024-11-06 18:23:57]HANDLER: Injecting ProtoInput at runtime into pid 2100
[2024-11-06 18:23:58]HANDLER: Pausing for 30 seconds
[2024-11-06 18:24:01]HANDLER: Update data process has not exited
[2024-11-06 18:24:11]HANDLER: (Update) Resizing game window for pid 2100 to the following width:1920, height:1200
[2024-11-06 18:24:11]HANDLER: Update State 0
[2024-11-06 18:24:21]HANDLER: (Update) Repostioning game window for pid 2100 to coords x:0,y:0
[2024-11-06 18:24:21]HANDLER: Update State 1
[2024-11-06 18:24:28]HANDLER: Creating raw input window
[2024-11-06 18:24:28]HANDLER: All instances accounted for, performing final preperations
[2024-11-06 18:24:29]HANDLER: Attempting to reposition, resize and strip borders for instance 1 - Stardew Valley (pid 2100)
[2024-11-06 18:24:29]HANDLER: Injecting hook DLL for last instance
[2024-11-06 18:24:29]HANDLER: Injecting hooks DLL
[2024-11-06 18:24:31]HANDLER: (Update) Removing game window border for pid 2100
[2024-11-06 18:24:31]HANDLER: Update State 2
[2024-11-06 18:24:32]HANDLER: Set game window to top most
[2024-11-06 18:24:32]HANDLER: Set game window to top most
[2024-11-06 18:24:32]HANDLER: All done!
[2024-11-06 18:26:36]HANDLER: Update method calling Handler End function
[2024-11-06 18:26:36]HANDLER: ----------------- SHUTTING DOWN -----------------
[2024-11-06 18:26:36]PROCESSUTIL: Killing process Stardew Valley (pid 2100)
[2024-11-06 18:26:36]PROCESSUTIL: Access is denied
[2024-11-06 18:26:38]HANDLER: No Nucleus backed up files found
[2024-11-06 18:26:42]HANDLER: All done closing operations.
[2024-11-06 18:26:42]MAIN: Handler ended method called
I have searched through the issues and didn't find my problem.
Bug description
I'm not sure what happened, but I've been successfully using this for Stardew Valley for a while now and just this week an issue started. When I right click, it behaves as though I am holding right click until I left click and when I try to scroll, I can't scroll more than one or two slots at a time. I have confirmed that this does not happen just running Stardew without Nucleus. I had not updated Nucleus prior to seeing this bug, though I have now in an attempt to fix it. The only changes I have recently made have been to uninstall BitDefender and turn on Windows Defender. This only happens for one mouse input reproducibly.
Debug Log
[2024-11-06 18:23:01]HANDLER: --------------------- START --------------------- [2024-11-06 18:23:01]HANDLER: Game: Stardew Valley, Arch: x64, Executable: Stardew Valley.exe, Launcher: , SteamID: 413150, Handler: Stardew Valley.js, Content Folder: Stardew Valley [2024-11-06 18:23:01]HANDLER: PC Info - OS: Microsoft Windows 10 Home, .NET Framework Version: 4.8 or later [2024-11-06 18:23:01]HANDLER: Determining which monitors will be used by Nucleus [2024-11-06 18:23:01]HANDLER: Checking if any monitors to be used by Nucleus are using DPI scaling other than 100% [2024-11-06 18:23:01]HANDLER: Display - DPIHandling: True, DPI Scale: 1 [2024-11-06 18:23:01]HANDLER: Monitor 0 - Resolution: 1920x1200 [2024-11-06 18:23:01]HANDLER: Monitor 1 - Resolution: 1920x1200 [2024-11-06 18:23:01]HANDLER: Number of players: 2 [2024-11-06 18:23:01]HANDLER: Nucleus Co-op version: 2.3.1 [2024-11-06 18:23:01]HANDLER: ########## START OF HANDLER ########## [2024-11-06 18:23:01]HANDLER: Hub.Handler.Version = 10; // Released at https://hub.splitscreen.me/ on Mon Feb 20 2023 05:07:16 GMT+0000 (Coordinated Universal Time). [2024-11-06 18:23:01]HANDLER: Hub.Handler.Id = "LT3wMdrR7gPrKgfzb"; [2024-11-06 18:23:01]HANDLER: Hub.Maintainer.Name = "Talos91"; [2024-11-06 18:23:01]HANDLER: Hub.Maintainer.Id = "eeL7HAz8zJovChWw4"; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.ExecutableContext = ["Content"]; [2024-11-06 18:23:01]HANDLER: Game.DirSymlinkExclusions = ["Mods\Coop Cursor", "Mods\Lenient Window Resize"]; [2024-11-06 18:23:01]HANDLER: Game.FileSymlinkExclusions = ["steam_appid.txt", "Stardew Valley.exe", "StardewModdingAPI.exe", "xinput1_4.dll"]; [2024-11-06 18:23:01]HANDLER: Game.FileSymlinkCopyInstead = ["config.json", "Coop Cursor.dll", "Coop Cursor.pdb", "Lenient Window Resize.dll", "Lenient Window Resize.pdb"]; [2024-11-06 18:23:01]HANDLER: Game.NeedsSteamEmulation = false; [2024-11-06 18:23:01]HANDLER: Game.HandlerInterval = 100; [2024-11-06 18:23:01]HANDLER: Game.SymlinkExe = false; [2024-11-06 18:23:01]HANDLER: Game.SymlinkGame = true; [2024-11-06 18:23:01]HANDLER: Game.SymlinkFolders = true; [2024-11-06 18:23:01]HANDLER: Game.ExecutableName = "Stardew Valley.exe"; [2024-11-06 18:23:01]HANDLER: Game.SteamID = "413150"; [2024-11-06 18:23:01]HANDLER: Game.CreateSteamAppIdByExe = true; [2024-11-06 18:23:01]HANDLER: Game.GUID = "Stardew Valley"; [2024-11-06 18:23:01]HANDLER: Game.GameName = "Stardew Valley"; [2024-11-06 18:23:01]HANDLER: Game.MaxPlayers = 4; [2024-11-06 18:23:01]HANDLER: Game.MaxPlayersOneMonitor = 4; [2024-11-06 18:23:01]HANDLER: Game.LauncherTitle = "conhost"; [2024-11-06 18:23:01]HANDLER: Game.HideTaskbar = false; [2024-11-06 18:23:01]HANDLER: Game.SetTopMostAtEnd = true; [2024-11-06 18:23:01]HANDLER: Game.Hook.ForceFocus = false; [2024-11-06 18:23:01]HANDLER: Game.Hook.ForceFocusWindowName = "Stardew Valley"; [2024-11-06 18:23:01]HANDLER: Game.HasDynamicWindowTitle = true; [2024-11-06 18:23:01]HANDLER: Game.RefreshWindowAfterStart = false; [2024-11-06 18:23:01]HANDLER: Game.ResetWindows = true; [2024-11-06 18:23:01]HANDLER: Game.SetWindowHook = false; [2024-11-06 18:23:01]HANDLER: Game.Hook.DInputEnabled = false; [2024-11-06 18:23:01]HANDLER: Game.Hook.XInputEnabled = false; [2024-11-06 18:23:01]HANDLER: Game.Hook.XInputReroute = false; [2024-11-06 18:23:01]HANDLER: Game.Hook.CustomDllEnabled = false; [2024-11-06 18:23:01]HANDLER: Game.UserProfileConfigPath = "AppData\Roaming\StardewValley"; [2024-11-06 18:23:01]HANDLER: Game.UserProfileSavePath = "AppData\Roaming\StardewValley\Saves"; [2024-11-06 18:23:01]HANDLER: Game.Description = [2024-11-06 18:23:01]HANDLER: "IMPORTANT: Intended for Multiple monitors only, one player per instance, the game already has 4 player native split-screen. To start a co-op game select co-op, host a new farm and select the number of starting cabins you want (this equals the number of players), the other instances then select join LAN game, leave the field blank, press ok and join. If you have SMAPI installed for mods in your main files the handler will automatically launch the SMAPI exe even if you added the game to Nucleus by selecting the vanilla exe so do not rename any exes, installing the Co-op cursor mod by DeLiXx is recommended to fix the known issue of all instances sharing the same cursor, multiple keyboards and mice will only work with this mod too: https://www.nexusmods.com/stardewvalley/mods/12269?tab=files. If you use keyboards and mice after all the instances have launched, resized and positioned correctly, press the END key once to lock the input for all instances to have their own working cursor and keyboard. You need to left click each mouse to make the emulated cursors appear after locking the input. Press the END key again to unlock the input when you finish playing. You can also use CTRL+Q to close Nucleus and all its instances when the input is unlocked."; [2024-11-06 18:23:01]HANDLER: Game.ForceProcessPick = false; [2024-11-06 18:23:01]HANDLER: Game.PauseBetweenProcessGrab = 7; [2024-11-06 18:23:01]HANDLER: Game.PauseBetweenStarts = 30; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: //USS deprecated options: [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.HookSetCursorPos = false; [2024-11-06 18:23:01]HANDLER: Game.HookGetCursorPos = false; [2024-11-06 18:23:01]HANDLER: Game.HookGetKeyState = false; [2024-11-06 18:23:01]HANDLER: Game.HookGetAsyncKeyState = false; [2024-11-06 18:23:01]HANDLER: Game.HookGetKeyboardState = false; [2024-11-06 18:23:01]HANDLER: Game.HookFilterRawInput = false; [2024-11-06 18:23:01]HANDLER: Game.HookFilterMouseMessages = false; [2024-11-06 18:23:01]HANDLER: Game.HookUseLegacyInput = false; [2024-11-06 18:23:01]HANDLER: Game.HookDontUpdateLegacyInMouseMsg = false; [2024-11-06 18:23:01]HANDLER: Game.HookMouseVisibility = false; [2024-11-06 18:23:01]HANDLER: Game.InjectHookXinput = false; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.SendNormalMouseInput = false; [2024-11-06 18:23:01]HANDLER: Game.SendNormalKeyboardInput = false; [2024-11-06 18:23:01]HANDLER: Game.SendScrollWheel = false; [2024-11-06 18:23:01]HANDLER: Game.ForwardRawKeyboardInput = false; [2024-11-06 18:23:01]HANDLER: Game.ForwardRawMouseInput = false; [2024-11-06 18:23:01]HANDLER: Game.HookReRegisterRawInput = false; [2024-11-06 18:23:01]HANDLER: Game.HookReRegisterRawInputMouse = false; [2024-11-06 18:23:01]HANDLER: Game.HookReRegisterRawInputKeyboard = false; [2024-11-06 18:23:01]HANDLER: Game.DrawFakeMouseCursor = false; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: //ProtoInput: [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.SupportsMultipleKeyboardsAndMice = true; [2024-11-06 18:23:01]HANDLER: Game.SupportsKeyboard = false; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectStartup = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectRuntime_RemoteLoadMethod = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectRuntime_EasyHookMethod = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.InjectRuntime_EasyHookStealthMethod = false; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.LockInputAtStart = false; [2024-11-06 18:23:01]HANDLER: Game.LockInputSuspendsExplorer = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FreezeExternalInputWhenInputNotLocked = true; [2024-11-06 18:23:01]HANDLER: Game.LockInputToggleKey = 0x23; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RenameHandlesHook = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RenameHandles = []; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RenameNamedPipes = []; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RegisterRawInputHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetRawInputDataHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MessageFilterHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetCursorPosHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SetCursorPosHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetKeyStateHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetAsyncKeyStateHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.GetKeyboardStateHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.CursorVisibilityHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.ClipCursorHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusHooks = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.DrawFakeCursor = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.AutoHideTaskbar = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SetWindowPosHook = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SetWindowStyleHook = false; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.RawInputFilter = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseMoveFilter = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseActivateFilter = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.WindowActivateFilter = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.WindowActvateAppFilter = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseWheelFilter = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MouseButtonFilter = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.KeyboardButtonFilter = true; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendMouseWheelMessages = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendMouseButtonMessages = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendMouseMovementMessages = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.SendKeyboardButtonMessages = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.XinputHook = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.UseOpenXinput = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.UseDinputRedirection = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.DinputDeviceHook = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.DinputHookAlsoHooksGetDeviceState = false; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.MultipleProtoControllers = true; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.EnableFocusMessageLoop = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoopIntervalMilliseconds = 1; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoop_WM_ACTIVATE = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoop_WM_ACTIVATEAPP = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.FocusLoop_WM_NCACTIVATE = true; [2024-11-06 18:23:01]HANDLER: //Game.ProtoInput.FocusLoop_WM_SETFOCUS = true; [2024-11-06 18:23:01]HANDLER: //Game.ProtoInput.FocusLoop_WM_MOUSEACTIVATE = true; [2024-11-06 18:23:01]HANDLER: Game.ProtoInput.BlockedMessages = [0x0008]; // Blocks WM_KILLFOCUS [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: Game.Play = function() { [2024-11-06 18:23:01]HANDLER: var path = Context.NucleusUserRoot + "\AppData\Roaming\StardewValley\startup_preferences"; [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//skipWindowPreparation", "true"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowMode", "1"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowedBorderlessFullscreen", "false"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreen", "false"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//gamepadControls", "true"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//hardwareCursor", "false"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreenResolutionX", Context.Width); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreenResolutionY", Context.Height); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//preferredResolutionX", Context.Width); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//preferredResolutionY", Context.Height); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//pauseWhenOutOfFocus", "false"); [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: if (Player.Owner.IsFullscreen()) { [2024-11-06 18:23:01]HANDLER: var path = Context.NucleusUserRoot + "\AppData\Roaming\StardewValley\startup_preferences"; [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//skipWindowPreparation", "false"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowMode", "1"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//windowedBorderlessFullscreen", "true"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//fullscreen", "false"); [2024-11-06 18:23:01]HANDLER: } [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: if (Context.IsKeyboardPlayer) { [2024-11-06 18:23:01]HANDLER: var path = Context.NucleusUserRoot + "\AppData\Roaming\StardewValley\startup_preferences"; [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//gamepadControls", "false"); [2024-11-06 18:23:01]HANDLER: Context.ChangeXmlNodeInnerTextValue(path, "//hardwareCursor", "false"); [2024-11-06 18:23:01]HANDLER: } [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: if (System.IO.File.Exists(Context.OrigRootFolder + "\StardewModdingAPI.exe")) { [2024-11-06 18:23:01]HANDLER: Game.PauseBetweenProcessGrab = 18; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: System.IO.File.Copy(System.IO.Path.Combine(Context.RootInstallFolder, "StardewModdingAPI.exe"), System.IO.Path.Combine(Context.RootFolder, "Stardew Valley.exe"), true); [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: if (System.IO.File.Exists(Context.OrigRootFolder + "\Mods\Coop Cursor\config.json")) { [2024-11-06 18:23:01]HANDLER: var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\Mods\Coop Cursor\config.json"; [2024-11-06 18:23:01]HANDLER: var dict = [ [2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "enabled":', Nucleus.SearchType.StartsWith) + '| "enabled": true,', [2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "keyboardPlayer":', Nucleus.SearchType.StartsWith) + '| "keyboardPlayer": false' [2024-11-06 18:23:01]HANDLER: ]; [2024-11-06 18:23:01]HANDLER: Context.ReplaceLinesInTextFile(txtPath, dict); [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: if (Context.IsKeyboardPlayer) { [2024-11-06 18:23:01]HANDLER: var txtPath = Context.GetFolder(Nucleus.Folder.InstancedGameFolder) + "\Mods\Coop Cursor\config.json"; [2024-11-06 18:23:01]HANDLER: var dict = [ [2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "enabled":', Nucleus.SearchType.StartsWith) + '| "enabled": true,', [2024-11-06 18:23:01]HANDLER: Context.FindLineNumberInTextFile(txtPath, ' "keyboardPlayer":', Nucleus.SearchType.StartsWith) + '| "keyboardPlayer": true' [2024-11-06 18:23:01]HANDLER: ]; [2024-11-06 18:23:01]HANDLER: Context.ReplaceLinesInTextFile(txtPath, dict); [2024-11-06 18:23:01]HANDLER: } [2024-11-06 18:23:01]HANDLER: } [2024-11-06 18:23:01]HANDLER: } else { [2024-11-06 18:23:01]HANDLER: System.IO.File.Copy(System.IO.Path.Combine(Context.RootInstallFolder, "Stardew Valley.exe"), System.IO.Path.Combine(Context.RootFolder, "Stardew Valley.exe"), true); [2024-11-06 18:23:01]HANDLER: } [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: var numPlayers = 0; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: for (var i = 0; i < PlayerList.Count; i++) { [2024-11-06 18:23:01]HANDLER: var player = PlayerList[i]; [2024-11-06 18:23:01]HANDLER: [2024-11-06 18:23:01]HANDLER: if (player.IsXInput && player.ScreenIndex !== -1) { [2024-11-06 18:23:01]HANDLER: numPlayers++; [2024-11-06 18:23:01]HANDLER: } [2024-11-06 18:23:01]HANDLER: player.ProtoController1 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController2 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController3 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController4 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController5 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController6 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController7 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController8 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController9 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController10 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController11 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController12 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController13 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController14 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController15 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: player.ProtoController16 = Context.GamepadId; [2024-11-06 18:23:01]HANDLER: } [2024-11-06 18:23:01]HANDLER: }; [2024-11-06 18:23:01]HANDLER: ########## END OF HANDLER ########## [2024-11-06 18:23:01]HANDLER: ** Setting up player 1 ** [2024-11-06 18:23:01]HANDLER: Player monitor's resolution: 1920 x 1200 [2024-11-06 18:23:01]HANDLER: Commencing file operations [2024-11-06 18:23:01]HANDLER: Creating instance folder content\Stardew Valley\Instance0 [2024-11-06 18:23:01]HANDLER: Creating instance folder content\Stardew Valley\Instance1 [2024-11-06 18:23:01]HANDLER: Trying to unlock original game files. [2024-11-06 18:23:03]HANDLER: Game executable (Stardew Valley.exe) will be copied and not symlinked [2024-11-06 18:23:03]HANDLER: 4 Files in Game.FileSymlinkExclusions will not be symlinked [2024-11-06 18:23:03]HANDLER: 5 Files in Game.FileSymlinkCopyInstead will be copied instead of symlinked [2024-11-06 18:23:03]HANDLER: 2 Directories in Game.DirSymlinkExclusions will be ignored [2024-11-06 18:23:03]HANDLER: Symlinking game folder and files at p:\program files (x86)\steam\steamapps\common\stardew valley to P:\Program Files\Nucleus\content\Stardew Valley, for each instance [2024-11-06 18:23:06]HANDLER: File operations complete [2024-11-06 18:23:06]HANDLER: Creating steam_appid.txt with steam ID 413150 at P:\Program Files\Nucleus\content\Stardew Valley\Instance0 [2024-11-06 18:23:07]HANDLER: Launching game directly at P:\Program Files\Nucleus\content\Stardew Valley\Instance0\Stardew Valley.exe with args [2024-11-06 18:23:07]HANDLER: Pausing for 7 seconds [2024-11-06 18:23:14]HANDLER: Obtained process Stardew Valley (pid 3736) [2024-11-06 18:23:14]HANDLER: Process details; Name: Stardew Valley, ID: 3736, MainWindowtitle: , NucleusGetMainWindowHandle(): 0 [2024-11-06 18:23:14]HANDLER: Setting process data to process Stardew Valley (pid 3736) [2024-11-06 18:23:14]HANDLER: Injecting ProtoInput at runtime into pid 3736 [2024-11-06 18:23:16]HANDLER: Pausing for 30 seconds [2024-11-06 18:23:20]HANDLER: Update data process has not exited [2024-11-06 18:23:30]HANDLER: (Update) Resizing game window for pid 3736 to the following width:1920, height:1200 [2024-11-06 18:23:30]HANDLER: Update State 0 [2024-11-06 18:23:40]HANDLER: (Update) Repostioning game window for pid 3736 to coords x:1920,y:0 [2024-11-06 18:23:40]HANDLER: Update State 1 [2024-11-06 18:23:46]HANDLER: Creating raw input window [2024-11-06 18:23:46]HANDLER: ** Setting up player 2 ** [2024-11-06 18:23:47]HANDLER: Injecting hook DLL for previous instance [2024-11-06 18:23:48]HANDLER: Injecting hooks DLL [2024-11-06 18:23:49]HANDLER: Player monitor's resolution: 1920 x 1200 [2024-11-06 18:23:49]HANDLER: Commencing file operations [2024-11-06 18:23:49]HANDLER: Trying to unlock original game files. [2024-11-06 18:23:50]HANDLER: File operations complete [2024-11-06 18:23:50]HANDLER: Creating steam_appid.txt with steam ID 413150 at P:\Program Files\Nucleus\content\Stardew Valley\Instance1 [2024-11-06 18:23:50]HANDLER: Launching game directly at P:\Program Files\Nucleus\content\Stardew Valley\Instance1\Stardew Valley.exe with args [2024-11-06 18:23:50]HANDLER: Pausing for 7 seconds [2024-11-06 18:23:50]HANDLER: (Update) Removing game window border for pid 3736 [2024-11-06 18:23:50]HANDLER: Update State 2 [2024-11-06 18:23:57]HANDLER: Obtained process Stardew Valley (pid 2100) [2024-11-06 18:23:57]HANDLER: Process details; Name: Stardew Valley, ID: 2100, MainWindowtitle: Stardew Valley, NucleusGetMainWindowHandle(): 267840 [2024-11-06 18:23:57]HANDLER: Attempting to reposition, resize and strip borders for instance 0 - Stardew Valley (pid 3736) [2024-11-06 18:23:57]HANDLER: Setting process data to process Stardew Valley (pid 2100) [2024-11-06 18:23:57]HANDLER: Injecting ProtoInput at runtime into pid 2100 [2024-11-06 18:23:58]HANDLER: Pausing for 30 seconds [2024-11-06 18:24:01]HANDLER: Update data process has not exited [2024-11-06 18:24:11]HANDLER: (Update) Resizing game window for pid 2100 to the following width:1920, height:1200 [2024-11-06 18:24:11]HANDLER: Update State 0 [2024-11-06 18:24:21]HANDLER: (Update) Repostioning game window for pid 2100 to coords x:0,y:0 [2024-11-06 18:24:21]HANDLER: Update State 1 [2024-11-06 18:24:28]HANDLER: Creating raw input window [2024-11-06 18:24:28]HANDLER: All instances accounted for, performing final preperations [2024-11-06 18:24:29]HANDLER: Attempting to reposition, resize and strip borders for instance 1 - Stardew Valley (pid 2100) [2024-11-06 18:24:29]HANDLER: Injecting hook DLL for last instance [2024-11-06 18:24:29]HANDLER: Injecting hooks DLL [2024-11-06 18:24:31]HANDLER: (Update) Removing game window border for pid 2100 [2024-11-06 18:24:31]HANDLER: Update State 2 [2024-11-06 18:24:32]HANDLER: Set game window to top most [2024-11-06 18:24:32]HANDLER: Set game window to top most [2024-11-06 18:24:32]HANDLER: All done! [2024-11-06 18:26:36]HANDLER: Update method calling Handler End function [2024-11-06 18:26:36]HANDLER: ----------------- SHUTTING DOWN ----------------- [2024-11-06 18:26:36]PROCESSUTIL: Killing process Stardew Valley (pid 2100) [2024-11-06 18:26:36]PROCESSUTIL: Access is denied [2024-11-06 18:26:38]HANDLER: No Nucleus backed up files found [2024-11-06 18:26:42]HANDLER: All done closing operations. [2024-11-06 18:26:42]MAIN: Handler ended method called
Possible fixes or solutions
No response
Additional information
No response