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

CJB100

Programmer, Media Producer, Hardware Repair
Member
Joined
May 8, 2016
Messages
491
Trophies
0
Age
31
Location
USA
XP
448
Country
United States
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.
 

CJB100

Programmer, Media Producer, Hardware Repair
Member
Joined
May 8, 2016
Messages
491
Trophies
0
Age
31
Location
USA
XP
448
Country
United States
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?
 
Joined
Apr 19, 2015
Messages
1,024
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,925
Country
Australia
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.
 

rw-r-r_0644

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
351
Trophies
0
Age
22
XP
741
Country
Italy
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +2
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    He could make so much money!!! His arm would never get tired lol
    +2
  • S @ salazarcosplay:
    How are yall doing
    +1
    S @ salazarcosplay: How are yall doing +1