Hacking Nintendont Themes and Custom Mods

  • Thread starter Thread starter AbdallahTerro
  • Start date Start date
  • Views Views 442,660
  • Replies Replies 2,649
  • Likes Likes 30
Abz, If I ask you very nicely, will you please add this wiimote-nunchuck config to your mastermod?

This one, assuming there's a free unused slot:

Code:
case 7:    // (2 & plus) Config requested by Asia81
              {
                    if((BTPad[chan].button & NUN_BUTTON_C)    //tilt as camera control
                    && !(BTPad[chan].used & C_ISWAP))
                    {
                        //tilt as cStick
                        /* xAccel  L=300 C=512 R=740 */
                        if(BTPad[chan].xAccel < 350)
                            Pad[chan].substickX = -0x78;
                        else if(BTPad[chan].xAccel > 674)
                            Pad[chan].substickX = 0x78;
                        else
                            Pad[chan].substickX = (BTPad[chan].xAccel - 512) * 0xF0 / (674 - 350);
   
                        /* yAccel  up=280 C=512 down=720 */
                        if(BTPad[chan].yAccel < 344)
                            Pad[chan].substickY = -0x78;
                        else if(BTPad[chan].yAccel > 680)
                            Pad[chan].substickY = 0x78;
                        else
                            Pad[chan].substickY = (BTPad[chan].yAccel - 512) * 0xF0 / (680 - 344);
                    }
                   
                    if(BTPad[chan].button & NUN_BUTTON_Z)
                    {
                        button |= PAD_TRIGGER_L;
                        Pad[chan].triggerLeft = 0xFF;
                    }
                    else
                        Pad[chan].triggerLeft = 0;
                       
                    if(BTPad[chan].button & WM_BUTTON_DOWN)
                    {
                        button |= PAD_TRIGGER_R;
                        Pad[chan].triggerRight = 0xFF;
                    }
                    else
                        Pad[chan].triggerRight = 0;
                 
                    if(BTPad[chan].button & WM_BUTTON_A)
                        button |= PAD_BUTTON_A;
                    if(BTPad[chan].button & WM_BUTTON_B)
                        button |= PAD_BUTTON_B;
                    if(BTPad[chan].button & WM_BUTTON_UP)
                        button |= PAD_TRIGGER_Z;
                    if(BTPad[chan].button & WM_BUTTON_MINUS)
                        button |= PAD_BUTTON_LEFT;
                    if(BTPad[chan].button & WM_BUTTON_PLUS)
                        button |= PAD_BUTTON_RIGHT;
                    if(BTPad[chan].button & WM_BUTTON_LEFT)
                        button |= PAD_BUTTON_Y;
                    if(BTPad[chan].button & WM_BUTTON_RIGHT)
                        button |= PAD_BUTTON_X;
               
                }break;
 
  • Like
Reactions: Mr. Mysterio
Just for curiosity, what game is that config for?

I dunno. There was this guy who asked for it many times, here and in another forum. I managed to get it working (after the mysterious crashes) and the official nintendont version has the "case 7" unused. So I assume it is the same for master mod, that's why I asked Abz to add it "officially". Though it's easy to implement, just go to padreadgc.c and paste the code to the commented out case in the Wiimotenunchuck "switch"
 
I dunno. There was this guy who asked for it many times, here and in another forum. I managed to get it working (after the mysterious crashes) and the official nintendont version has the "case 7" unused. So I assume it is the same for master mod, that's why I asked Abz to add it "officially". Though it's easy to implement, just go to padreadgc.c and paste the code to the commented out case in the Wiimotenunchuck "switch"
I use case 7 to exit using 1+2
2 and plus is naggers config
here's the full info:
Available Configs:
------------------
(2) = Naggers alt (default) //conveniant for most games uses c+Dpad as c-stick
(2 + plus) = Naggers config //uses tilt as c-stick
(2 + minus) = Troopage config //handy in many situations
(2 + Left) = Abz general config //for arcade games or games that require few buttons
(2 + right) = Howards general config //matching button names to action
(2 + up) = racing 1 //for games that use AnalogR and AnalogL for gas and break
(2 + down) = racing 2 //for games that require A held for gas

You can select configs and enable/disable IR by:
------------------------------------------------
press button_2 (puts in config mode and turns IR off)
press config button (selects the desired config - skip this step for the default)
release the config button (keep holding button_2)
press button_Z (turns IR on or off for the just selected config. If the wiimotes is pointed at the screen you can see IR toggle on and off if the screen accepts cStick input. )
release button_Z
release button_2 (ends configuration)

Full button mapping:
--------------------
Home = Start/Pause in all configs
(2+1) = Exit to Loader or HBC in all configs
--------------------------------------------
Press (2 or 2&Z) = Alt-Naggers or Shooters
//A=A B=R Z=L (+ or c+B=R1/2) (- or c+Z=L1/2)
//C not pressed U=Z D=B R=X L=Y B=R Z=L
//C pressed Dpad=controls cStick Z=1/2L B=1/2R
//B pressed DPAD=Standard
Press (2&Z) to to enable/disable IR

Press (2 & plus) = Naggers
//same as Alt-naggers with tilt as C-STICK with C button held and C+DPAD as GC-DPAD

Press (2 + minus ± Z) = Troopage config (add (Z) to to enable IR as c-stick) (add (Z) to enable IR as c-stick)
//A=A
//C not pressed +=X -=B Z=L B=R Dpad=cStick
//C pressed +=Y -=Z Z=1/2L B=1/2R Dpad=Standard

Press (2 + Left ± Z) = Abz general config
//A=A B=B C=X Z=Y -=Z +=R Dpad=Standard

Press (2 + right ± Z) = Howards general config
//A=A B=B Z=Z +=X -=Y Dpad=Standard
//C not pressed L R tilt tied to L R analog triggers.
//C pressed tilt control the cStick

Press (2 + up ± Z) = racing games that use AnalogR and AnalogL for gas and break
//A=A B=B Z=Z +=X -=Y Dpad=Standard
//C not pressed backwards forward tilt tied to L R analog triggers.
//C pressed tilt control the cStick

Press (2 + down ± Z) = racing games that require A held for gas
//A=Z B=B Z=A +=X -=Y Dpad=Standard
//C not pressed L R tilt tied to L R analog triggers.
//C pressed tilt control the cStick
 
I use case 7 to exit using 1+2
2 and plus is naggers config
here's the full info:
Available Configs:
------------------
(2) = Naggers alt (default) //conveniant for most games uses c+Dpad as c-stick
(2 + plus) = Naggers config //uses tilt as c-stick
(2 + minus) = Troopage config //handy in many situations
(2 + Left) = Abz general config //for arcade games or games that require few buttons
(2 + right) = Howards general config //matching button names to action
(2 + up) = racing 1 //for games that use AnalogR and AnalogL for gas and break
(2 + down) = racing 2 //for games that require A held for gas

You can select configs and enable/disable IR by:
------------------------------------------------
press button_2 (puts in config mode and turns IR off)
press config button (selects the desired config - skip this step for the default)
release the config button (keep holding button_2)
press button_Z (turns IR on or off for the just selected config. If the wiimotes is pointed at the screen you can see IR toggle on and off if the screen accepts cStick input. )
release button_Z
release button_2 (ends configuration)

Full button mapping:
--------------------
Home = Start/Pause in all configs
(2+1) = Exit to Loader or HBC in all configs
--------------------------------------------
Press (2 or 2&Z) = Alt-Naggers or Shooters
//A=A B=R Z=L (+ or c+B=R1/2) (- or c+Z=L1/2)
//C not pressed U=Z D=B R=X L=Y B=R Z=L
//C pressed Dpad=controls cStick Z=1/2L B=1/2R
//B pressed DPAD=Standard
Press (2&Z) to to enable/disable IR

Press (2 & plus) = Naggers
//same as Alt-naggers with tilt as C-STICK with C button held and C+DPAD as GC-DPAD

Press (2 + minus ± Z) = Troopage config (add (Z) to to enable IR as c-stick) (add (Z) to enable IR as c-stick)
//A=A
//C not pressed +=X -=B Z=L B=R Dpad=cStick
//C pressed +=Y -=Z Z=1/2L B=1/2R Dpad=Standard

Press (2 + Left ± Z) = Abz general config
//A=A B=B C=X Z=Y -=Z +=R Dpad=Standard

Press (2 + right ± Z) = Howards general config
//A=A B=B Z=Z +=X -=Y Dpad=Standard
//C not pressed L R tilt tied to L R analog triggers.
//C pressed tilt control the cStick

Press (2 + up ± Z) = racing games that use AnalogR and AnalogL for gas and break
//A=A B=B Z=Z +=X -=Y Dpad=Standard
//C not pressed backwards forward tilt tied to L R analog triggers.
//C pressed tilt control the cStick

Press (2 + down ± Z) = racing games that require A held for gas
//A=Z B=B Z=A +=X -=Y Dpad=Standard
//C not pressed L R tilt tied to L R analog triggers.
//C pressed tilt control the cStick

Would it be possible to add another case? let's say 2 + B? In bt.c, all the current cases are there, I assumed it may be easy to add case 8 too :)
 
  • Like
Reactions: Troopage
It's for Zelda Wind Waker, but even the config i ask is not the best, it's why i want learn how i can make my own config, i don't know what i need to write in the file.
 
It's for Zelda Wind Waker, but even the config i ask is not the best, it's why i want learn how i can make my own config, i don't know what i need to write in the file.

The naggers Configs works fine for Zelda.

If you want to learn what to write in the file, look in the code here:

https://code.google.com/p/nintendon-t/source/browse/trunk/loader/source/ppc/PADReadGC.c#622

You can easily base yourself on exeisting configs. It's very easy to do, button names and such are pretty clear to recognise.
 
But for the Yellow C-Stick, the Nunchuck C+Tilt is not stable, i can't easy play a music in the game
 
It's possible to use Nunchuck C + D-PAD (UP LEFT DOWN RIGHT) ?
For the Yellow C-Stick

Sure it's very easy. Create an "if" with olding C button,
Code:
 if((BTPad[chan].button & NUN_BUTTON_C)  //tilt as camera control
                                        && !(BTPad[chan].used & C_ISWAP))
then add your config:
Code:
{
if(BTPad[chan].button & WM_BUTTON_LEFT)
Pad[chan].substickX = -0x78;
else if(BTPad[chan].button & WM_BUTTON_RIGHT)
Pad[chan].substickX = 0x78;
else
Pad[chan].substickX = 0;
 
if(BTPad[chan].button & WM_BUTTON_DOWN)
Pad[chan].substickY = -0x78;
else if(BTPad[chan].button & WM_BUTTON_UP)
Pad[chan].substickY = 0x78;
else
Pad[chan].substickY = 0;
}
 
i use wiiflow to load nintendont. is there a version that will cut out the loading screen when i select a GC game? i was wondergin if i could just select a game and it loads the bios straight away and then the game
 
i use wiiflow to load nintendont. is there a version that will cut out the loading screen when i select a GC game? i was wondergin if i could just select a game and it loads the bios straight away and then the game
Yes. In download and themes menu select the boot into black screen option
 
  • Like
Reactions: jammybudga777
i use wiiflow to load nintendont. is there a version that will cut out the loading screen when i select a GC game? i was wondergin if i could just select a game and it loads the bios straight away and then the game

If all you want is the BIOS boot animation and not the interactivity, you could use my mod that plays the animation on a separate thread instead of the verbose output.
 
If all you want is the BIOS boot animation and not the interactivity, you could use my mod that plays the animation on a separate thread instead of the verbose output.
Thanks for making this mod. It works fine and I love it. Anyway, I've got a question: I noticed that whenever I use this mod it boots a game directly. I mean, if I load it by using the HBC, it loads the last game I played and if I load it from CFG USB Loader I can choose the GC game I want to play, then this mod loads and boots the game but, in both cases, I can't access Nintendont's settings. I tried by pressing B button but it didn't work. Is there a way to change Nintendont's settings from this mod or do I have to use a different one (or the official one) in order to do that? English is not my mother tongue. I hope you understand what I mean.
 
Thanks for making this mod. It works fine and I love it. Anyway, I've got a question: I noticed that whenever I use this mod it boots a game directly. I mean, if I load it by using the HBC, it loads the last game I played and if I load it from CFG USB Loader I can choose the GC game I want to play, then this mod loads and boots the game but, in both cases, I can't access Nintendont's settings. I tried by pressing B button but it didn't work. Is there a way to change Nintendont's settings from this mod or do I have to use a different one (or the official one) in order to do that? English is not my mother tongue. I hope you understand what I mean.

What my original version did is if it was told to autoboot a game, it would boot straight away, but if it was launched directly, i would load the normal selection menu. I haven't had time to keep my mod up-to-date, so send0r has been doing it for me. He may not understand exactly how this works, and therefore didn't port it correctly. I'll try to fix it, but in the mean time, you can use the latest version that I made. It is a few revisions out-of-date, but that shouldn't affect most features.
 

Site & Scene News

Popular threads in this forum