Hacking Trucha Bug Restorer release

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The

ExLex

Well-Known Member
Newcomer
Joined
Apr 21, 2007
Messages
55
Trophies
0
XP
93
Country
United States
Hi WiiPower,

Excelent job with this software, very useful for get trucha bug.

I have a question about your source:

The actuals cIOS 249 or cIOS 222 had a problem with DLC, they do a diferent encryption method for DLCs... In your code had the same function:

Code:
if (nand_patch)
{
ÂÂÂÂprintf("Patching nand permissions in ES module(#%u)...", index);
ÂÂÂÂnand = patch_patch_fsperms(ios->decrypted_buffer[index], ios->buffer_size[index]);
ÂÂÂÂprintf("patch applied %u time(s)\n", nand);ÂÂÂÂÂÂÂÂ
}

This funtion dont is in cIOS of USB, can be this the function for do that job???
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
I'm almost sure Waninkoko's cIOS has exactly the same nand permissions patch integrated. I got the code from him, and the cIOS has extended nand permissions.
 

ExLex

Well-Known Member
Newcomer
Joined
Apr 21, 2007
Messages
55
Trophies
0
XP
93
Country
United States
Ok...

Im almost sure that ES module do the encryption method, right?

Also i had this function too in ur source, rijndael.c:

Code:
void aes_set_key(u8 *key) {
ÂÂgentables();
ÂÂgkey(4, 4, (char *)key);
}

In a source of cIOS 222, he change this line:

gkey(4, 4, (char *)key); -> gkey(4, 4, (void *)key);

is there "void" a issue?
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
ExLex said:
Ok...

Im almost sure that ES module do the encryption method, right?

Also i had this function too in ur source, rijndael.c:

Code:
void aes_set_key(u8 *key) {
ÂÂgentables();
ÂÂgkey(4, 4, (char *)key);
}

In a source of cIOS 222, he change this line:

gkey(4, 4, (char *)key); -> gkey(4, 4, (void *)key);

is there "void" a issue?

It works, so i don't think there's an issue. I had some compiler warning related to the encryption, could be there. I got rid of the warning by doing a proper cast.
 

muzz

Well-Known Member
Member
Joined
Jul 22, 2008
Messages
163
Trophies
0
XP
149
Country
United States
Thanks WiiPower. You always make great handy apps that eradicate the need to do convoluted processes as a means to an end. Cheers! Nice work. Unfortunately by the time I am able to spank the Wii I have in mind you'll have plenty of feedback and possibly other revisions released. As always, appreciated!
 

FenrirWolf

Well-Known Member
Member
Joined
Nov 19, 2008
Messages
4,347
Trophies
1
Location
Sandy, UT
XP
615
Country
United States
So if I read the readme right, this thing will work even on a Wii without any existing trucha-bugged IOS by downgrading IOS15 and then using it to patch other IOS's. That's pretty cool. That method wouldn't work on a LU64-type Wii, right?
 

grama

Active Member
Newcomer
Joined
Dec 4, 2008
Messages
25
Trophies
0
Age
39
Location
Brazil
XP
174
Country
Brazil
HiBit said:
grama said:
Download link is not working, could somebody post a working link? Thanks!
It's ok, but you can try this link without forwarding:
http://gbatemp.net/downloads/[6378]TBR1.0.zip


Edit:
Btw, thx @ WiiPower the tool work fine on 4.0e.
Thanks, this one work for me.
smile.gif
 

LurkyTheHamster

Member
Newcomer
Joined
Jul 4, 2009
Messages
12
Trophies
0
XP
8
Country
United States
Super. This seems like just the ticket for setting up an sd card all offline and sending it to a mate for modding.

I get exactly what's going on for the most part. If they are on 4.00 instead of all the other madness to get things to work:

1. Bannerbomber to install homebrew channel.
2. Run this to get back trucha bug.
3. Boot Mii / Preloader
4. Install cios of choice (I use reversion 10, so likely will give them the same)
5. Profit.

Now, all of these seems straight forward expect for one little thing that boggles me
wacko.gif


"For the IOS15 downgrade you need IOS15v257 and IOS15v266, for the IOS15 restore you need IOS15v266, for IOS36
installations you need IOS36v3094 and for IOS37 installations you need IOS37v3612."

Gotcha. I understand we can't link to such material and have to obtain it ourselves. I also understand that you provided all the options for obtaining them. However, I can't seem to wrap my head around it.

If we can link to the NUS Downloader could we possibly get a title id for all the above, or possibly a mini faq for obtaining them more easily? I know, walking a fine line here with what can be requested or provided. I AM NOT asking for any links to the files themselves, I'll more than willing to do the leg work myself. A little guidance on how to do so would be great.

I really did review the rules several times on this one... it should be acceptable I hope.
blink.gif
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
Of couse somebody can write a guide with TBR and NUS Downloader. Telling exaclty what to type into NUS Downloader is legal, sending files to somebody or uploading it is illegal.
 

WiiPower

Well-Known Member
OP
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
For IOS it's always a 64 Bit title id written in hex, while the upper half is = 1.

IOS15 == 000000010000000F
IOS36 == 0000000100000024
IOS37 == 0000000100000025
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    My opinion is that 199.99 is the sweet spot but that spot is long gone lol
  • Psionic Roshambo @ Psionic Roshambo:
    Just played some Micheal Jackson Moonwalker.... Those poor parents trying desperately to protect their children
  • K3Nv2 @ K3Nv2:
    400 is a decent sweet spot if we get enough out of it
  • K3Nv2 @ K3Nv2:
    It's not like how it was when we were locked down to a few options and that's it
  • Psionic Roshambo @ Psionic Roshambo:
    For me just buying a Pi and some accessories fills that not a PC void new consoles have just put them close to PC prices and all the patching and updates makes me feel like I might as well just get a PC
  • K3Nv2 @ K3Nv2:
    Were talking new Gen consoles at launch here
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah they just are glorified mid range PCs these days
  • Psionic Roshambo @ Psionic Roshambo:
    The age of home consoles has passed, they got assimilated
  • K3Nv2 @ K3Nv2:
    They still serve a purpose for people that don't want to dive deep into it and just buy something that works
  • Psionic Roshambo @ Psionic Roshambo:
    I think the PS3 was the last console that was custom and felt at least slightly home console to me, although the constant updates pissed me off to no end.... "I got a day off from work let's play some games..." Well maybe after the hour long firmware update.... Shit the game needs an hour long update too??
  • K3Nv2 @ K3Nv2:
    Microsofts giving us options the other two should've followed with tbh not everyone is going to give a damn about 4k 120fps
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think they should have focused on 1440P and let the TVs handle upscale duty
  • Psionic Roshambo @ Psionic Roshambo:
    My 4K TV admittedly is a higher end one turns 1080P into 4K nicely
  • K3Nv2 @ K3Nv2:
    Og switch should've released with 1440p and then release with a cheaper 720p panel at the end
  • Psionic Roshambo @ Psionic Roshambo:
    Switch Ghetto Edition lol
  • K3Nv2 @ K3Nv2:
    Screw a lite they missed an opportunity to sell the screen
  • Psionic Roshambo @ Psionic Roshambo:
    I think all these retro consoles and Pi owe a large part of their market to home consoles being so expensive and the collectors driving up old consoles to the sky.
  • Faust03 @ Faust03:
    switch 2 will only have 3 games and will be the second coming of the virtual boy
  • K3Nv2 @ K3Nv2:
    Nah if you're thinking switch 2 vr headset they have enough of a blueprint for specs to be decent Mario in full room scale would be cool some vr headsets already did demo of smb3 with a apple vr iirc
  • Psionic Roshambo @ Psionic Roshambo:
    Augmented reality peach dating sim would sell a few copies
  • K3Nv2 @ K3Nv2:
    https://youtu.be/gVLHKrHBbZI?si=s_ljcNW1cQpvBkPj this would be cool if it just mapped the outside and was just there
  • MedAnimations @ MedAnimations:
    hi guys
  • MedAnimations @ MedAnimations:
    i just wanted to ask, did anyone by any chance try the Flash Wiiware Injector?
    MedAnimations @ MedAnimations: this