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,107
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
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo