ROM Hack Can you edit the button controls on a ds rom?

  • Thread starter Thread starter Jugo
  • Start date Start date
  • Views Views 15,842
  • Replies Replies 27
  • Likes Likes 1

Attachments

Last edited by skawo,
Thanks for the reupload.

"pretty primitive; all it does, is it takes the pressed buttons value, then swaps the values around."
It is a valid and fairly simple technique. Works, results in a small patch, does not slow down the game, should not tread on the toes of anything else, you presumably don't have the simpler choice of abusing an existing controller mapping option (if the game gives you even a bunch of prebaked choices then that can be enough to change those instead)...

If you wanted to hunt down every relevant read of the controls/debounced section and change what bit/bit combo it looks for then go for it, sometimes we have to do something like that if it is only a minigame or section that needs changing (or messes with menus, would also need a massive graphics change or something) but again the method used here is fine.
 
Thank you both very much! I really appreciate it!
Edit:

Xdelta reports "xdelta3: target window checksum mismatch: XD3_INVALID_INPUT.
Both on Arch Linux and Windows 10.
Is there a way to bypass this issue? It's the USA version of the game dumped from my own card. (The rom works fine on both a real DS, 3DS, DSi (Using SRLoader) and in DeSmuME.

Edit2: Nevermind, I used the -n flag and it patched the file without issue. Patch is working! Thank you very much!

Edit3: :unsure: The game works, but the input is moving way too fast, holding B causes kirby to "Super jump" and navigating the menu is very difficult. It's like the input speed is 10x too fast. I can't jump without Kirby inhaling air and "Floating", bug isn't present with original rom. The button swap definitely worked, but something with the patch causes input to be looping rapidly. Like a turbo function actually.
It applies to all input, holding down any button causes it to press that button repeatedly (Which isn't normal) I was ignoring it at first because it was pretty playable, until I tried to use the "wheelie" powerup, where pressing the button for just a little too long will instantly make kirby stop rolling.
 
Last edited by Xeddius,
Well, like I said, I didn't extensively test the patch, or anything. Perhaps I'll see if I can improve it later.
 
  • Like
Reactions: Xeddius
Hey skawo I was wondering if you could change the touchscreen controls on chibi robo clean sweep and make them fully mapped to the buttons. If you do that would be amazing!
 
Which game would you want this done to?

I'm fairly sure I could get it done pretty quickly.

EDIT:


Oh. OK. Will try.
Hey Skawo, would it be easy enough to remap controls for Mario Kart DS?
like this:
Y=acceleration
B=brake
A=unused
X=use item

constantly holding A for acceleration gets really uncomfortable way too quickly, any help would be much appreciated.
 
Last edited by sunnoki,

Site & Scene News

Popular threads in this forum