Homebrew Enabling 2 players on homebrews

CarlosEFML

Member
OP
Newcomer
Joined
Feb 11, 2017
Messages
18
Trophies
0
Age
42
XP
430
Country
Brazil
After my first project (https://gbatemp.net/threads/ctroll3d-control-the-citra-emulator-from-your-3ds.584275/) that almost no one cared about (me included), I have a new idea that I'm sure will meet the same fate.

The project consists of implementing an input redirection server and embedding them in some homebrews (like emulators, for example), enabling support for 2 players using an external controller.

The idea of reusing the input redirection protocol simplifies things, because we can use clients that already exist (including an android version). This way we can support 2 players with a small setup like this:

F89F65C8-46AF-4C22-B4CC-EC5B15642D20.jpeg

(your dear 3ds, a small blueetooth controller and some old android device)

For now I have created ports of blargSnes and snes9x_3ds emulators, which can be downloaded from github at the links below:

blargSnes: https://github.com/CarlosEFML/blargSnes/releases

snes9x_3ds: https://github.com/CarlosEFML/snes9x_3ds/releases

Android Input Redirection: https://github.com/JambonBeurreMan/InputRedirectionClient-Qt-Android/releases

Windows Input Redirection: https://github.com/mastermune/InputRedirectionClient-Qt/releases


To configure:

1 - Run the InputRedirectionClient (android or windows).

2 - Connect your controller to your PC (windows) or Android running the InputRedirectionClient.

3 - Put the 3DS IP address in the InputRedirectionClient running on PC (windows) or Android.

4 - DO NOT enable InputRedirection (it is disabled by default) in the 3ds custom firmware (if you have it enabled, you must disable it). Emulators have their own InputRedirection server that will redirect controls to player 2.

5 - Run the emulator on 3DS and start a game with 2 players support.

NOTE:

It is possible to use your android as a wifi hotspot and eliminate dependency on an external router. However, it is necessary that the android has a working data connection, as the 3DS will disconnect from the hotspot if it does not detect an internet connection.

Q&A:

1 - Is there any input lag using this method?


A: Of course it is! It works over the wifi network, so it will depend on your environment. And there must also be latency in the InputRedirectionClient implementation itself.

So <bluetooth latency> + <wifi latency> + <emulator latency> + <possible latency in the implementation of InputRedirection Client/Server> = <PERCEPTIVE LATENCY> (hopefully not too big)

2 - Isn't it a little awkward to play with 2 players on 3DS?

A: Of course it is! Just imagine 2 players sharing a small device like 3DS, where player 1 is holding the device in front of him and player 2 is completely uncomfortable and always looking for a better position to be able to see the screen...
 
Last edited by CarlosEFML,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    That's not being renewed that's unlocking more medical bills from stds
    +1
  • BigOnYa @ BigOnYa:
    Somethings maybe, but drives are rated in hours, so most likely many hours already on them. I just don't trust em for data. Maybe a used(renewed) car or something be ok tho.
  • K3Nv2 @ K3Nv2:
    I like my girls like my car made in 2000
    +1
  • BigOnYa @ BigOnYa:
    I like my products new, not buying a box of condoms (renewed)
  • K3Nv2 @ K3Nv2:
    You already learned from buying used condoms from the first kid
  • K3Nv2 @ K3Nv2:
    Tyrone said it was barley used
    +1
  • K3Nv2 @ K3Nv2:
    Wonder whatever happened to that ownage pranks guy
  • BigOnYa @ BigOnYa:
    I dont know why people hate on Starfield, I think its dope. I didn't play it day one, only started it couple weeks ago so maybe they fixed issues with updates already.
  • K3Nv2 @ K3Nv2:
    Microsoft could release a poop simulator and people will say it's shit
  • Quincy @ Quincy:
    Hold up hooolddd uuupppp, we're less than a week from PM:TTYD releasing and it has not leaked yet? :o Miracles do still exist in this dystopia 🤣
  • BigOnYa @ BigOnYa:
    True. People hated on Fallout 76 at first also, but they still have huge numbers playing online.
  • BigOnYa @ BigOnYa:
    What is PM:TTYD
  • Quincy @ Quincy:
    Paper Mario: The Thousand-Year Door
  • Psionic Roshambo @ Psionic Roshambo:
    I think I played that one
  • Quincy @ Quincy:
    (i.e. Nintendos' next first party switch title/remake)
  • BigOnYa @ BigOnYa:
    Meh, I want metroid 4
  • Psionic Roshambo @ Psionic Roshambo:
    I have a refurbished hard drive like 8TBs just use it for movies and music so if it blows up nothing I can't replace lol
    +1
  • Quincy @ Quincy:
    I mean almost every first party switch title of the past year or two leaked at least a week in advance for a while now haven't they?
  • BigOnYa @ BigOnYa:
    Not all of them, but yea many.
  • Quincy @ Quincy:
    Metroid prime 4 I wouldn't be surprised if that title will be a SwitchU title (here's hoping Nintendo won't go with such a ridiculous name again)
    +1
  • Quincy @ Quincy:
    Hence me saying almost 🤣
  • Psionic Roshambo @ Psionic Roshambo:
    But for photos and OS and my ROMs not risking it on a refurbished drive lol
  • BigOnYa @ BigOnYa:
    Have you checked both the brew and 2u sites?
  • Quincy @ Quincy:
    But yes I would welcome MP4 too or even 2+3 remaster/HD to hold us over untill MP4
  • Psionic Roshambo @ Psionic Roshambo:
    Switch 2 Switched at birth
    Psionic Roshambo @ Psionic Roshambo: Switch 2 Switched at birth