mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.62k stars 771 forks source link

[Feature Request] Multiplayer Support in Retroarch #756

Open lightgod87 opened 7 years ago

lightgod87 commented 7 years ago

Good day.

The motive of this issue is to ask if it was possible to add multiplayer support in Retroarch with the mGBA core.

Normally in mGBA (I used the normal version in 0.5.2 for reference with Mario Kart: Super Circuit), there's the option called "New multiplayer window" which allows to open a second instance linked to the other window, allowing for local multiplayer in the same PC. Now the question is, if it's possible to implement this feature to work with Retroarch's netplay functionalities, kinda similar on how it's allowed for the TGB Dual core.

Core's version: 0.5.2 OS: Windows 7 Professional x64

Lightgaia13 commented 5 years ago

I really would love to see netplay work on mGBA. But I don't think that is the right way to go about it. From what I understand netplay is one emulator (host) doing the work and streaming the game to the other. And the second one (client) is sending the host their inputs for player 2. I am not sure if that is exact, but that is what I understand it to be. All I do know is that it only works on local multiplayer games that are originally on a single console. Whereas in GBA each player has their own screen and inputs and game running. So I think the best method would be to try and get some of the original hardware running. A.K.A. The link cable. And maybe we can trick it to think a USB is the same! I mean people have made bluetooth and WiFi multiplayer work on the MyBoy emulator. Why should this be any different?

Tippek commented 2 years ago

Hey, its will be great to see this option like a TGB-Dual in RetroArch. One screen splitted on two emulators, connected via cable link So it allows to play over internet(because only inputs now needed, no all cable link data). Maybe it should runs second subsystem, but I believe it can be run frame over frame.

Diamondtroller commented 2 years ago

Would be interested in this feature!

Defnotethan commented 1 month ago

I'm a big fan of this feature on the original mGBA this would open up so many options for me in the RetroArch mGBA core is there anyway to port over most of the settings from mGBA into RetroArch specifically the "Yank Game Pak" setting and "New Multiplayer window"?