Hacking Wii U Hacking & Homebrew Discussion

  • Thread starter Thread starter filfat
  • Start date Start date
  • Views Views 5,122,464
  • Replies Replies 21,104
  • Likes Likes 29
If I recall correctly they said that SD access was a huge pain in the ass due to the browser not having permissions to use it at all, and would need to exploit a game like Smash 4 in order to gain the needed access. USB is far, far more realistic.
Well, if USB access is more realistic then SD access and USB access will first be achieved after the IOSU exploit, that means there won't be SD access... Too bad!
 
so I was able to build the findcode.532 at home for some reason after I pasted the powerpc-eabi-gcc.exe everywhere and the thing actually build the findcode*.bin in the folder but now when I do it from work, where my wiiu is I get the create process: no such file or directory I added it to my path variables and also pasted it in my system32 and windows folder so I don;t get command not found anymore.

Any tips?
 
I don't think it's that unrealistic to ask people to have a USB stick handy for WiiU homebrew; even an 8GB stick can be purchased for nearly pennies anymore.
 
If I connect to the internet and quickly change my primary DNS to 192.168.0.0 and secondary to 172.0.0.1 like NWPlayer123 said any pages back, will my console install the partially downloaded update and brick itself?
Instead of telling me how to connect to the internet (no offense meant fatsquirrel), could someone who knows the answer please answer this question.
 
the thing is most devs dont want to work with nintendo sdk its much harder to make an emulator if you have to follow the sdk thats why the 3ds homebrew isnt too advanced still, having full acess makes codding much easier since you dont need to know and call every functions you can straight up code.

There are a few options you would have to develop homebrew:
1. Use Nintendo's SDK libraries. This can often be done with just a userspace exploit, and at most only requires the kernel exploit. It's nice because Nintendo has all the functions implemented, but figuring them out could be tricky.
2. Port Linux and use Linux APIs to write homebrew. Definitely requires at least the kernel exploit, and some pretty deep knowledge of the hardware (PPC cores, GPU, audio hardware). IOSU will handle some things (USB, networking, DRH) for you, but you still need to figure out those interfaces and write code to interface with the DRH.
3. Complete baremetal programming. This is almost certainly a bad idea, since APIs for all the hardware (APIs which already exist) will have to be rewritten from scratch. Definitely needs kernel or IOSU exploit, depending on how far you mean by baremetal.
 
The only real advantage I could even think of for option 3 would be to have a bare-metal Nintendont-esque app to run Wii games or something, without the "overhead" of Café OS running (is it even that resource intensive in the first place?) in the background.
 
@Marionumber1
Since we need the software to have access to the different libraries,
is there a way to get SD card access in userland through loading the Browser-Exploit while running Sm4sh?
If so, what would be the steps to do it?
Or is the Kernel/IOSU exploit also already near completion?
 
Wow.
I just realised that the code has to be with the html file! :wacko:
What ways are there to link my Wii U to my PC via network to call the html file?
Or can you add code that loads code from the SD card @Adr990 ?
(Don't know whether it's possible in userland or not! :( )
I would definitely want to look into it! In libwiiu we already have an example for checking USB storage devices in "examples/usbstor".
The example checks all 4 usb ports, and tells whether it detected storage interfaces or not.

Regardless, as said before, the Browser doesn't have access to the SD card slot. But that is where the kernel exploit comes in.
And I cannot yet test my own code/modifications as I am on FW 2.1.0, I am depended on Hykem for that.


I got "could not display page"
Oh, well, I was messing around with it for a second there... I will do that on a different location from now on. :P

But you only got "Could not display page", or some error message, or popup from the WiiU saying the file is too big etc?
 
I can't. It says "The Security Key You Entered Was Incorrect"
What if you enter your normal password, but make one letter a lower case if it's supposed to be capital and vice versa. For example if your password is "hunter2" try "Hunter2" (this isn't my password btw, it's a reference to this.)
 
What if you enter your normal password, but make one letter a lower case if it's supposed to be capital and vice versa. For example if your password is "hunter2" try "Hunter2" (this isn't my password btw, it's a reference to this.)
NWM I fixed life (kinda).
 
I would definitely want to look into it! In libwiiu we already have an example for checking USB storage devices in "examples/usbstor".
The example checks all 4 usb ports, and tells whether it detected storage interfaces or not.

Regardless, as said before, the Browser doesn't have access to the SD card slot. But that is where the kernel exploit comes in.
And I cannot yet test my own code/modifications as I am on FW 2.1.0, I am depended on Hykem for that.



Oh, well, I was messing around with it for a second there... I will do that on a different location from now on. :P

But you only got "Could not display page", or some error message, or popup from the WiiU saying the file is too big etc?
I'm going to try again, I'll get right back to yea

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

Oh hey , hell yeah it works!

hello on 5.3.2!

WOuld you know why I'm having a hard time compiling findcode? in cygwin I type 'python build.py framework' but it says "no such file or directory"
 
  • Like
Reactions: Adr990
I'm going to try again, I'll get right back to yea

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

Oh hey , hell yeah it works!

hello on 5.3.2!

WOuld you know why I'm having a hard time compiling findcode? in cygwin I type 'python build.py framework' but it says "no such file or directory"
:D

Uhm, it really depends where and when it says that.
Could you copy paste the text that appears after you hit enter? ;)

(Put it in [code ] blocks, or paste it on pastebin)
 
  • Like
Reactions: TheZander
I was on 5.3.2 and I just unplugged my ethernet adapter. I'm not touching anything until you guys tell me there's a way to spoof firmware/emunand/whatever.

I'm not rushing, I'm not demanding but I would like to know if that's in the cards.
 
:D

Uhm, it really depends where and when it says that.
Could you copy paste the text that appears after you hit enter? ;)

(Put it in [code ] blocks, or paste it on pastebin)
Code:
metr@metr-PC /cygdrive/c/users/metr/desktop/libwiiu-master/scripts
$ python build.py framework
Building for your cygwin_nt-6.1 platform...
mkdir -p C:/users/metr/desktop/libwiiu-master/scripts/framework/bin
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ C:/users/metr/desktop/libwiiu-master/scripts/framework/src/findcode532.c
powerpc-eabi-gcc.exe: error: CreateProcess: No such file or directory
make: *** [findcode532] Error 1
mkdir -p C:/users/metr/desktop/libwiiu-master/scripts/libwiiu/bin/532/
mkdir -p C:/users/metr/desktop/libwiiu-master/scripts/libwiiu/bin/500/
mkdir -p C:/users/metr/desktop/libwiiu-master/scripts/libwiiu/bin/410/
mkdir -p C:/users/metr/desktop/libwiiu-master/scripts/libwiiu/bin/400/
mkdir -p C:/users/metr/desktop/libwiiu-master/scripts/libwiiu/bin/300/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532  C:/users/metr/desktop/libwiiu-master/scripts/libwiiu/src/*.c
powerpc-eabi-gcc.exe: error: CreateProcess: No such file or directory
make: *** [libwiiu532] Error 1
mkdir -p C:/users/metr/desktop/libwiiu-master/scripts/framework/bin
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ C:/users/metr/desktop/libwiiu-master/scripts/framework/src/findcode532.c
powerpc-eabi-gcc.exe: error: CreateProcess: No such file or directory
make: *** [findcode532] Error 1
Traceback (most recent call last):
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 148, in <module>
    main()
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 56, in main
    findcode = open('{0}/bin/findcode{1}.bin'.format(path,ver), 'rb').read()
IOError: [Errno 2] No such file or directory: '/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/bin/findcode532.bin'
Traceback (most recent call last):
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 148, in <module>
    main()
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 56, in main
    findcode = open('{0}/bin/findcode{1}.bin'.format(path,ver), 'rb').read()
IOError: [Errno 2] No such file or directory: '/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/bin/findcode500.bin'
Traceback (most recent call last):
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 148, in <module>
    main()
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 56, in main
    findcode = open('{0}/bin/findcode{1}.bin'.format(path,ver), 'rb').read()
IOError: [Errno 2] No such file or directory: '/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/bin/findcode410.bin'
Traceback (most recent call last):
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 148, in <module>
    main()
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 56, in main
    findcode = open('{0}/bin/findcode{1}.bin'.format(path,ver), 'rb').read()
IOError: [Errno 2] No such file or directory: '/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/bin/findcode400.bin'
Traceback (most recent call last):
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 148, in <module>
    main()
  File "/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/generate_html.py", line 56, in main
    findcode = open('{0}/bin/findcode{1}.bin'.format(path,ver), 'rb').read()
IOError: [Errno 2] No such file or directory: '/cygdrive/c/users/metr/desktop/libwiiu-master/scripts/framework/bin/findcode300.bin'
 
I'm going to try again, I'll get right back to yea

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

Oh hey , hell yeah it works!

hello on 5.3.2!

WOuld you know why I'm having a hard time compiling findcode? in cygwin I type 'python build.py framework' but it says "no such file or directory"

You're not supposed to directly build the framework. You build a project, and it will build the framework in the process.

@Marionumber1
Since we need the software to have access to the different libraries,
is there a way to get SD card access in userland through loading the Browser-Exploit while running Sm4sh?
If so, what would be the steps to do it?
Or is the Kernel/IOSU exploit also already near completion?

If we use the kernel exploit, we can inject code into Smash that uses the SD card.
 

Site & Scene News

Popular threads in this forum