I am wanting to change the button mapping for DKC1,2,3. I'd like to change the functions of button B to be button A and vice versa.
possible? guidance please?
Thanks!
How to re-map control buttons on DKC?
Moderator: Moderators
Forum rules
- For making cartridges of your Super NES games, see Reproduction.
- benjaminsantiago
- Posts: 84
- Joined: Mon Jan 20, 2014 9:40 pm
- Location: Astoria, NY
- Contact:
Re: How to re-map control buttons on DKC?
You are trying to do this in software? My inclination is to say that it would be easier to build/hack a controller that would remap any of the buttons for you. A schematic for a controller is over here (if you want to do it from scratch): http://www.gamesx.com/controldata/nessnes.htm
If not, I'm not sure exactly how it would work, but you'd probably have to do something like (in a debugging emulator like the debugging version of SNES 9x):
wait for a read of $4218/$4219
http://wiki.superfamicom.org/snes/show/Registers
Then there will probably be something like a mask to check a specific joypad button, you'll probably just have to switch which bit is getting masked when.
The issue may be that you'd have to check for all the instances. I am not sure how it would work in an "official game" but the B/A buttons work differently in different situations (ie when you ride different animal characters, or are in a menu for selecting your file...haven't played the DKC games in very long). The input may also be stored in different variables in RAM for different purposes (ie a momentary press, versus a hold). See bazz's sample code:
http://wiki.superfamicom.org/snes/show/ ... ller+Input
If not, I'm not sure exactly how it would work, but you'd probably have to do something like (in a debugging emulator like the debugging version of SNES 9x):
wait for a read of $4218/$4219
http://wiki.superfamicom.org/snes/show/Registers
Then there will probably be something like a mask to check a specific joypad button, you'll probably just have to switch which bit is getting masked when.
The issue may be that you'd have to check for all the instances. I am not sure how it would work in an "official game" but the B/A buttons work differently in different situations (ie when you ride different animal characters, or are in a menu for selecting your file...haven't played the DKC games in very long). The input may also be stored in different variables in RAM for different purposes (ie a momentary press, versus a hold). See bazz's sample code:
http://wiki.superfamicom.org/snes/show/ ... ller+Input
Re: How to re-map control buttons on DKC?
I think you are right, I'll go the hardware route.
THANK YOU for everything you wrote
THANK YOU for everything you wrote
- benjaminsantiago
- Posts: 84
- Joined: Mon Jan 20, 2014 9:40 pm
- Location: Astoria, NY
- Contact:
Re: How to re-map control buttons on DKC?
No problem!
I'm surprised that there was never a third party controller like that (the times I needed to remap controllers in an options menu I usually felt underwhelmed by my choices).
Coincidentally, I took apart a third party SNES controller the other day and it seemed to have extra pads it would be easy connect wires to. Also the L and R buttons were a separate little board attached by wires so it would be pretty easy to hack that. This one was a Tomec. Looked kind of like this:
https://thomashunter.name/wp-content/up ... G_0557.jpg
(sorry image is huge, just left the link).
I'm surprised that there was never a third party controller like that (the times I needed to remap controllers in an options menu I usually felt underwhelmed by my choices).
Coincidentally, I took apart a third party SNES controller the other day and it seemed to have extra pads it would be easy connect wires to. Also the L and R buttons were a separate little board attached by wires so it would be pretty easy to hack that. This one was a Tomec. Looked kind of like this:
https://thomashunter.name/wp-content/up ... G_0557.jpg
(sorry image is huge, just left the link).
Re: How to re-map control buttons on DKC?
There was the Tyco Power Plug accessory that added macro features to an existing Super NES controller.
- benjaminsantiago
- Posts: 84
- Joined: Mon Jan 20, 2014 9:40 pm
- Location: Astoria, NY
- Contact:
Re: How to re-map control buttons on DKC?
ha I think I actually still have one somewhere. I remember it being a bit underwhelming.tepples wrote:There was the Tyco Power Plug accessory that added macro features to an existing Super NES controller.
Not sure if you are working on this at the moment, but I had a day off and was messing around with stuff related to this thread. This is probably pretty noob stuff if your electronics knowledge is on point, but I haven't messed with TTL-type chips in a long time. Anyway I tried out this circuit I came across:Markfrizb wrote:I think you are right, I'll go the hardware route.
THANK YOU for everything you wrote
http://www.gamesx.com/controldata/nessnes.htm
and recreated it on a breadboard. It worked pretty well. Only thing was I had to sacrifice the plug from a third party SNES controller:
http://instagram.com/p/lQjHxEP9S-/
Re: How to re-map control buttons on DKC?
Hey,
I've made that circuit before. It works great! The reason why I asked the question of button remapping is that I make an adapter/interface to run a Snes (and NES) to jamma (arcade game cabinet). My arcade cabinets only have 3, sometimes 2 push buttons....so I was trying to get DK's buttons to be the same as mario world and some others......all within the constraints of the arcade cabinet button configurations.. A,B, and Y are my buttons 1,2 & 3. DKC uses button X (to swap kongs) and I don't have a 4th button on the cabinet. So this is why I was asking about the button swapping... To make the game conform to the ABY mapping. But I worked out my issues with some mux's. (yes, I know select swaps the kongs too)
Appreciate you thinking of me.
. Thanks!!!!
I've made that circuit before. It works great! The reason why I asked the question of button remapping is that I make an adapter/interface to run a Snes (and NES) to jamma (arcade game cabinet). My arcade cabinets only have 3, sometimes 2 push buttons....so I was trying to get DK's buttons to be the same as mario world and some others......all within the constraints of the arcade cabinet button configurations.. A,B, and Y are my buttons 1,2 & 3. DKC uses button X (to swap kongs) and I don't have a 4th button on the cabinet. So this is why I was asking about the button swapping... To make the game conform to the ABY mapping. But I worked out my issues with some mux's. (yes, I know select swaps the kongs too)
Appreciate you thinking of me.