Richard, please could you help me with an issue I am having with button mapping.
Initially I was having trouble with the coin button not working on some cores, and not being able to be re-mapped in the menu. I have made some progress on that and it would seem it was linked to the Electrocoin-Jamma converter board tying Coin1&2 together, and I have resolved this now.
However, I am having issues on any core where I need to map player 2 controls.
Robotron is the prime example. In its stock state I cannot fire with the right side. So Pressing F12 on a keyboard and going into remap controls, it lets me map all the left hand side of the panel, but when it gets to the inputs for firing (ie the right joystick), it does nothing. Similarly with the 2p fire and start buttons, they are just not recognised.
If I run the Input Testing utility, everything seems to be working ok
Playing Son Son is a weird one....a 2 player game plays perfectly on player 1 & player 2 controls . However even though I didn't need to, as an experiment I tried to go into the config and remap the controls. I intended to remap them to what they already were, but again it gets to the 2 player inputs and the buttons or joystick on the right hand side are again not recognised.
I am at a bit of a loss as to what is going on. It seems like the 2p player side is being locked out, or is not being classed by the core as the same method of input or something like that. I tried changing the line "player_2_controller=usb-1.7/input3/" in the ini file to be the same as player 1, but it made no difference.
If someone could have a go at mapping 1p + 2p sticks to Robotron and let me know how they get on, that would be helpful.
Thanks.
No problem at all -
MiSTer joystick mapping is a bit weird sometimes, expecially with twin stick games. It tries to be inteligent and that seems to cause issues when you think you are following the on-screen instructions.
Be aware there are also different generations of Arcade cores, some using an older framework that used different buttons for mapping coin, start etc.
It'll all get streamlined over time as cores are updated and refined.
Anyway back to Robotron 2084 as an example - (I would have posted this sooner, but I was playing Robotron for a solid 15 minutes).
First bit of advice, do not change global mapping - as a brand new system the controller mapping is as per most modern Arcade & Console cores, so should not need re-mapping. Only re-map with games that seem to not recognise Coin or start - each game can have a unique controller map done inside the game menu (F12). Remember to save settings and also reset the core to see any changes you have made - this is really important as you may change something and if it's not saved and the core reset it will not be implemented in that play session!
Having a keyboard plugged in is super helpful for remapping -
With Robotron - open the game settings menu (F12).
Go down to Define robotron buttons
Do the control mapping on Joystick 1 (Right / Left / Down/ Up)
Then is says Fire Right - Do not press anything, just spacebar on the keyboard to be 'undefined'
Same with Fire down - just skip with the spacebar 'undefined'
Same with fire up - just skip with the spacebar 'undefined'
Same with fire left - just skip with the spacebar 'undefined'
You can select a start button on player 1 controls
Don't select anything for Player 2 start (It will be auto-mapped for you) - just press spacebar for 'undefined'
Now select your player 1 coin button or activate coin-mech
Select a button if you want advance.
Select if you want auto up and the next one pause. or you can set these to both 'undefined'
Do you want to setup alternative buttons? - No
Then you are back at the menu
Go back a page in the menu (right)
You should see an option Fire: - select until you see 'Second Joystick'.
Now make sure you save settings - very important
Then reset the core and it should be fully working in dual joystick mode.
You will never need to do that again for Robotron2084.
I know that sounds a bit complex, but it's second nature when you work out the MiSTer O/S is trying to help you with auto-mapping controls to games. What I mean by that is always try to setup just player 1 and it will automatically set the same controls for players 2,3,4 etc.. If you try to map defined player 1 I/O inputs as being used for player 2, then it gets upset.
Try it and let me know if it's all working for you. It's working well here for Robotron2084, I'm going to give it another credit
