Homebrew Anybody have a guide on making wii u homebrew apps?

Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,915
Country
Australia
I have not been on the website for a while so thanks for the help. And about all that school stuff. I just started year 7. Evrybody is asking me to hacks stuff lol
I've been there - being known as a techie is both a blessing and a curse. Be sure to make friends with the IT guys! :3
 

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
Nice topic, it really seems like some people are trying to get others up and running. I'm already proficient in many languages but I just don't feel like developing Wii U apps because there is really nothing I'm particularly excited about doing and it's pretty tedious to run code and when it crashes it's time to reboot, reload the exploit(s) and such so it's tiring :mellow:
I've been there - being known as a techie is both a blessing and a curse. Be sure to make friends with the IT guys! :3
Once a lonely nerd loser then the coolest person around haha. That's the evolution of IT guys :P
 
Last edited by BullyWiiPlaza,
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,915
Country
Australia
Nice topic, it really seems like some people are trying to get others up and running. I'm already proficient in many languages but I just don't feel like developing Wii U apps because there is really nothing I'm particularly excited about doing and it's pretty tedious to run code and when it crashes it's time to reboot, reload the exploit(s) and such so it's tiring :mellow:
I've managed to convince the Wii U's exception handler to return execution to the main thread; turns out the OSContext you get passed is the actual one for the thread that crashed. Thus, you can just set the program counter to wherever you'd like. You just return 1 and away it goes. The problem I've found is that moving too far from the crash location absolutely destroys the stack so you can't return to HBL or anything; although since you're on the main thread you could make yourself an interactive exception handler (for instance).

Once a lonely nerd loser then the coolest person around haha. That's the evolution of IT guys :P
So very true :D
 

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
I've managed to convince the Wii U's exception handler to return execution to the main thread
That's cool. While you're at it, you might as well make a debugger/breakpoints because it would be really useful to step through certain functions called by RPC for instance to better see what's going on/why it's not working how it should. Thank you for considering it :)
 

JFalcon

Well-Known Member
Member
Joined
Jun 28, 2015
Messages
262
Trophies
0
Age
39
XP
411
Country
Think having some prior knowledge in a programming language would be wise. " Guides " aren't something that can just be whipped up and would require prior knowledge like I said, in order to be used.
 

depaul

Well-Known Member
Member
Joined
May 21, 2014
Messages
1,310
Trophies
1
XP
3,032
Country
France
You can learn C in 3 months or less. Just do some basic examples and you'll be fine. C++ is like C it just has some extra OOP functionalities (which aren't needed in the context of Wii U hacking).
 

depaul

Well-Known Member
Member
Joined
May 21, 2014
Messages
1,310
Trophies
1
XP
3,032
Country
France
Ok. Ill probably do C then.
But that doesn't mean that you will understand every C function. Even expert programmers know 10% or less about their programming language. They learn every time new thing: "learn it by doing it".

I think you should wait for the IOSU before developing for the Wii U...

@QuarkTheAwesome says there is no reason to wait everything is already possible with kernel exploit, except USB/permanent hack.
 

enderzombie15

Well-Known Member
OP
Newcomer
Joined
Sep 8, 2016
Messages
69
Trophies
0
Location
England
XP
56
Country
I think you should wait for the IOSU before developing for the Wii U...


But what do I know, I'm a 3DS dev.
Maybe? I might try to do some simple stuff before IOSU (now) and try more advanced stuff later on when IOSU has been released.

Also, If i was to write something like print "Hello world" (probably not that easy to code it) how would i get it onto the wii u.

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

@QuarkTheAwesome says there is no reason to wait everything is already possible with kernel exploit, except USB/permanent hack.
Maybe I wont wait then. Yeah I wont wait.
 

rw-r-r_0644

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
351
Trophies
0
Age
22
XP
741
Country
Italy
You may be interested in that: https://github.com/rw-r-r-0644/WiiU-HelloWorld-Easy

You may want to look here: https://github.com/rw-r-r-0644/WiiU-HelloWorld-Easy
I did this yesterday for some reason (maybe just because it was fun to make :P); basically (it's a W.I.P.) it tries to provide a library to make homebrew as easy as a windows constole application. Many things do not work yet, but this is the main.c file:
Code:
uprintf("Hello World!");
while(1) {
    updatePressedButtons(); //Update buttons state
    if(isPressed(VPAD_BUTTON_HOME)) break; //Check if home is pressed
}
uprintf("Exiting...");
return 0;

It's quite easy. Anyway, as I said, it's still a W.I.P. and probably would need to be implemented as proper libraries (and moved to WUT for future wii u develops).
Also '\n' (new line) seems to still be not working (I'm trying to fix that, it's just because OSScreenPutFontEx doesn't seem to care about new line) - Fixed (in a bad, hacky way)
You can call any wii u function without find_export and a super-commented example will be available soon(tm?) - Now available at: https://github.com/rw-r-r-0644/lib_easy_example__UClick. As of now I'm still trying to fix things and adding more functions
 
Last edited by rw-r-r_0644,
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,915
Country
Australia
I've said this several times, and I'll say it again:

An IOSU exploit is completely unnecessary for developing homebrew.

While the methods of loading homebrew will change, from a programming standpoint it'll be identical: The absolute worst that could happen is you need to change your Makefile a bit, or (optionally) add USB support. The kernel exploit already gives us all the power of a retail game and the Wii U doesn't have much more to offer than that. I've explained this a bit more over here, but to sum it up IOSU total control isn't worth waiting for.
 

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
Yeah, those kiddies are clueless and clutter the forum with this stupid "IOSU will change everything" mentality:
Code:
1 w1ll b3 4bl3 70 d3v3l0p 1n54n3 7h1n65 0nc3 105u 15 0u7. n0 n33d 70 574r7 n0w wh1l3 17'5 h4rd
Not really but you'll learn your lesson eventually when suddenly it's still all the same and you still can't or won't develop anything :D
 
Last edited by BullyWiiPlaza,
  • Like
Reactions: rw-r-r_0644
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,915
Country
Australia
Yeah, those kiddies are clueless and clutter the forum with this stupid "IOSU will change everything" mentality:
Code:
1 w1ll b3 4bl3 70 d3v3l0p 1n54n3 7h1n65 0nc3 105u 15 0u7. n0 n33d 70 574r7 n0w wh1l3 17'5 h4rd
Not really but you'll learn your lesson eventually when suddenly it's still all the same and you still can't or won't develop anything :D

I like to think that they're simply misinformed from the hype machine and overall glorification of the IOSU exploit.
We just witnessed it happen, too: remember that enderzombie probably didn't know a huge amount about how the Wii U was put together before starting this thread; and here's the whole userbase excited about IOSU and some developers talking about its power (still no idea where you all got that idea from ;D ) while the other developers don't really mention it: what would you conclude? I'd certainly think twice; it's like if someone pitched you browserhax homebrew during the lead-up to kernel.
For this reason, I reckon the best solution is to provide the correct information to the best of my ability. Everyone has the potential to become a great developer given the resources they need, which is why I have an issue with disregarding people who are really just misinformed. I still hope we can find a way to be excited aboit exploits without having developers as our collateral damage.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    i hope both of you guys get better
    +2
  • SylverReZ @ SylverReZ:
    Thanks mate.
  • Sicklyboy @ Sicklyboy:
    I used to drink alcohol fairly often. Never to the point of it being a problem, but like 2-3 beers with dinner each night, or a few cocktails or glasses of Scotch or something. Started smoking/vaping weed a lot a few years back which killed 90% of my interest in booze. Now I stopped smoking/vaping weed as much and just deal with life the boring way most of the time
    +1
  • Xdqwerty @ Xdqwerty:
    I only drank alcohol once and it was by accident
  • Xdqwerty @ Xdqwerty:
    I didnt know it was beer, it was on a juice bottle
  • SylverReZ @ SylverReZ:
    Yeah, I'm addicted to smoking, sadly. It's very addictive but I wish I didn't start.
  • K3Nv2 @ K3Nv2:
    May just order a 5700g for a nas/emulation set up tbh
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast you were asleep on 4/20
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, you played that Mario flash game called Mario 63?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, No, but I've seen it on Vinesauce's stream.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that game is one of the reasons i met newgrounds bc the full versión of it is in that site
  • Xdqwerty @ Xdqwerty:
    Also somebody is remaking it
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, the other game where I found newgrounds is new york shark
    +1
  • SylverReZ @ SylverReZ:
    Spoke to Tom Fulp the other day, if he can find his old Newgrounds site content like the mini Flash animations from the 2000's that played on the portal.
  • SylverReZ @ SylverReZ:
    So far no response, but he did say that he'll find them. Wayback Machine doesn't have em.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast the 1999 versión of pico's school is avaliable (the difference between it, the 2006 versión and the 2016 versión is that the speed of the game depends of the speed of your computer and that it had the og soundtrack)
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Another being Pico VS Bear, the original 1999 version before Jim Henson filed a DMCA takedown.
    +1
  • Xdqwerty @ Xdqwerty:
    The 2006 versión was made when the flash portal was made
  • SylverReZ @ SylverReZ:
    Many people thought it was lost, but was discovered that he hid it on the same page.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although the "secrets" system where the game was has been removed. Also pico vs uberkids had a netplay versión that was shutdown, although the swf file has been found
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nope. There are two download buttons on the same page, where you can download the original under a file called "bear.exe". "bear2.exe", however, is the updated game in a Flash projector. P.s. this was on the archived Pico page from 2000.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's been there for a long time, too. People who search for lost media don't look hard enough lmao.
    +1
    SylverReZ @ SylverReZ: @Xdqwerty, That's been there for a long time, too. People who search for lost media don't look... +1