Hacking Wii U Hacking & Homebrew Discussion

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
OK, I've solved both cygpath (commented in all makefiles) and gcc problems (it was devkitpro instead of devkitPro), but now I get this error:
Try "python build.py examples/helloworld" maybe that one works?

Otherwise maybe start with a new clean wiiulib-master?
 
  • Like
Reactions: nastys

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Try "python build.py examples/helloworld" maybe that one works?

Otherwise maybe start with a new clean wiiulib-master?
Thanks, it worked! :lol:
nastys@ULNS:~/Scrivania/libwiiu-master$ python build.py examples/helloworld
Building for your linux platform...
mkdir -p /home/nastys/Scrivania/libwiiu-master/framework/bin
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/532/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/500/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/410/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/400/
mkdir -p /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/300/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/532
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/500
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/410
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/400
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300 /home/nastys/Scrivania/libwiiu-master/libwiiu/src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o /home/nastys/Scrivania/libwiiu-master/libwiiu/bin/300
rm /home/nastys/Scrivania/libwiiu-master/libwiiu/*.o
mkdir -p /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin
rm /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/code532.bin /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/loader.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/../../libwiiu/bin/532/*.o `find /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin -name "*.o" ! -name "loader.o"`
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin
rm /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/code500.bin /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/loader.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/../../libwiiu/bin/500/*.o `find /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin -name "*.o" ! -name "loader.o"`
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin
rm /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/code410.bin /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/loader.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/../../libwiiu/bin/410/*.o `find /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin -name "*.o" ! -name "loader.o"`
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin
rm /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/code400.bin /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/loader.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/../../libwiiu/bin/400/*.o `find /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin -name "*.o" ! -name "loader.o"`
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300 src/*.c
#-Wa,-a,-ad
cp -r /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin
rm /home/nastys/Scrivania/libwiiu-master/examples/helloworld/*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/code300.bin /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin/loader.o /home/nastys/Scrivania/libwiiu-master/examples/helloworld/../../libwiiu/bin/300/*.o `find /home/nastys/Scrivania/libwiiu-master/examples/helloworld/bin -name "*.o" ! -name "loader.o"`
nastys@ULNS:~/Scrivania/libwiiu-master$
 

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
Great! :)

Also, loading a different payload than supposed to leads to a message popup saying "The page cannot be fully displayed because of it's size" (or something similar), can anyone confirm? :P (By changing the stuff in index.html)
Just tried to load the 300 payload on my 2.1.0 WiiU, it came up with that message. I expected it to crash, without loading any brewed code of course, but instead it seems to not load it at all.

Seems this webkit bug/ROP chain stuff is way more sensitive than I thought.


Edit:
Never mind, my Wii U froze this time.
 
Last edited by Adr990,

Mazamin

Well-Known Member
Member
Joined
Sep 4, 2014
Messages
1,895
Trophies
0
XP
3,079
Country
Italy
When i try to load the webpage payload532.html on the browser the wii u crashes.
Have i bad compiled the program?
Can you send me the webpage that works for you?
 

JustPingo

Well-Known Member
Member
Joined
Jan 11, 2015
Messages
497
Trophies
0
Age
24
XP
1,081
Country
France
So...
I tried to compile. Miserable failure.
Basically, when I run the python, it tells me that there's no bin in framework. So I guessed I should compile framework first.
But when I try to compile framework, it just tells me that it can't find powerpc-eabi-gcc. I'm on Linux (Ubuntu), and I didn't find any way to install it.
Can I have some help please?
Thanks.
 

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
So...
I tried to compile. Miserable failure.
Basically, when I run the python, it tells me that there's no bin in framework. So I guessed I should compile framework first.
But when I try to compile framework, it just tells me that it can't find powerpc-eabi-gcc. I'm on Linux (Ubuntu), and I didn't find any way to install it.
Can I have some help please?
Thanks.
Read the comments on this exact page...
 

JustPingo

Well-Known Member
Member
Joined
Jan 11, 2015
Messages
497
Trophies
0
Age
24
XP
1,081
Country
France
Read the comments on this exact page...

I did read them, but I didn't understand what you meant.

I admit, the tutorial for powerpc-eabi-gcc isn't straight forward, like the python one, so:
Code:
echo "PATH=\$PATH:/cygdrive/c/devkitPro/devkitPPC/bin" >> .bash_profile
source .bash_profile
which powerpc-eabi-gcc

What's that?
 

calangoni

New Member
Newbie
Joined
Jun 16, 2014
Messages
2
Trophies
0
Age
39
XP
101
Country
Brazil
So...
I tried to compile. Miserable failure.
Basically, when I run the python, it tells me that there's no bin in framework. So I guessed I should compile framework first.
But when I try to compile framework, it just tells me that it can't find powerpc-eabi-gcc. I'm on Linux (Ubuntu), and I didn't find any way to install it.
Can I have some help please?
Thanks.

To install devkitppc use the automated installer at:
http://sourceforge.net/projects/devkitpro/files/Automated Installer/

Just run: "./devkitPPCupdate.pl"
 

Adr990

To boldly go where no man has gone before!
Member
Joined
Apr 22, 2007
Messages
1,567
Trophies
0
Location
The Netherlands
Website
www.hyrule.net
XP
737
Country
Netherlands
I already tried it. It didn't work, same error.
Hmm...

Well you've got to fix the "powerpc-eabi-gcc" part, did you add the "devkitPro/devkitPPC/bin" path it to your Environment Path?
And can you confirm that it has been added, and works for your shell environment?

After you've done that correctly, try to compile with this line:
"python build.py examples/helloworld"

Edit:
I did try it. But it seems that it didn't install powerpc-eabi-gcc.
It needs to install devkitPPC, in there is the powerpc-eabi-gcc.

Edit 2:
It helps to read the readme:
https://github.com/wiiudev/libwiiu/blob/master/Readme.MD
:P
 
Last edited by Adr990,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: