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

  • Thread starter Thread starter shoco
  • Start date Start date
  • Views Views 412,499
  • Replies Replies 732
  • Likes Likes 85
Does this work with DS Forwarders like YANBF?

Sorry if someone already asked but I tried to search and couldn't find this question or an answer.

I think I set up everything right but when I try executing games that are CPad patched (enabled previously on Twilight Menu and working) through forwarders they simply don't load, it gets stuck in white screen.
 
Does this work with DS Forwarders like YANBF?

Sorry if someone already asked but I tried to search and couldn't find this question or an answer.

I think I set up everything right but when I try executing games that are CPad patched (enabled previously on Twilight Menu and working) through forwarders they simply don't load, it gets stuck in white screen.
  • Games that don't support widescreen (or just mods for games that otherwise support widescreen) may need a separately patched TwlBg. Make two TwlBg versions in TWPatcher, one with widescreen and one without (both should have RTCom). Put the one with widescreen in "_nds/TWiLightMenu/TwlBg/" and rename it to "Widescreen.cxi" (or whatever the official guides say to enable widescreen). Leave the one without widescreen in "/luma/sysmodules" as "TwlBg.cxi". That way, TwilightMenu should swap them when a game has widescreen support and 16:10 mode is set, and not touch them otherwise.
 
Hey thanks for the quick response!

I tried that, but got some new problems. Though forwarders are now loading with CPad patch enabled, and not stuck at white screen anymore, they take a lot longer to load, it looks like it freezes the system when I click the forwarded game for ~2min (though music from theme continues playing the system goes unresponsive) to then go on with normal game loading, but the games I set up widescreen ratio on TwilightMenu to test (Metroid Prime Hunters, TLOZ: Phantom Hourglass) start up in 4:3, do you know a way around this?
 
I hope the Picture sheds some light on the I2C situation. Are the bus IDs also in there? If not I can test a 3rd version of the TestGyro to get these in case they aren't. I typed the code below to make it easier to copy. It seems to be identical to your example.
The bus ids are the numbers before ":" (0, 1, or 2). The table looks absolutely fine.
As I already said you have the third (and the last) kind of gyros where (unlike the other two) the axis X and Y should be swapped and the latter one inverted. At least, that's what I understood from the "rehid" code. Maybe it's not entirely true, I don't know. Either way, here is a version of the mod that should work for your gyro (I've just hardcoded that change). If it won't work properly, then probably this is it, I can't do anything else.

All zeros, I'm afraid:
That's weird, as always. I think it will be a lot easier if you just send me your TwlBg. If you are fine with this idea then this is how you can get it: open TWPatcher, press Y+B, disable all check boxes, especially "rtcom" (you'll need to tick the last checkbox), press B, select the filter "Nintendo default", press Start to generate the TwlBg. Then finally take it from the usual place "/luma/sysmodules/TwlBg.cxi" and send it to me in a private conversation; or chat, or whatever it's called on this website. Basically, don't share it publically, etc.

Does this work with DS Forwarders like YANBF?
Personally, never used them. And I don't remember anyone mentioning in this thread that it would work with the forwarders, so maybe they really don't. As for the widescreen issues, you may find it useful
 

Attachments

The bus ids are the numbers before ":" (0, 1, or 2). The table looks absolutely fine.
As I already said you have the third (and the last) kind of gyros where (unlike the other two) the axis X and Y should be swapped and the latter one inverted. At least, that's what I understood from the "rehid" code. Maybe it's not entirely true, I don't know. Either way, here is a version of the mod that should work for your gyro (I've just hardcoded that change). If it won't work properly, then probably this is it, I can't do anything else.
Yeah, I got that from the original message. I expected it to behave weirdly with the old 3DS mod. I just wanted to tell you the exact behavior in case Metroid treats the gyro inputs differently than the test file you sent.
Everything works perfectly now, thanks again for all the work that you did.
I hope that you can fix emcintosh gyro as well.
@emcintosh Does it work in 3DS games? If so then maybe there is something wrong with Twilight Menu. Have you tried reinstalling it?
 
  • Like
Reactions: shoco
From my latest tests, the CPad patch do work with fowarded NDS games, but makes the 1st loads way slower. After the 1st or 2nd game taking way more time, it will load normally and work as intended (tested 2 games, I'm not sure if it happens only on the 1st time you play a game patched, or if everytime the system is reset though).

Now I'm having some trouble with Widescreen, it seems either I have some setup done wrong or it doesn't work with forwarders, but I'll double check all of the steps on the troubleshooting from the link you sent, thanks!
 
I can't get them to work, the game keeps hanging at the start, idk if I got the wrong cheat, or the patcher is outdated or even the Twlightmenu no longer supports it
 
In this case, the Circle Pad is essentially mapped to the DPad, so it may not be comparable to the touch screen controls. But If I understand you correctly, you can find the number "00027027" (it's in hexadecimal) in the cheat code and try to change it to something else (like "0004E04E", to be twice as strong)

I know some time has passed, but I've been playing with this version of the code on an Eur version, it works really well.

It makes it a bit harder to turn on very tight ground, but it much easier to go up ramps and such. Thank you, Shoco.
 
From my latest tests, the CPad patch do work with fowarded NDS games, but makes the 1st loads way slower. After the 1st or 2nd game taking way more time, it will load normally and work as intended (tested 2 games, I'm not sure if it happens only on the 1st time you play a game patched, or if everytime the system is reset though).

Now I'm having some trouble with Widescreen, it seems either I have some setup done wrong or it doesn't work with forwarders, but I'll double check all of the steps on the troubleshooting from the link you sent, thanks!
WIth forwarders you need to hold the Y button while the game is loading to get to a menu where you can enable cheats or set widescreen vs default aspect ratio
 
I've been trying to get LEGO Star Wars with c-pad but it gets stuck at a black screen when launching. Disabling it lets the game launch as normal. Is there anything that I need to do to get it to work?
 
Is there any way to use these cheats on an emulator? I've tried inputting these codes in MelonDS, DeSmuME, and Retroarch, but it seems they all have character length limits for their cheats.

I'm personally more interested in playing these on PC than modding my 3DS, so I don't really know what the process is like with TWPatcher and all of that, but would it be possible to patch the rom directly, like a romhack? It feels like that wouldn't really be possible but I would really love to play these games on Steam Deck with these patches... Either way, thank you for making these! Any help would be appreciated!
 
Is there any way to use these cheats on an emulator? I've tried inputting these codes in MelonDS, DeSmuME, and Retroarch, but it seems they all have character length limits for their cheats.

I'm personally more interested in playing these on PC than modding my 3DS, so I don't really know what the process is like with TWPatcher and all of that, but would it be possible to patch the rom directly, like a romhack? It feels like that wouldn't really be possible but I would really love to play these games on Steam Deck with these patches... Either way, thank you for making these! Any help would be appreciated!
I would expect not, as your DS emulator isn't emulating the 3DS hardware!
There is a special build of DeSmuME that gives you analog movement in Mario 64 using a fictional GBA-slot analog stick dongle.
I am not aware of analog mods for any other DS games in emulators. Maybe ask the creator of the SM64 DeSmuME mod for details of how they got the game to accept GBA-slot signals as touchscreen input? It might be possible to implement it in other games that use the touchscreen for analog movement.
 
  • Wow
Reactions: cearp
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.
Hey dude, I recently tried this again with Delta and couldn’t get it to work… any advice? Thanks!
 
Greetings,

I'm curious to know if the Circle Pad patch for Metroid Prime Hunters might possibly work on an original 3DS attached with the Circle Pad Pro accessory? I'm aware that the first page of this thread says MPH's patch only works with New 3DS, but considering games like MH4U detects the Circle Pad Pro as being the same thing as a New 3DS XL's extra buttons and nubstick, I thought there might be a chance.

Thank you.

EDIT:
So after reading through all 28 pages, I found out my answer regarding the Circle Pad Pro. Additionally, I recently softmodded a N2DSXL and experienced the spinning issue that other users also had when activating gyro functionality in MPH. I went through a few of Shoco's alternate patches, and discovered that the last one made for the user Ninja-Eule, called "Metroid Inverted Gyro", solved everything on my end. The Gyro aiming now works splendidly on my N2DSXL. Has @emcintosh tried this latest version of the patch to see if it solved their issue as it did mine?
 
Last edited by rambaral,
I've been trying to get LEGO Star Wars with c-pad but it gets stuck at a black screen when launching. Disabling it lets the game launch as normal. Is there anything that I need to do to get it to work?
Can only suggest the usual stuff: properly apply TWPatcher and check out the troubleshooting section in the first post.

Is there any way to use these cheats on an emulator? I've tried inputting these codes in MelonDS, DeSmuME, and Retroarch, but it seems they all have character length limits for their cheats.
Sort of, I am not sure. I actually develop and test my mods on Desmume, it has pretty nice scripting capabilities with Lua. The problem is that I don't think there is a way to read an input from an analog stick of an actual gamepad, at least I couldn't do it under Wine. I ended up using my mouse to emulate the CPad. Don't know anything about other emulators.
So if it's possible to write your own scripts and somehow work with a gamepad, then it probably would be possible to play with my mods on those emulators. Not without editing of course (huge chunk of these mods deal with 3ds specific stuff), but it would be the simplest part

Hey dude, I recently tried this again with Delta and couldn’t get it to work… any advice? Thanks!
I can't test it on Delta and see what's wrong with it (as I don't have an iOS device). But if the mod worked on other emulators then there is probably a bug in Delta

So after reading through all 28 pages,
That's pretty impressive. And thanks for testing, nice to know it worked for you.
 
Hey, I'm having trouble with my games getting a white screen anytime I have the Usrcheat files place in the extras folder. Anytime I remove it the games work perfectly fines, is it because I have the incorrect version or something
 

Site & Scene News

Popular threads in this forum