Hacking Wii U Hacking & Homebrew Discussion

  • Thread starter Thread starter filfat
  • Start date Start date
  • Views Views 5,120,670
  • Replies Replies 21,104
  • Likes Likes 29
You're not supposed to directly build the framework. You build a project, and it will build the framework in the process.



If we use the kernel exploit, we can inject code into Smash that uses the SD card.
But to make the html file for the exploit you need to build generate_html.py though right? because of the socket.h thing?
 
As the README says, you do:

Code:
python build.py <project path>

from the libwiiu root directory.
same thing when I try that.

Code:
metr@metr-PC /cygdrive/c/users/metr/desktop/libwiiu-master/scripts
$ python build.py /examples/helloworld
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
Traceback (most recent call last):
  File "build.py", line 43, in <module>
    main()
  File "build.py", line 28, in main
    os.chdir(projectDir)
OSError: [Errno 2] No such file or directory: '/examples/helloworld'
 
same thing when I try that.

Code:
metr@metr-PC /cygdrive/c/users/metr/desktop/libwiiu-master/scripts
$ python build.py /examples/helloworld
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
Traceback (most recent call last):
  File "build.py", line 43, in <module>
    main()
  File "build.py", line 28, in main
    os.chdir(projectDir)
OSError: [Errno 2] No such file or directory: '/examples/helloworld'

Is powerpc-eabi-gcc.exe in your PATH, and did you restart the shell after adding it?
 
Is powerpc-eabi-gcc.exe in your PATH, and did you restart the shell after adding it?
yes, I put that exe all over the place, But I also added the path in environmental variables, same way when I had to add adb for android stuff. But I also put it in system32 and windows a long with every subfolder in libwiiu. I restarted as well.

It's weird because it worked on my home computer. And it doesn't say command not found anymore.
 
yes, I put that exe all over the place, But I also added the path in environmental variables, same way when I had to add adb for android stuff. But I also put it in system32 and windows a long with every subfolder in libwiiu. I restarted as well.

It's weird because it worked on my home computer. And it doesn't say command not found anymore.

You don't need to put powerpc-eabi-gcc.exe in every directory, that's exactly what PATH is meant to avoid.
 
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.
Café OS isn't running in the backgroud when you are in vWii mode.
 
  • Like
Reactions: pelago
But... I don't see the point.
vWii do that really well! Why replace it?

It was just an example. vWii works pretty well for the most part, but it'd be nice if it supported Wii U Pro Controllers natively, for example.

On another note, Python 3's built in simple web server (e.g. python -m http.server) makes testing these hello worlds and such quite easy. No need to install a huge web server pack just for this stuff. :D
 
Great Achievement there! Now i can hope that in the near Future it may be possible to use a Router as an Range Extender for the wifi connection between the Gamepad and the WiiU
 
  • Like
Reactions: I pwned U!
I'm unfortunately on version 5.4.0 U currently :L Does this mean I am unable to do this? Also, I saw you could get 5.3.2 with Mario Party 10 or Splatoon discs but the question is, would it let me downgrade?? Doubt it..
 

Site & Scene News

Popular threads in this forum