Trucha Bug Restorer release

Discussion in 'Wii - Hacking' started by WiiPower, Jul 4, 2009.

  1. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The


  2. ExLex

    ExLex Advanced Member

    Newcomer
    55
    0
    Apr 21, 2007
    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???
     
  3. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    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.
     
  4. ExLex

    ExLex Advanced Member

    Newcomer
    55
    0
    Apr 21, 2007
    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?
     
  5. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    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.
     
  6. muzz

    muzz GBAtemp Regular

    Member
    163
    0
    Jul 22, 2008
    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!
     
  7. computerboy

    computerboy GBAtemp Advanced Fan

    Member
    802
    0
    Sep 20, 2008
    Swaziland
    Thanks WiiPower exactly what I needed
     
  8. Midna

    Midna Banned

    Banned
    3,336
    839
    Apr 13, 2008
    Albania
    Cool. Nice work, WiiPower.
     
  9. FenrirWolf

    FenrirWolf GBAtemp Psycho!

    Member
    4,346
    326
    Nov 19, 2008
    United States
    Sandy, UT
    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?
     
  10. Benjay

    Benjay Hardstyle Addict

    Member
    909
    7
    May 25, 2009
    France
    Amiens
    i think it does.
     
  11. FenrirWolf

    FenrirWolf GBAtemp Psycho!

    Member
    4,346
    326
    Nov 19, 2008
    United States
    Sandy, UT
    If it installs them on virgin boot2v4 Wiis, that's pretty cool. I'm afraid I don't have one to test it on.
     
  12. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    For now i only have 1 confirmation.
     
  13. grama

    grama Member

    Newcomer
    25
    0
    Dec 4, 2008
    Brazil
    Brazil
    Download link is not working, could somebody post a working link? Thanks!
     
  14. HiBit

    HiBit GBAtemp Fan

    Member
    477
    0
    Jun 19, 2009
    Gambia, The
    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(NO LU!).
     
  15. kyogc

    kyogc GBAtemp Fan

    Member
    324
    0
    Nov 24, 2008
    Taiwan
    NVM.
     
  16. grama

    grama Member

    Newcomer
    25
    0
    Dec 4, 2008
    Brazil
    Brazil
    Thanks, this one work for me. [​IMG]
     
  17. LurkyTheHamster

    LurkyTheHamster Member

    Newcomer
    12
    0
    Jul 4, 2009
    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 [​IMG]

    "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. [​IMG]
     
  18. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    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.
     
  19. kLiNiKaL

    kLiNiKaL Dr. Greenthumb

    Member
    581
    0
    May 24, 2009
    Jamaica
    Los Ganjales
    yer can someone post the title id's of the above mentioned IOS's

    then we could grab em from WB3000's NUS tool.
     
  20. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    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