Hacking Wii U Hacking & Homebrew Discussion

keine

Well-Known Member
Member
Joined
Aug 29, 2010
Messages
431
Trophies
1
Website
Visit site
XP
1,475
Country
United States
I'm getting a failed to open content: using CDecrypt. I wonder what I'm doing wrong now.....
Tried a couple different Titles.
Using the TMD/CETK taken down by NUS Downloader.
 

WulfyStylez

SALT/Bemani Princess
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
A glance at binaries seems to imply that 5.3.0 patched the bug in coreinit. I don't feel like rewriting these rpls as elfs to more thoroughly check in IDA, though. Marionumber1 , NWPlayer123 can you guys confirm? (also hi! haven't talked to either of you in forever.)
 

Bug_Checker_

Well-Known Member
Member
Joined
Jun 10, 2006
Messages
950
Trophies
0
XP
664
Country
United States
I'm getting a failed to open content: using CDecrypt. I wonder what I'm doing wrong now.....
Tried a couple different Titles.
Using the TMD/CETK taken down by NUS Downloader.

There's a "quirk" of CDecrypt. It appears you cannot set a directory.
So, Content IDs MUST be in the same directory as exe.
 

Bug_Checker_

Well-Known Member
Member
Joined
Jun 10, 2006
Messages
950
Trophies
0
XP
664
Country
United States

diddy81

Wii Theme Team
Member
Joined
Mar 14, 2009
Messages
919
Trophies
1
XP
1,107
Country
I'm getting a failed to open content: using CDecrypt. I wonder what I'm doing wrong now.....
Tried a couple different Titles.
Using the TMD/CETK taken down by NUS Downloader.
i found that the nus downloader was messing up the tmd
if you manually download the tmd then copy that one to CDecrypt it works fine
 

Hykem

Well-Known Member
Member
Joined
May 22, 2014
Messages
109
Trophies
0
Age
123
XP
2,017
Country


Regarding that, the tool is still unfinished and I haven't had the time to work on it. Either way, I'm releasing it on GitHub: https://github.com/Hykem/rpl2elf
You can find a pre-release version under the "Releases" page that is able to decompress the zlib compressed sections and print the several sections of the file. You can manually load the binary data produced by the tool with a disassembler and analyze from there, but that still takes a lot of work.
I'm currently working on finishing it, so if anyone wishes to contribute just open a pull-request. Thanks!
 

WulfyStylez

SALT/Bemani Princess
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
I've been manually building ELFs when I needed to open RPLs in IDA. Kind of a huge pain in the ass but it works at least. Can anyone verify if that bug got patched, though?
 

keine

Well-Known Member
Member
Joined
Aug 29, 2010
Messages
431
Trophies
1
Website
Visit site
XP
1,475
Country
United States
i found that the nus downloader was messing up the tmd
if you manually download the tmd then copy that one to CDecrypt it works fine

Worked!

Does anyone know how the TitleID list is built? The numbering system and the version numbers? How are they known? I'm a bit foggy on what title ids go with what system stuff and how version numbers match up with wii u version.

I wonder if I could fix the NUS Downloader source to not malform the TMD, as well as possibly call CDecrypt.exe after download. As well as parse the TitleList at WiiuBrew or make a xml.

I've been manually building ELFs when I needed to open RPLs in IDA. Kind of a huge pain in the ass but it works at least. Can anyone verify if that bug got patched, though?

What resource do you use? To get the RPL to ELF done. A hex editor and some elf -> rpl/prx docs?
 

caffolote

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
361
Trophies
0
XP
365
Country
United States
I feel that we will get to play Wii U games from USB loaders not too far away. We were able to hack the 3DS from version 4.5-9.2, so hopefully Wii U is next
 

keine

Well-Known Member
Member
Joined
Aug 29, 2010
Messages
431
Trophies
1
Website
Visit site
XP
1,475
Country
United States
RPL is a library and RPX is an executable.

There's a tool for converting RPL/RPX to normal elf files ELF: https://www.sendspace.com/file/ss5pn1

Here's a good writeup for reversing RPL/RPX Wii U files: http://devram0.blogspot.it/2014/01/reversing-wii-u-executables.html

Reup or link? +1. NVM if that is this: https://github.com/Hykem/rpl2elf.
Thanks Hykem either way.

Was there ever a util developed to do the kernal.img decrypt?
Thats prolly a really dumb question I'm afraid.
I don't even know the form of encryption that the ancase/common keys used for are.
http://wiiubrew.org/wiki/Ancast_Image

That helps. It has a structure to it as well as it being AES-128-CBC.
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
Yep.

My apologies.
Nope. It is the WII U CommonKey. Not the vWii key.
Thank you both I have the WII U common key, but pasted it wrong. When pasting it in notepad, it created 32 byte file where pasting it in a hex editor, created a 16 byte file, and the 16 byte file pass where the 32 byte file would fail. I just wanted to try to decrypt the Nintendo TVii just for shits and giggles to see if I could do it:lol:.
 
  • Like
Reactions: TeamScriptKiddies

Theeze

Member
Newcomer
Joined
Feb 13, 2013
Messages
18
Trophies
0
XP
116
Country
Canada
Even if someone finds an exploit, you can't do anything without the kernel itself. I'm not holding my breath, Marcan was right...most of these posts are about dumping isos and modding them, which will eventually lead to online cheating and piracy.

It's very rare that the people that want homebrew, really want homebrew. You can achieve the same goal with a decent android tv box.

The mini PC era is the new thing now, it's affordable and powerful....and when it comes down to emulation, it's cake.
 
  • Like
Reactions: Gruntzer

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Even if someone finds an exploit, you can't do anything without the kernel itself. I'm not holding my breath, Marcan was right...most of these posts are about dumping isos and modding them, which will eventually lead to online cheating and piracy.

It's very rare that the people that want homebrew, really want homebrew. You can achieve the same goal with a decent android tv box.

The mini PC era is the new thing now, it's affordable and powerful....and when it comes down to emulation, it's cake.


If people want to hack the Wii U, let them. Homebrew always leads to piracy, but don't lump all who want homebrew as all being pirates, and besides, who cares?
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
I just can't wait until a browser exploit is made on 5.3.2, and we can actually run homebrew.
Speaking of which, I'm webkit bug hunting whenever I can.


Keep it up! I'm glad to see somebody plugging away at it. I would be right there with you if my Wii U was running at the moment :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Can I hold it for a sec?