Hacking Editing WiiSCU source

illinialex24

Well-Known Member
OP
Member
Joined
May 26, 2009
Messages
968
Trophies
0
Location
The Midwest
Website
www.youtube.com
XP
78
Country
United States
90% sure I found the issue, I also fixed something to add an error message but I wanna see if I can just edit this. Gonna try testing this out.

Anyway, in installer.c we have:

CODEÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ//ios60
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif (ios60 == 1) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("[*] Installing IOS60 without trucha bug ..\n");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ#ifdef DEBUG
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("going into patchmii control\n");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ#endif
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂret = patchmii_install(1,60,0,1,60,0,0);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif (ret < 0) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("[-] PatchMii_install(); returned %d", ret);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("[*] Press any key to quit.\n");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂwait_anyKey();
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂexit(1);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif (ios60 == 2) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("[*] Installing IOS60 with trucha bug ..\n");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ#ifdef DEBUG
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("going into patchmii control\n");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ#endif
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂret = patchmii_install(1,60,0,1,60,0,1);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif (ret < 0) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("[-] PatchMii_install(); returned %d", ret);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂprintf("[*] Press any key to quit.\n");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂwait_anyKey();
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂexit(1);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}

Now, the patchmii stuff, I'm guessing the 0's should be changed because 0 should be the latest version, but I don't know what to change it to. Gonna check out patchmii for more info.
 

damysteryman

I am too busy IRL these days...
Member
Joined
Oct 4, 2007
Messages
1,223
Trophies
1
XP
1,026
Country
Antarctica
OK, I'm a little too lazy right now (getting tired, it's getting late where I live), but I can tell you what 0's you need to change:
ret = patchmii_install(1,60,0,1,60,0,0);
change to:
ret = patchmii_install(1,60,6174,1,60,6174,0);

I can't remember what the last 0 is for though.

Make sure the IOS that WiiSCU is running under has the IOS version check patched out (IOS249 has it patched out), otherwise people with IOS60 v6400 installed, may get error -1035 (version number is lower than what is already installed).
 

illinialex24

Well-Known Member
OP
Member
Joined
May 26, 2009
Messages
968
Trophies
0
Location
The Midwest
Website
www.youtube.com
XP
78
Country
United States
The last 0 is trucha, I know that. And thanks.

Thats great help, one issue though. I have around 10,000 copies of cygwin1.dll running so I can't use the make feature, gonna try to fix this so I can release it.

Thanks so much.


Cool thanks.
So it goes, (1 for system files, IOS#, version (0 is latest), repeat..., 0 for no trucha, 1 for trucha).

I'm just doing this so people don't brick their Wii with this, so its not gonna be a complex patch (not a programmer...).
 

illinialex24

Well-Known Member
OP
Member
Joined
May 26, 2009
Messages
968
Trophies
0
Location
The Midwest
Website
www.youtube.com
XP
78
Country
United States
Yeah, although I think I'd make a new download link after its tested (I'll let you do this or if you want to, I can make it, it'd have a new readme and credit you a lot and have the original coder in the coder but you in the meta.xml) so it can be noob friendly.

But yeah, almost testing.
 

damysteryman

I am too busy IRL these days...
Member
Joined
Oct 4, 2007
Messages
1,223
Trophies
1
XP
1,026
Country
Antarctica
illinialex24 said:
The last 0 is trucha, I know that. And thanks.

Thats great help, one issue though. I have around 10,000 copies of cygwin1.dll running so I can't use the make feature, gonna try to fix this so I can release it.

Thanks so much.


Cool thanks.
So it goes, (1 for system files, IOS#, version (0 is latest), repeat..., 0 for no trucha, 1 for trucha).

I'm just doing this so people don't brick their Wii with this, so its not gonna be a complex patch (not a programmer...).
Yeah, it goes:
first half of title id, second half of title id, version
^ for what patchmii downloads

then:

first half of title id, second half of title id, version
^ for what patchmii installs it as

then, according to what you said:
1 for trucha sign it, 0 to not trucha sign it.
 

Det1re

det1re.de
Member
Joined
Oct 28, 2008
Messages
1,272
Trophies
0
Age
34
Location
Germany
Website
det1re.de
XP
264
Country
Gambia, The
illinialex24 said:
Yeah, although I think I'd make a new download link after its tested (I'll let you do this or if you want to, I can make it, it'd have a new readme and credit you a lot and have the original coder in the coder but you in the meta.xml) so it can be noob friendly.

But yeah, almost testing.

Feel free do do anything you want to do with it... =)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.