Homebrew Single-Device Retroarch Multiplayer?

Plasmaster09

Social Justice Potato
OP
Member
Joined
Feb 20, 2020
Messages
1,371
Trophies
1
Age
18
Location
somewhere that may or may not exist
XP
2,521
Country
United States
I can try. To me it also seems like a bug with the system that you can't map more than the circle pad and cstick to player 2. I'll try asking over at the retroarch thread first if there's something we're doing wrong. Also I was able to test this out yesterday and it works pretty well. I updated the long post above to specify some things about it.

Btw do you know a way to remap xinput controllers for the pc input redirection client? I tried several but none seemed to work (:Durazno. XInputPlus , x360ce). The only remapping that worked for me was wiinusoft when connecting a wiiu pro controller.

It played really well with the controller connected btw!
idk
i'd recommend having a controller that can be remapped on its own- i use an 8bitdo sn30 pro plus.
 
  • Like
Reactions: Zense

MrHuu

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
540
Trophies
0
Age
36
XP
1,441
Country
Netherlands
Here's a build of fceumm with the port limit removed (i did mention this limit right?).

Buttons mapped to player 2 seem to work fine so far.
So far i've been able play contra with 2 players mapped to different controls.
 

Attachments

  • fceumm_libretro_CIA_20-04-2020.7z
    809.4 KB · Views: 132
  • Like
Reactions: Zense

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,976
Trophies
2
XP
3,943
Country
Italy
Here's a build of fceumm with the port limit removed (i did mention this limit right?).

Buttons mapped to player 2 seem to work fine so far.
So far i've been able play contra with 2 players mapped to different controls.
Thanks! Yeah you did mention it but somehow it was still possible in most emulators to map the cpad and cstick to player two only. This however makes mapping and input redirecting A LOT easier since most redirecting programs don't accept using the right stick as abxy buttons.

Would this be easy to implement in general for other 3DS emulators as well or is it very specific?

Thank you again.
 

MrHuu

Well-Known Member
Member
Joined
Sep 19, 2015
Messages
540
Trophies
0
Age
36
XP
1,441
Country
Netherlands
The available axis don't seem to be bound to a specific port, so they aren't limited to the first port.
While we were able to map all buttons to an other player, retroarch simply ignores button presses on other ports than the first one.

https://github.com/libretro/RetroArch/blob/master/input/drivers/ctr_input.c#L54

Simply raising this check allows us to use buttons mapped to higher port numbers.

It should work for every core. But before suggesting this change, i think it should be discussed with someone more knowledgeable on the subject than me?
This is just a quick fix i guess..haven't tried building every core since it takes forever.. any favorites?
 

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,976
Trophies
2
XP
3,943
Country
Italy
The available axis don't seem to be bound to a specific port, so they aren't limited to the first port.
While we were able to map all buttons to an other player, retroarch simply ignores button presses on other ports than the first one.

https://github.com/libretro/RetroArch/blob/master/input/drivers/ctr_input.c#L54

Simply raising this check allows us to use buttons mapped to higher port numbers.

It should work for every core. But before suggesting this change, i think it should be discussed with someone more knowledgeable on the subject than me?
This is just a quick fix i guess..haven't tried building every core since it takes forever.. any favorites?
Thanks for the explanation! Very interesting.
My personal prefered ones are PCSX_rearmed, SNES9X 2005 Plus and Genesis GX Plus since there are lots of great coop and multiplayer games there.
 
Last edited by Zense,
  • Like
Reactions: MrHuu

Plasmaster09

Social Justice Potato
OP
Member
Joined
Feb 20, 2020
Messages
1,371
Trophies
1
Age
18
Location
somewhere that may or may not exist
XP
2,521
Country
United States
Thanks for the explanation! Very interesting.
My personal prefered ones are PCSX_rearmed, SNES9X 2005 Plus and Genesis GX Plus since there are lots of great coop and multiplayer games there.
I'd suggest FBAlpha (CPS2 specifically), SNES9x 2005 (2005 Plus runs quite a bit worse for me), FBNeo and MAME 2003 Plus.
 
  • Like
Reactions: MrHuu

Plasmaster09

Social Justice Potato
OP
Member
Joined
Feb 20, 2020
Messages
1,371
Trophies
1
Age
18
Location
somewhere that may or may not exist
XP
2,521
Country
United States
Here's a build of fceumm with the port limit removed (i did mention this limit right?).

Buttons mapped to player 2 seem to work fine so far.
So far i've been able play contra with 2 players mapped to different controls.
yes. thank you.
joy mech fight 2 player time baby!

--------------------- MERGED ---------------------------

I'd suggest FBAlpha (CPS2 specifically), SNES9x 2005 (2005 Plus runs quite a bit worse for me), FBNeo and MAME 2003 Plus.
Out of those... man CPS2 has some fantastic multiplayer games.
Also, since you're the guy responsible for the CPS3 core... I can't get it to work. I got the CPS3 roms of all three versions of Street Fighter 3 (and I tried it with the mame ones too just to be sure). "Failed to load content".
 
Last edited by Plasmaster09,
  • Like
Reactions: Zense

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,976
Trophies
2
XP
3,943
Country
Italy

Plasmaster09

Social Justice Potato
OP
Member
Joined
Feb 20, 2020
Messages
1,371
Trophies
1
Age
18
Location
somewhere that may or may not exist
XP
2,521
Country
United States
  • Like
Reactions: Zense

Plasmaster09

Social Justice Potato
OP
Member
Joined
Feb 20, 2020
Messages
1,371
Trophies
1
Age
18
Location
somewhere that may or may not exist
XP
2,521
Country
United States
CPS2 works flawlessly
Unfortunately CPS2 2-player results in a bit of lag, roughly 52-54 fps on average but it is tolerable
If I could get CPS3 working (@MrHuu, you probably know that one inside and out since you made the port in the first place lol) at all then it'd be incredible to basically have Street Fighter 3 multiplayer on a freaking 3ds
also once this pandemic ends I'll probably pick up a cheap android phone or something as an input redirection device and suddenly my n3ds becomes a portable multiplayer powerhouse
 
Last edited by Plasmaster09,

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,976
Trophies
2
XP
3,943
Country
Italy
CPS2 works flawlessly
Unfortunately CPS2 2-player results in a bit of lag, roughly 52-54 fps on average but it is tolerable
If I could get CPS3 working (@MrHuu, you probably know that one inside and out since you made the port in the first place lol) at all then it'd be incredible to basically have Street Fighter 3 multiplayer on a freaking 3ds
also once this pandemic ends I'll probably pick up a cheap android phone or something as an input redirection device and suddenly my n3ds becomes a portable multiplayer powerhouse
I found out in order to make my mame2003 roms boot I had to have them on the root of the SD card. Did you try this?
 

Plasmaster09

Social Justice Potato
OP
Member
Joined
Feb 20, 2020
Messages
1,371
Trophies
1
Age
18
Location
somewhere that may or may not exist
XP
2,521
Country
United States
I found out in order to make my mame2003 roms boot I had to have them on the root of the SD card. Did you try this?
That seems very strange but I'll try.

--------------------- MERGED ---------------------------

That seems very strange but I'll try.
It crashed. Didn't even start loading the game, just ARM11 exception crash.
Edited: Upon further trying, New Generation and Second Impact fail to load but Third Strike insta-crashes.
 
Last edited by Plasmaster09,
  • Like
Reactions: Zense

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,976
Trophies
2
XP
3,943
Country
Italy
That seems very strange but I'll try.

--------------------- MERGED ---------------------------


It crashed. Didn't even start loading the game, just ARM11 exception crash.
Edited: Upon further trying, New Generation and Second Impact fail to load but Third Strike insta-crashes.
What emulator is it again? Made sure you have the right romset?
 
General chit-chat
Help Users
  • Veho @ Veho:
    Once again I fell down the martial arts rabbit hole and am plumbing the murky depths of the internet's various martial arts and fighting crafts echo chambers.
  • Veho @ Veho:
    I like to get up to speed on that every now and then, see what the newest high wisdom everyone is spouting nowadays.
  • Veho @ Veho:
    If you're not actively involved and only get up to speed every few years or so, you can see the tide of public opinion flapping worse than my dong while I'm skipping naked down a hallway.
  • Veho @ Veho:
    And the "established wisdom" changes every decade.
  • Veho @ Veho:
    England is installing a new king.
  • Veho @ Veho:
    Their previous monarch has reached End Of Life and is being replaced.
  • Veho @ Veho:
    Like most forced updates, this one has terrible support and was very poorly received by the userbase.
  • Psionic Roshambo @ Psionic Roshambo:
    And mostly just adds useless features
  • Psionic Roshambo @ Psionic Roshambo:
    We need AI overlords
  • Veho @ Veho:
    Someone mowed a giant dick into the lawn in front of Westminster Abbey.
  • Veho @ Veho:
    Just in time for the coronation.
  • Veho @ Veho:
    That's what I said, maybe they were just doing a recreation of the Cerne Abbas giant but didn't finish it in time.
  • Veho @ Veho:
    The Abbey building was supposed to be the hat.
  • H @ hecker_isaac:
    goodmorning peeps
  • Psionic Roshambo @ Psionic Roshambo:
    Bell end lol
  • K3N1 @ K3N1:
    I got gas
  • Psionic Roshambo @ Psionic Roshambo:
    Save it Ken stuff is expensive lol
  • K3N1 @ K3N1:
    I save it for Walmart
  • Psionic Roshambo @ Psionic Roshambo:
    https://imgur.com/gallery/ZfBfPgk 100 million... Can think of better uses but OK lol
  • K3N1 @ K3N1:
    $35 just for drinks milk and bread today
  • K3N1 @ K3N1:
    I like how this is #2 in headphones Perytong Sleep Headphones Wireless, Bluetooth Sports Headband Headphones with Ultra-Thin HD Stereo Speakers Perfect for Sleeping,Workout,Jogging,Yoga,Insomnia, Air Travel, Meditation, Grey https://a.co/d/fPOFL4J
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=PIm2ZaWD-Ig