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

Well-Known Member
Member
Joined
Aug 5, 2014
Messages
1,732
Trophies
1
Age
26
Location
Earth
XP
1,809
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,125
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
  • K3Nv2 @ K3Nv2:
    You're as loved as much as Juan now enjoy it
    +1
  • K3Nv2 @ K3Nv2:
    I'm sorry for the insult
  • BakerMan @ BakerMan:
    the difference is i like wario and samus and he likes muscle mommies and feet
    +1
  • BakerMan @ BakerMan:
    wait, i forgot wizards too
  • BigOnYa @ BigOnYa:
    I have a buddy that has a moonshine still and he makes his own shine. He brought me a jar of some peach shine/brandy, shit is damn good. Gonna have to see if can get more.
    +1
  • BakerMan @ BakerMan:
    careful that shit don't make you go blind
  • BigOnYa @ BigOnYa:
    Nuh that's only if you drink what first comes out when distilling, you must throw out the first part of it when it starts running. (Its called the "head(s)" of the run) Or use it for fuel or a general purpose cleaner
    +1
  • K3Nv2 @ K3Nv2:
    If alcohol would've made @BigOnYa blind by now it would have
    +2
  • BigOnYa @ BigOnYa:
    So True.
    +1
  • K3Nv2 @ K3Nv2:
    I should make a poll for bigonya to change his username to DrunkOnYa
    +1
  • BigOnYa @ BigOnYa:
    That's my alt
    +1
  • K3Nv2 @ K3Nv2:
    I don't wanna go to the store someone go for me
  • BigOnYa @ BigOnYa:
    Call my wifey, tell her pick up stuff on her way over.
  • K3Nv2 @ K3Nv2:
    Pick up my door dash meat me in the allyway
    +1
  • BigOnYa @ BigOnYa:
    Wifey is busy, so ill send my buddy @AncientBoi , in his gimp outfit. "who ordered the 6" sausage?""
  • K3Nv2 @ K3Nv2:
    Like subway it's false advertising
    +1
  • BigOnYa @ BigOnYa:
    Ok "who ordered the Vienna sausage?"
  • K3Nv2 @ K3Nv2:
    Uremum
    +1
  • BigOnYa @ BigOnYa:
    My buddy convince me to download and play poker game with him yesterday, called Four Kings Casino, its pretty fun actually, you create a avatar and walk around in a virtual casino, and play any table, or slots with others online.There's even a dance club and bowling alley.
  • SylverReZ @ SylverReZ:
    They should bring advertisements like this back LOL.
  • BakerMan @ BakerMan:
    or that german ninja turtle commercial
    +1
  • K3Nv2 @ K3Nv2:
    Forgot to buy BBQ sauce at the store so made my own ffs
  • RedColoredStars @ RedColoredStars:
    Blues Hog BBQ sauces are pretty good.
  • K3Nv2 @ K3Nv2:
    My insurance has a thing where if I do a virtual visit they'll just send me a $100 gift card to Walmart I'm about to sell a company my medical history for $100 lol
    K3Nv2 @ K3Nv2: My insurance has a thing where if I do a virtual visit they'll just send me a $100 gift card to...