Hacking [RELEASE] WiiVC Injector Script (GC/Wii/Homebrew Support)

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,275
Country
United States
Theres these 2 combinations on a real gamecube controller on a real wii:
https://github.com/FIX94/Nintendont/blob/master/loader/source/ppc/PADReadGC.c#L292-L297
and both of them work fine for me.

Shutdown combination tries to reset sometimes and sometimes freezes doesn't shutdown, and the reset combination... well that doesn't do nothing at all....

Now I don't know if last night I confused the version I tested... But honestly no button combination does reset the Wii or game at all. Neither does shutdown combination
 
Last edited by huma_dawii,

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,632
Country
United States
Released version 2.1.2 available in the OP with the following changes:

## [2.1.2] = 2017-09-21
- Multi-Disk GameCube games now supported, put your disc2 image in the SOURCE_FILES folder as disc2.gcm @huma_dawii @arminillo
- Replaced PNG Verification method, made error messages more clear (@SOF if you can test for me that would be great)
- Optional bootLogoTex now supported as either PNG or TGA @sergio_prado
- Cleaned up scripting for Title Key and Common Key verification

Let me know if I botched something or if you have issues with multi-disc games, multi-disc games is wildly untested.
 

canariobr

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
171
Trophies
0
Age
38
XP
215
Country
Brazil
How do I know what meta title ID the app randomly generated? And what happens if 2 games have the same meta title ID?
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,275
Country
United States
Released version 2.1.2 available in the OP with the following changes:

## [2.1.2] = 2017-09-21
- Multi-Disk GameCube games now supported, put your disc2 image in the SOURCE_FILES folder as disc2.gcm @huma_dawii @arminillo
- Replaced PNG Verification method, made error messages more clear (@SOF if you can test for me that would be great)
- Optional bootLogoTex now supported as either PNG or TGA @sergio_prado
- Cleaned up scripting for Title Key and Common Key verification

Let me know if I botched something or if you have issues with multi-disc games, multi-disc games is wildly untested.
I can test the multi-disc games....
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,227
Trophies
2
XP
34,566
Country
Mexico
Ah so that's why the Gamepad is not switching face buttons when pressing minus.
https://github.com/FIX94/Nintendont...bfa071db125581c/loader/source/ppc/PADReadGC.c

It's not coded yet for Gamepad :P

The code for switching the face buttons is this one:
Code:
if(BTPad[chan].used & (C_CC | C_CCP))
{
if(BTPad[chan].used & C_SWAP)
{ /* turn buttons quarter clockwise */
if(BTPad[chan].button & BT_BUTTON_B)
button |= PAD_BUTTON_A;
if(BTPad[chan].button & BT_BUTTON_Y)
button |= PAD_BUTTON_B;
if(BTPad[chan].button & BT_BUTTON_A)
button |= PAD_BUTTON_X;
if(BTPad[chan].button & BT_BUTTON_X)
button |= PAD_BUTTON_Y;
}
else
{
if(BTPad[chan].button & BT_BUTTON_A)
button |= PAD_BUTTON_A;
if(BTPad[chan].button & BT_BUTTON_B)
button |= PAD_BUTTON_B;
if(BTPad[chan].button & BT_BUTTON_X)
button |= PAD_BUTTON_X;
if(BTPad[chan].button & BT_BUTTON_Y)
button |= PAD_BUTTON_Y;
}

And right around line 171, you can see there's the line for WIIDRC_BUTTON_PLUS, but there's no _MINUS.
I don't even have a clue, nor am I a programmer, much less with the knowledge such as FIX, but perhaps something like this might do the job?

Code:
if(drcbutton & WIIDRC_BUTTON_MINUS)
{ /* turn buttons quarter clockwise */
if(drcbutton & WIIDRC_BUTTON_B)
button |= PAD_BUTTON_A;
if(drcbutton & WIIDRC_BUTTON_Y)
button |= PAD_BUTTON_B;
if(drcbutton & WIIDRC_BUTTON_A)
button |= PAD_BUTTON_X;
if(drcbutton & WIIDRC_BUTTON_X)
button |= PAD_BUTTON_Y;
}
else
{
if(drcbutton & WIIDRC_BUTTON_A)
button |= PAD_BUTTON_A;
if(drcbutton & WIIDRC_BUTTON_B)
button |= PAD_BUTTON_B;
if(drcbutton & WIIDRC_BUTTON_X)
button |= PAD_BUTTON_X;
if(drcbutton & WIIDRC_BUTTON_Y)
button |= PAD_BUTTON_Y;
}

I'm not even sure, I suck at programming either way xD
I will give this a go once I'm home and can compile it myself lol
 
Last edited by ShadowOne333,
  • Like
Reactions: DarthDub

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
30
Location
???
XP
11,248
Country
Germany
I don't even have a clue, nor am I a programmer, much less with the knowledge such as FIX, but perhaps something like this might do the job?
that would mean you would have to hold down the minus button constantly to swap them, I'm not sure yet of how to do it cleanly.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,218
Country
Canada
that would mean you would have to hold down the minus button constantly to swap them, I'm not sure yet of how to do it cleanly.
For now, Shadow will need to put a piece of tape to hold it in place :P
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,227
Trophies
2
XP
34,566
Country
Mexico
that would mean you would have to hold down the minus button constantly to swap them, I'm not sure yet of how to do it cleanly.
(Edited my post because I didn't change the variables to match those of WIIDRC)

You're right.
I just made a quick finicky code, I might give this a go this weekend just for the hell of it, perhaps I can think of something which my noobie mind can work around with. lol

--------------------- MERGED ---------------------------

For now, Shadow will need to put a piece of tape to hold it in place :P
Ah good idea.
There we go, fixed.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
30
Location
???
XP
11,248
Country
Germany
Shutdown combination tries to reset sometimes and sometimes freezes doesn't shutdown, and the reset combination... well that doesn't do nothing at all....

Now I don't know if last night I confused the version I tested... But honestly no button combination does reset the Wii or game at all. Neither does shutdown combination
I wonder if it worked then at all for you at one point, the code for that stuff didnt change in like years at this point, I dont see why it suddenly would stop working.
 

huma_dawii

Well-Known Member
Member
Joined
Apr 3, 2014
Messages
3,880
Trophies
2
Age
33
Location
Planet Earth
XP
4,275
Country
United States
I wonder if it worked then at all for you at one point, the code for that stuff didnt change in like years at this point, I dont see why it suddenly would stop working.

It did work, as a proof I will run 4.451 now.

.__. nevermind, it doesnt work either so I don't know when it stopped working lol
 
Last edited by huma_dawii,

canariobr

Well-Known Member
Member
Joined
Oct 28, 2015
Messages
171
Trophies
0
Age
38
XP
215
Country
Brazil
Can anyone please help. I tried to inject Super mario Strikers (NGC) with the tool. Followed all steps. Got the error "boot.dol not found". I have put boot.dol in SOURCE FILES folder
 

TeconMoon

Well-Known Member
OP
Member
Joined
Aug 7, 2007
Messages
749
Trophies
1
XP
2,632
Country
United States
How do I know what meta title ID the app randomly generated? And what happens if 2 games have the same meta title ID?
It's in the folder name, WUP-N-XXXX_0005000010XXXXFF

The 0005000010XXXXFF part is your Title ID, the XXXX part is the random one. On the very low chance you generated two games with the same ID, the old one would be overwritten. It's a good practice to keep track of the Title IDs you are installing on your system anyways.
 
  • Like
Reactions: canariobr

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    AncientBoi @ AncientBoi: :O:ohnoes::lol::rofl::rofl2: