Coder Social home page Coder Social logo

ilyaki / splitscreen Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 4.0 75 KB

Stardew Valley mod that enables split screen multiplayer with multiple controllers/keyboards/mice.

Home Page: https://www.nexusmods.com/stardewvalley/mods/2139

License: GNU General Public License v3.0

C# 100.00%

splitscreen's People

Contributors

ilyaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

splitscreen's Issues

Rumbling wrong controller (regression)

Hello. When making the changes at 8f60c78, you forgot to keep the fix from 225cbee, right here:
8f60c78#diff-59af208434726d11b3593c060fbf8616L67

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 3
this.playerIndexController = new PlayerIndexController(Environment.GetCommandLineArgs());

//This fixes StardewValley.Rumble rumbling the wrong controller
Game1.playerOneIndex = PlayerIndexController._PlayerIndex.GetValueOrDefault();

Thanks for the amazing mod!

Split Screen will break in SMAPI 2.6 beta 16

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.

Attach keyboard button grayed out

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.

Question (local and remote multiplayer)

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!

Installation problems

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.

Any help would be appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.