Hi there,
Im having trouble installing this mod. I have installed SMAPI, extracted the splitscreen .zip to my Stardew Valley > Mods folder, and ran the shortcut generator, which made Gamepad and keyboard short cuts in the Stardew Valley folder. When i try and run the StardewModding API i get this error
[SMAPI] Found 1 mod with warnings:
[SMAPI] Skipped mods
[SMAPI] --------------------------------------------------
[SMAPI] These mods could not be added to your game.
[SMAPI] - SplitScreen 4.0.2 because its DLL 'SplitScreen.dll' doesn't exist.
Both players are rumbling only the first controller again.
This is fixed by just adding it back like this:
//Get player index if it is set in launch options, e.g. StardewModdingAPI.exe --log-path "third.txt" --player-index 3this.playerIndexController =new PlayerIndexController(Environment.GetCommandLineArgs());//This fixes StardewValley.Rumble rumbling the wrong controller
Game1.playerOneIndex = PlayerIndexController._PlayerIndex.GetValueOrDefault();
When looking at this page I get stuck on the step where it says:
For each instance where gamepad player index is NONE, AND the message under menu says “Warning! This instance cannot lock mouse”:
The solution is to click the attach button but in both instances of SD it's grayed out.
I had already run the keyboard shortcuts generator for 2 instances prior to launching SD. Just in case, I quit out of both instances and re-ran the generator, to no avail.
SMAPI 2.6 beta 16 changes how input is handled internally. Split Screen uses reflection to access those internals, so it will break:
Starting with beta 16, there's a new input API you can use instead for reading the values, though you'll still need reflection to change the mouse state. There's a preview SMAPI build pinned in the #modding channel on Discord if you'd like to get the mod ready for its release.
Hi @Ilyaki!
Trying to expose the local server that SplitScreen creates to external connections via Ngrok to enable local and remote multiplayer.
Think it'll work?
If not, any ideas on how to do this without changing your mod too much or breaking anything?
Unrelated - this mod is very nicely written and is one of my favorites. Kudos!