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,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,907
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
  • Psionic Roshambo @ Psionic Roshambo:
    It could get banned from PSN but you can change your ID I think?
  • Xdqwerty @ Xdqwerty:
    also gonna install twilight menu in my r4 flashcard
  • Psionic Roshambo @ Psionic Roshambo:
    One thing that just occurred to me.... The sound on the 2600 sucked less back then the harsh sound we hear now is from infinitely better speakers we have now, back when the 2600 was new speakers produced a almost muffled sound, like CRTs made old graphics look slightly better.
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder if I could recommend that to some emulation devs that perhaps the sound could use some smoothing out to simulate those old TVs
  • Psionic Roshambo @ Psionic Roshambo:
    I think a few of the early systems could benefit from that, at least up to the 8 bit generation, by the 16 bit generation I think TVs had gotten a lot better in almost every way
  • Xdqwerty @ Xdqwerty:
    i dont have an sd card adapter but I have an usb sd card adapter
  • K3Nv2 @ K3Nv2:
    Old people games
  • Xdqwerty @ Xdqwerty:
    its not the one that comes with the r4
  • Xdqwerty @ Xdqwerty:
    doesnt work (my flashcard is from r4isdhc.com)
  • Xdqwerty @ Xdqwerty:
    might install ysmenu first
  • Psionic Roshambo @ Psionic Roshambo:
    Try Wood firmware
  • Psionic Roshambo @ Psionic Roshambo:
    For your R4
  • Psionic Roshambo @ Psionic Roshambo:
    It's old but it's the best firmware out for DS stuff
  • Xdqwerty @ Xdqwerty:
    it says it only works for the original R4, R4i Gold (r4ids.cn), R4iDSN (r4idsn.com) and Acekard R.P.G.
  • Xdqwerty @ Xdqwerty:
    nvm it does support mine
  • Xdqwerty @ Xdqwerty:
    but why choose it over ysmenu @Psionic Roshambo?
  • Xdqwerty @ Xdqwerty:
    bc im stupid?
  • Xdqwerty @ Xdqwerty:
    yea ik im stupid
  • Xdqwerty @ Xdqwerty:
    good night
  • Psionic Roshambo @ Psionic Roshambo:
    Just give it a try, but honestly if you have a 3DS you can play DS games without a card just off the internal SD card
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly slower loading but a bit more convenient
  • BakerMan @ BakerMan:
    guys, my fuckin headphones have an out of place speaker
  • K3Nv2 @ K3Nv2:
    Did you try wearing them?
    K3Nv2 @ K3Nv2: Did you try wearing them?