Homebrew Is there a example homebrew that has a simple text console?

shutterbug2000

Cubic NINJHAX!
Member
Joined
Oct 11, 2014
Messages
1,088
Reaction score
2,562
Trophies
0
Age
31
XP
4,903
Country
United States
It may sound like a weird request, but if I can find that, I might have something I can release, possibly even tonight!
 
The example hello world maybe?

Yes but where lol I know there were a lot of examples in some file I downloaded months back but I have since deleted my downloads folder and can't seem to locate Quark's guide either.
 
The problem with that is that it uses OSFatal, which iirc means it stops the program.

Wouldn't you be able to stave off this call by waiting for some kind of user input, either a sentry controlled loop or some equivalent to a new line prompt?
 
Yes but where lol I know there were a lot of examples in some file I downloaded months back but I have since deleted my downloads folder and can't seem to locate Quark's guide either.

This is the guide you're looking for (I think) but keep in mind it's nowhere near completion.
 
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,

Site & Scene News

Popular threads in this forum