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
125
Trophies
0
XP
536
Country
Russia
oh but cant you undo the dpad with the keymapper?
No, the remapper works on the 3DS side (TwlBg, a firmware or a process behind the NDS hardware emulation), when all my game-specific CPad mods work on NDS side (i.e. inside the game itself). If you unmap the DPad in the remapper, neither the game itself nor my patch will be able to read its keys (they can't know which actual physical keys are pressed behind the remappings).

By three weapons, I meant the tree top-middle buttons on the touchscreen (the beam mode, missile mode, and "special" weapon mode).

And thanks for the detailed explanation of what you want. If it's all possible, I'll try to do it when I have time. But before that, I don't exactly understand some of your control elements. What do you want to do with ZL/ZR? Map them to R/L?

Here is what I get:
Code:
A + DPad         - Gyro
B                 - Jump
Select             - Scan-Visor
Start             - Start
DPad Left/Right - Previous/Next "special" weapon
DPad Up         - Beam mode
DPad Down         - Missile mode
L                 - Morphball Boost / Imperialist Zoom
R                 - Shoot
X                 - Morphball mode
Y                 - Morphball Boost / Imperialist Zoom (same as L)
CPad             - movement
CStick            - aiming
ZL                - ???
ZR                - ???
 

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
267
Country
That's strange. I don't think I've ever encountered your case, as well as these orange lines. For now, I don't really know how to help. Usually it's just the problem with two TwlBg's (as described in the troubleshooting section), but if you really have used widescreen patches and they worked, then at least the TwlBg is definitely patched.

As a last resort, have a look at these two files.
First is a tweaked mod for KH 358/2 without that white screen freeze. The Circle Pad still should not work, but the game is supposed to load correctly. Just in case, wait for a minute after starting it, in case it needs time to load. If it indeed boots normally (and the cpad still isn't functioning), then the problem is certainly related to RTCom.
The second file is just a simple diagnostic NDS app. Launch it, wait for a minute, and try to use the cpad, some of the numbers on the bottom screen should change (ideally). Make sure there's a patched "TwlBg.cxi" (with enabled RTCom) at "/luma/sysmodules/"

Finally, you could try DeadSkullzJr's xdelta version of the SM64DS patch . It doesn't require cheats and usrcheat.dat, but utilizes the same RTCom mechanism (in case there's something wrong with loading huge cheatcodes on your flashcard or something like that).
sorry for the very late reply but 358/2 did not boot. It got stuck in a white screen
as for the rtcom app, none of the numbers got updated including date&time
 

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
125
Trophies
0
XP
536
Country
Russia
sorry for the very late reply but 358/2 did not boot. It got stuck in a white screen
as for the rtcom app, none of the numbers got updated including date&time

Ok. Here is the last one. I've increased the time it takes to initialize all the stuff. Launch it and wait for a couple of minutes (if nothing happens). Sometimes it helps for some people for some reason
 

Attachments

  • KH_358_slow_initialization.zip
    24.7 KB · Views: 23

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
267
Country
Ok. Here is the last one. I've increased the time it takes to initialize all the stuff. Launch it and wait for a couple of minutes (if nothing happens). Sometimes it helps for some people for some reason
did not work sadly
 

Vendicatorealato

Active Member
Newcomer
Joined
Jan 22, 2023
Messages
34
Trophies
0
XP
470
Country
Italy
I tried the main version of the patch, Kingdom Hearts 358/2 Days (EUR) boots correctly on my side with both CPad solo version and CPad + CStick version. My configuration is the same that I told previously, the only difference is that have updated TWL to v26.2.0.
lots of orange lines appear on the screen for a moment and then the game frozes
Those depend on TWPatch build 2023/07/21, it’s the rtcom debug feature; it has been disabled in build 2023/07/22.
 
Last edited by Vendicatorealato,

Phantron

Member
Newcomer
Joined
Mar 17, 2021
Messages
11
Trophies
0
Age
35
XP
97
Country
Germany
shoco, sorry that I have overcomplicated it. yeah just make ZL=R and ZR=L (DS L/R) ! 3DS L = ZL ; 3DS R = ZR. thank you in advance a LOT

edit: jumping on L instead of Zoom/boostball would be even better. (ZL should still be Zoom)
 
Last edited by Phantron,
  • Like
Reactions: shoco

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
267
Country
I tried the main version of the patch, Kingdom Hearts 358/2 Days (EUR) boots correctly on my side with both CPad solo version and CPad + CStick version. My configuration is the same that I told previously, the only difference is that have updated TWL to v26.2.0.

Those depend on TWPatch build 2023/07/21, it has the rtcom debug feature enabled; it has been disabled in build 2023/07/22.
are you using an r4 card or twilight menu?
 

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
125
Trophies
0
XP
536
Country
Russia
did not work sadly

Good, another one. The CPad mod's initialization consists of several steps. Because there is seemingly no way to tell at which step the game crashes for you, I've made the transitions manual by pressing R. So, start the game and wait for a minute; if it doesn't freeze, go to the gameplay area from the main menu (i.e. load a save, just in case). Press R and wait for several seconds. If it's okay, press again. And so on, I think 6 or 7 times. I would like to know after what press the game is finally gonna freeze. If it, yet again, happens right away (without R or anything), it also should mean something, I guess
 

Attachments

  • KH_358__step_by_step_init.zip
    13.3 KB · Views: 19

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
267
Country
Good, another one. The CPad mod's initialization consists of several steps. Because there is seemingly no way to tell at which step the game crashes for you, I've made the transitions manual by pressing R. So, start the game and wait for a minute; if it doesn't freeze, go to the gameplay area from the main menu (i.e. load a save, just in case). Press R and wait for several seconds. If it's okay, press again. And so on, I think 6 or 7 times. I would like to know after what press the game is finally gonna freeze. If it, yet again, happens right away (without R or anything), it also should mean something, I guess
orange lines appeared for a second after the first one but it didn't froze. it froze after the 10th

correction: it won't freeze until i start moving via cpad
 
Last edited by selcuk,

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
125
Trophies
0
XP
536
Country
Russia
orange lines appeared for a second after the first one but it didn't froze. it froze after the 10th
Can you try it again with larger pauses between presses (and try it several times just in case)? And are you sure it happens after using the CPad? If yes, that let's check this one for the last time, I can't make any sense out of it. This one won't work, but I've removed the only place it could crash when using the cpad, so at least it shouldn't do the usual thing (ideally).
And make sure you are using the correct version (usa or europe), although it most likely doesn't matter. If I remember correctly, you were using a flashcard, so it purely theoretically could do something unexpected (for me). Can you somehow test a game directly from an SD card?

shoco, sorry that I have overcomplicated it. yeah just make ZL=R and ZR=L (DS L/R) ! 3DS L = ZL ; 3DS R = ZR. thank you in advance a LOT

edit: jumping on L instead of Zoom/boostball would be even better. (ZL should still be Zoom)

Here. I've mapped the weapons to the DPad, the visor to Select, the gyro to A+Dpad, and the morphball to X. Also to free other keys, now you can jump only on B. The rest can be achieved with the remapper (here is a prepopulated link)

Code:
Controls without the Remapper:
CPad              - movement
CStick            - aiming
A + DPad          - Gyro
B                 - Jump
Select            - Scan-Visor
Start             - Start
DPad Left/Right   - Previous/Next "special" weapon
DPad Up           - Beam mode
DPad Down         - Missile mode
L                 - Shoot
R                 - Morphball Boost / Imperialist Zoom
X                 - Morphball mode

Controls with the Remapper:
CPad              - movement
CStick            - aiming
A + DPad          - Gyro
B                 - Jump
Select            - Scan-Visor
Start             - Start
DPad Left/Right   - Previous/Next "special" weapon
DPad Up           - Beam mode
DPad Down         - Missile mode
L                 - Jump
R                 - Shoot
X                 - Morphball mode
Y                 - Morphball Boost / Imperialist Zoom (same as L)
ZL                - Morphball Boost / Imperialist Zoom
ZR                - Shoot
 

Attachments

  • KH_last.zip
    13.2 KB · Views: 42
  • metroid_mod.zip
    27.7 KB · Views: 13
Last edited by shoco,

selcuk

Well-Known Member
Newcomer
Joined
Oct 3, 2015
Messages
83
Trophies
0
Age
34
XP
267
Country
And make sure you are using the correct version (usa or europe), although it most likely doesn't matter.
im using the cheats from usercheat.dat files you send so the flashcard automatically selects the proper ones

edit: just tried the latest one. it still haven't froze while not moving and pressing R but it did froze while moving. I don't think it was only while using cpad though. I also tried with dpad and it stilll froze while moving
 
Last edited by selcuk,

BigHead

Member
Newcomer
Joined
Oct 2, 2023
Messages
5
Trophies
0
XP
23
Country
United States
Is it possible to do an analogue mod on the wizard of oz beyond the yellow brick road? It has a weird trackball movement system and there's also a cheat that puts it on the dpad but you have to use a button to stop immediately on your tracks.
 

Phantron

Member
Newcomer
Joined
Mar 17, 2021
Messages
11
Trophies
0
Age
35
XP
97
Country
Germany
sorry shoco but I dont quite understand the issue, can you not combine the codes with the keymapper all-in-one; and why is the CPad completely unmapped with the setting from your link? also some buttons are not unmapped but shouldn they be? like X and A
 
Last edited by Phantron,

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
125
Trophies
0
XP
536
Country
Russia
edit: just tried the latest one. it still haven't froze while not moving and pressing R but it did froze while moving. I don't think it was only while using cpad though. I also tried with dpad and it stilll froze while moving
I don't think there is anything in my patch that could cause issues only during the movement and not before.
Thanks for testing. Sadly, I can't help you. All I can suggest, if it is or will be possible, is to try the game without a flashcard (or any game if you're saying that non of my mods work). I suspect it has something to do with it, maybe some memory isn't accessible or overwritten when it shouldn't be, but those are just guesses since I really know pretty much nothing about flashcards

Is it possible to do an analogue mod on the wizard of oz beyond the yellow brick road? It has a weird trackball movement system and there's also a cheat that puts it on the dpad but you have to use a button to stop immediately on your tracks.
I heard about the difficulties with implementing the dpad patch, so I don't really know. But I'll probably take a look then

can you not combine the codes with the keymapper all-in-one
I think you can dump the normal CPad mod and the output of the remapper into one cheatcode.
I can't combine them because:
- They are two separate entities that gets loaded separately (otherwise they will interfere with each other). Late loading sometimes causes sound issues (which may or may not happen for other people), to fix them you need to manually (and manually) tweak some settings on the remapper page. I can't simply combine the cheats together for this reason
- Some people may want to apply some other control schemes. CPad, CStick, and ZL/ZR are hardcoded in my mods. It's impossible to unmap them in the remapper, but you can unmap other keys (NDS'). So it's preferable to leave those 3DS specific buttons untouched.
- I can't combine them before they are compiled into cheats, because both things are extremely complicated. But it would allow them to be loaded at the same time without causing any sound issues

and why is the CPad completely unmapped with the setting from your link
Because if you don't do it, the CPad will trigger the DPad buttons, as it normally does when you play any NDS game on a 3DS (without any mods).

also some buttons are not unmapped but shouldn they be? like X and A
These keys are used by the game, or more precisely, by my patch (that I attached in the previous comment) inside the game. If you unmap them, you won't be able to use them. But because they are essentially just NDS buttons, you can map/unmap them with the remapper if you want.
You can try the patch without the remapper, and see for yourself
 

Celeste

New Member
Newbie
Joined
Nov 11, 2023
Messages
2
Trophies
0
XP
19
Country
United States
Is it possible to do analog patches for all the Inazuma Eleven games? 1 and 2 versions of 2 (Firestorm and blizzard) were released in pal regions on ds. 3 Wasn't released but there is a partial english patch made for the Team Ogre Attacks version. If that's not possible the japanese release is fine as well. The sprites seem to have 8 way animations but when using the touchscreen it actually has proper analog implementation.
 

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
125
Trophies
0
XP
536
Country
Russia
Is it possible to do an analogue mod on the wizard of oz beyond the yellow brick road? It has a weird trackball movement system and there's also a cheat that puts it on the dpad but you have to use a button to stop immediately on your tracks.
Done

Is it possible to do analog patches for all the Inazuma Eleven games? 1 and 2 versions of 2 (Firestorm and blizzard) were released in pal regions on ds. 3 Wasn't released but there is a partial english patch made for the Team Ogre Attacks version. If that's not possible the japanese release is fine as well. The sprites seem to have 8 way animations but when using the touchscreen it actually has proper analog implementation.
Okay, I'll see what I can do. I suppose it's only possible during the regular "RPG" sections; not when you're actually playing soccer.
 

shoco

Well-Known Member
OP
Member
Joined
Aug 1, 2019
Messages
125
Trophies
0
XP
536
Country
Russia
Is it possible to do analog patches for all the Inazuma Eleven games? 1 and 2 versions of 2 (Firestorm and blizzard) were released in pal regions on ds. 3 Wasn't released but there is a partial english patch made for the Team Ogre Attacks version. If that's not possible the japanese release is fine as well. The sprites seem to have 8 way animations but when using the touchscreen it actually has proper analog implementation.
I've finished it. Usually these mods work with other patches, you just need to select the correct cheat based on the original version
 
  • Like
Reactions: Celeste

solidgui3

Well-Known Member
Newcomer
Joined
Feb 21, 2023
Messages
50
Trophies
0
Age
19
XP
189
Country
Brazil
Heey,Sorry to bother,but could you make some way to select stuff in the comand deck in kingdom hearts re:coded with the zr and rl? I tryed using the patcher but it doesn't work together with the c-stick mod,thanks in advance.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=FQOFpDdg5rQ