Hacking Circle Pad patches for Super Mario 64 DS and other games (in TwilightMenu with TWPatcher and RTCom)

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
106
Trophies
0
XP
458
Country
Russia
I'm trying to apply the remapper data you set in the link of this reply (removed the link because I'm too new to post links currently), but whenever I try to open the .dat file in a text editor - even in a dedicated text editor explicitly meant for .dat files - about half the characters get rendered as unrecognized characters. Is there a specific text editor you'd recommend that I use which will actually let me see what I'm looking at? Ideally on Android as my computer is so old and slow that it's borderline unusable at times (and I just figured out how to transfer files over FTPD using my phone), but if you only know of programs on Windows 10 then it's not really the end of the world
You can edit the ".dat" files with R4CCE and insert the remapper output there. I believe you might find the tutorials on youtube if you don't know how to use it. Sadly I am not familiar with any solution that would work on phones.
 

Foxegory5

Member
Newcomer
Joined
Jan 31, 2022
Messages
6
Trophies
0
Age
24
XP
33
Country
United States
You can edit the ".dat" files with R4CCE and insert the remapper output there. I believe you might find the tutorials on youtube if you don't know how to use it. Sadly I am not familiar with any solution that would work on phones.
I'm aware of R4CCE, I've seen it pop up dozens of times in this thread alone. That said, it's unfortunate, but it is what it is. I'll download R4CCE later on, hope you have a good day!
 
  • Like
Reactions: shoco

BrBri604

New Member
Newbie
Joined
Aug 14, 2023
Messages
3
Trophies
0
Age
17
XP
21
Country
United States
And here is the mod for Metroid.
DPad Down to switch to the morphball form, and Left, Up, Right for choosing between 3 main weapons on the touchscreen. The DPad itself is not ignored and still acts as usual for better or worse. The best I can do.
I don't really understand why you need it though, the touchscreen is the main point of the whole console and its games, and in this specific game it's not harder to use than actual physical buttons.
Has any d-pad patch been made for Island of Happiness yet? I really want to play that game but I really hate that its touchscreen controls only lol. Thanks! (Edit: I didn't mean to click on this one to reply to when I was seeing the conversation about Island of Happiness lol. Thanks again for all that you do!)
 

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
106
Trophies
0
XP
458
Country
Russia
Is there a good tutorial (written or otherwise), on using the Key Remapper? It's a little arcane to me.
Sadly, I don't remember anyone, including myself, writing it. Although it does look arcane, it's quite simple nevertheless.

Basically, each row of the table represents a key on your 3DS. And each column represents an 'action'. Each time you press an 3DS key, it's going to trigger some actions that are mapped to it (if any). An action is just an NDS key press.

Here is a couple of examples of the remapper tables, I hope it'll become clear.
- Unmap everything (no matter which keys you press, the game won't detect them, making it effectively unplayable)
- Nintendo's default Each standard 3DS key is mapped to its NDS counterpart (i.e. to itself). The CPad is mapped to the DPad. You get the same by not using any patches at all.
- Invert the DPad (i.e. if you press `DPad Left`, the game will see it as if you would actually press `DPad Right`)
- Swap L and R
- Pressing 'Select' will trigger all keys at once
- ZR/ZL are mapped to R/L, and the CStick is mapped to the DPad

As usual, when you're done with the table, just copy the cheat code at the bottom and insert it into the usrcheat.dat file via R4CCE or something else
 

IronTheNori

New Member
Newbie
Joined
May 29, 2023
Messages
4
Trophies
0
Age
31
XP
12
Country
United States
Sadly, I don't remember anyone, including myself, writing it. Although it does look arcane, it's quite simple nevertheless.

Basically, each row of the table represents a key on your 3DS. And each column represents an 'action'. Each time you press an 3DS key, it's going to trigger some actions that are mapped to it (if any). An action is just an NDS key press.

Here is a couple of examples of the remapper tables, I hope it'll become clear.
- Unmap everything (no matter which keys you press, the game won't detect them, making it effectively unplayable)
- Nintendo's default Each standard 3DS key is mapped to its NDS counterpart (i.e. to itself). The CPad is mapped to the DPad. You get the same by not using any patches at all.
- Invert the DPad (i.e. if you press `DPad Left`, the game will see it as if you would actually press `DPad Right`)
- Swap L and R
- Pressing 'Select' will trigger all keys at once
- ZR/ZL are mapped to R/L, and the CStick is mapped to the DPad

As usual, when you're done with the table, just copy the cheat code at the bottom and insert it into the usrcheat.dat file via R4CCE or something else
Thank you for the info! I understand better now.
I got a few more questions if you don't mind!
First question is how are you getting analogue cpad input? There's a few games I want it for and I don't want to bother you every time.
The second is it possible rebind touch inputs (touch commands?) to the physical buttons/cpad?
 

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
106
Trophies
0
XP
458
Country
Russia
First question is how are you getting analogue cpad input? There's a few games I want it for and I don't want to bother you every time.
Are you asking as a programmer? If not, then the remapper is your best bet, but it will only give you 4 directions to map to any 4 buttons (nothing 'analogue').
There is a link on Github in the first post, it contains all the source code from my mods. It's not exactly super understandable, but you can ask me some more specific questions. Here I tried to explain a bit how these mods work.

The second is it possible rebind touch inputs (touch commands?) to the physical buttons/cpad?
Not as far as I know. It's only possible by directly modifying the game's code. And then you can do whatever you want. I should point out, that this all is specific to the NDS emulation on the 3DS, which is the only thing I am remotely familiar with.


Has any d-pad patch been made for Island of Happiness yet? I really want to play that game but I really hate that its touchscreen controls only lol. Thanks! (Edit: I didn't mean to click on this one to reply to when I was seeing the conversation about Island of Happiness lol. Thanks again for all that you do!)
Here. But it's purely a DPad mod. To interact with objects you still need to tap on them on your touchscreen.
I am not sure if everything is absolutely correct. And I don't really have an NDS to test it, so here are two versions, one of them should work.
 

Attachments

  • harvest_moon_ioh_dpad_mod_23FFC3C.zip
    1.9 KB · Views: 3
  • harvest_moon_ioh_dpad_mod_27FFC3C.zip
    1.9 KB · Views: 2
  • Like
Reactions: IronTheNori

BrBri604

New Member
Newbie
Joined
Aug 14, 2023
Messages
3
Trophies
0
Age
17
XP
21
Country
United States
Here. But it's purely a DPad mod. To interact with objects you still need to tap on them on your touchscreen.
I am not sure if everything is absolutely correct. And I don't really have an NDS to test it, so here are two versions, one of them should work.
Thanks man, if you ever are able to create one with interacting with A and B buttons, please let me know! Also, am I able to use this for emulators? Is there any sort of file that I can use to easily apply the mod?
 
Last edited by BrBri604,

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
106
Trophies
0
XP
458
Country
Russia
Thanks man, if you ever are able to create one with interacting with A and B buttons, please let me know! Also, am I able to use this for emulators? Is there any sort of file that I can use to easily apply the mod?
I've tested it with NoGBA, Desmume, and MelonDS. Each of them allows you to copy/paste the mod's cheat code inside
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    I ate pizza
    +1
  • Xdqwerty @ Xdqwerty:
    Awkward silence again
  • Xdqwerty @ Xdqwerty:
    I imagine a family guy cutaway where Peter is in fire emblem and when losing all his health in a battle he does that thing he does when hurting his knee
  • Xdqwerty @ Xdqwerty:
    Alone, alone, alone...
  • Sicklyboy @ Sicklyboy:
    same tho
    +1
  • Xdqwerty @ Xdqwerty:
    Thank god someone came in
  • BakerMan @ BakerMan:
    i just moved on to arena 16 in clash royale
  • BakerMan @ BakerMan:
    i stomped a fkn logbait player
  • Xdqwerty @ Xdqwerty:
    Damn the game weights 451 mb
  • Xdqwerty @ Xdqwerty:
    Thats too much storage
  • Xdqwerty @ Xdqwerty:
    (for a Mobile Game)
  • Xdqwerty @ Xdqwerty:
    Damn, i'm alone again
  • Xdqwerty @ Xdqwerty:
    Good night i guess
  • HiradeGirl @ HiradeGirl:
    It's weird. Thursday/Friday and still not a lot of people here.
  • HiradeGirl @ HiradeGirl:
    @Xdqwerty Good animation. :rofl2:
  • HiradeGirl @ HiradeGirl:
    Is there any chat app for Android or iOS? Like for getting notifications for every new message even if I'm not tagged?
  • Jayro @ Jayro:
    Besides e-mail notifications, I don't believe so.
  • K3Nv2 @ K3Nv2:
    I think you can subscribe to certain threads and enable push notification
  • K3Nv2 @ K3Nv2:
    Or bookmark it using this
    Screenshot-20240222-230124-Brave.jpg
    +1
  • SylverReZ @ SylverReZ:
    Hello chat
    SylverReZ @ SylverReZ: Hello chat