Page 1 of 1

How to Play as Player 2

Posted: Thu Oct 08, 2020 9:47 am
by flipflop
Maybe I'm bad at searching but I can't figure out how to play as the second player.

Some cores have a "switch joysticks" entry in their OSD but I didn't see any such thing in the arcade cores I have tried.

Re: How to Play as Player 2

Posted: Thu Oct 08, 2020 4:08 pm
by JudgeDrokk
Isn't the second joypad to be fired up the one that is set to PLAYER TWO?

(providing that both have been "set up" - they all all assigned and saved after setting up - so even if you have two of the same pad then u have to set both regardless. (i think)

Re: How to Play as Player 2

Posted: Fri Oct 09, 2020 2:13 pm
by ash2fpga
Not sure if this is the same thing. I was trying to start SF2 (WW/CE/HF) on the CPS1 core as player 2, but could not figure out a way, besides starting both P1 and P2, and winning as P2. I tried the specific keyboard shortcuts for both 2P coin and 2P start, but those did not appear to be behave any differently from mapped buttons on the controllers. I thought this was something that worked in the arcade, but its been a minute since I played on arcade hardware. I might be getting mixed up with later beat 'em ups, too.

Re: How to Play as Player 2

Posted: Sun May 15, 2022 3:24 pm
by Digitron
Did you ever find a fix for this? I'm trying to play as player 2 on the PSX core with one controller.

Re: How to Play as Player 2

Posted: Sun May 15, 2022 4:07 pm
by aberu
Adding a player swap is going to depend on each core. Some cores have it, some don't.

Re: How to Play as Player 2

Posted: Sun May 15, 2022 4:24 pm
by TLPD-AVW
Some arcade cores would really benefit from having a player input switch, e.g. Gauntlet where in the 4 player version each character class is tied to player number.

Re: How to Play as Player 2

Posted: Sun May 15, 2022 4:26 pm
by aberu
Here's how it was added to the SNES core, for perspective:

https://github.com/MiSTer-devel/SNES_Mi ... ES.sv#L344

Code: Select all

"O7,Swap Joysticks,No,Yes;",
https://github.com/MiSTer-devel/SNES_Mi ... ES.sv#L437

Code: Select all

wire       joy_swap = status[7];
https://github.com/MiSTer-devel/SNES_Mi ... ES.sv#L944

Code: Select all

ioport port1
(
.JOYSTICK1((joy_swap ^ raw_serial) ? joy1 : joy0),
);
https://github.com/MiSTer-devel/SNES_Mi ... ES.sv#L964

Code: Select all

ioport port2
(
.JOYSTICK1((joy_swap ^ raw_serial) ? joy0 : joy1),
);
https://github.com/MiSTer-devel/SNES_Mi ... 1031-L1035

Code: Select all

		USER_OUT[1] = joy_swap ? ~JOY2_CLK : ~JOY1_CLK;
		USER_OUT[4] = joy_swap ? JOY2_P6 : JOY1_P6;
		JOY1_DI = joy_swap ? JOY1_DO : {USER_IN[2], USER_IN[5]};
		JOY2_DI = joy_swap ? {USER_IN[2], USER_IN[5]} : JOY2_DO;
		JOY2_P6_DI = joy_swap ? USER_IN[4] : (LG_P6_out | !GUN_MODE);
It would probably be slightly different in many cores.

I just added joystick swap to the Joust2 core as an example as well.

Re: How to Play as Player 2

Posted: Mon May 16, 2022 1:37 pm
by ItalianGrandma
I would love to see “Swap Joysticks” get added to every core.