Hacking Nintendont Themes and Custom Mods

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
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

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
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"
 

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
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
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
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

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,664
Trophies
3
Age
29
XP
3,547
Country
France
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.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
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.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
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;
}
 

jammybudga777

Well-Known Member
Member
Joined
Aug 23, 2013
Messages
2,284
Trophies
1
Age
37
XP
2,193
Country
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
 

AbdallahTerro

da KiNG
OP
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
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

Mr. Mysterio

Super Genius
Member
Joined
Sep 16, 2014
Messages
661
Trophies
0
Age
24
Location
Rosalina's Comet Observatory
XP
1,124
Country
United States
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.
 

zantzue

Well-Known Member
Member
Joined
Mar 14, 2009
Messages
150
Trophies
1
Location
Basque Country
XP
881
Country
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.
 

Mr. Mysterio

Super Genius
Member
Joined
Sep 16, 2014
Messages
661
Trophies
0
Age
24
Location
Rosalina's Comet Observatory
XP
1,124
Country
United States
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==