|
Post by rittersport on Aug 31, 2017 2:08:23 GMT
Has anyone figured out how to have a specific controller setup for a specific emulator? The old NES system reversed the A and B buttons, but if I remap my controller that way, then other systems are screwed up. I would like to have just the NES emulator have those buttons remapped.
Looking around, I see that others have this issue with other emulators, but I can't quite figure out exactly what to put into the emulator-specific config file. Any help would be greatly appreciated. Playing Mike Tyson's Punchout and Double Dragons II with the buttons reversed is really a pain.
|
|
|
Post by norska on Aug 31, 2017 5:21:01 GMT
Do you try to modify the maping in this file :
/opt/retropie/configs/nes/retroarch.cfg
|
|
|
Post by rittersport on Aug 31, 2017 10:37:45 GMT
Thanks. That's exactly what I want to do, but I'm not sure what to put there. I have two controllers -- the Saturn style and the PS3 style (plus I might add a real PS3 and and XBox if I can get bluetooth working). Do you know what I would put in that file to reverse A and B for all the controllers? I think I have to do something similar in the snes directory, but reverse A, B, X, and Y.
|
|
wryly
Junior Member
Posts: 72
|
Post by wryly on Aug 31, 2017 10:54:38 GMT
Odd. I tried Super Mario Bros. and the buttons were fine. A jumped and B fired, as I'd expect.
|
|
|
Post by norska on Aug 31, 2017 15:30:53 GMT
|
|
|
Post by rittersport on Sept 1, 2017 10:40:00 GMT
I have seen that page. Do you think it's as simple as input1_A="2" and input1_B="1"? I'll have to give it a try.
|
|
|
Post by norska on Sept 1, 2017 12:15:25 GMT
To be honest, I currently don't have time to make trials (during one week), but it's what I'll do, create a backup of your file before to have a quick restore solution, there's not many risk.
|
|
|
Post by rittersport on Sept 1, 2017 13:06:51 GMT
I'll give it a try. It's a bit of a hassle using the machine with a keyboard and my phone as a mouse, at least where I currently have it set up. And, the screen overscans in desktop mode, so I can't see the very bottom or top, but I can probably work it out. If anyone has a chance to try something that works, please post here. I'll come back with my results when I give it a try over the weekend.
|
|
|
Post by rittersport on Sept 2, 2017 13:15:43 GMT
OK, I've tried every combination of input_a_btn ="1" and "2" and input_b_btn = "2" and "1" and I've put it before and after the #INCLUDE line in the retroarch.cfg file in the nes sub-directory of /opt/retropie/configs and none of it made any difference. Any other ideas?
|
|
|
Post by rittersport on Sept 2, 2017 13:35:58 GMT
So, as soon as I posted this, I tried one more thing and got it working. To get the NES controllers working right, I put this into the retroarch.cfg file in /opt/retropie/configs/nes:
input_player1_a_btn = 1 input_player1_b_btn = 2 input_player2_a_btn = 1 input_player2_b_btn = 2
The page reference above is confusing (to me, anyway) because it seems to imply that you should have quotes around the number, at least early in the page. It also seems to say that you can leave the player1 or player2 part out, again early in the page. Towards the bottom of the page is where it has a sample override file and it's clear there. Thanks for your help!
Another thing I discovered is that if you hit alt-F1 when in the Armbian desktop, you can get a menu to pop up, so you can avoid having to use a mouse at all. You can open a terminal, use alt-space to move it to someplace more visible, and just use a keyboard for everything. Now, if I can just figure out how to fix the overscan issue...
|
|
wryly
Junior Member
Posts: 72
|
Post by wryly on Sept 5, 2017 13:38:56 GMT
For the overscan, you can sort that out if your TV ratio settings have a 'Just Scan' option, rather than using 16:9.
|
|
|
Post by rittersport on Sept 5, 2017 20:26:23 GMT
Won't that cause it to be distorted on the left and right parts of the screen? Or, is the idea that most of the stuff you'd do with the RES would fit inside the old 4:3 ratio anyway, so the distortion is hidden?
|
|
abe
New Member
Posts: 11
|
Post by abe on Sept 10, 2017 5:14:54 GMT
Press Select and Start together while the emulator is running, you can find the controller config there. After you've changed the settings, be sure to save the controller settings. It's somewhere under the same menu. If you don't save them, you'll have to remap them each time you run a game.
|
|
|
Post by rittersport on Sept 10, 2017 11:23:41 GMT
Thanks. I tried that early on and it worked for the game I was playing, but after rebooting, it didn't work. It's OK, though, since I was able to get it working using my method above.
|
|