Homebrew Filestreams for Hombrew Development

  • Thread starter Deleted User
  • Start date
  • Views 900
  • Replies 3
D

Deleted User

Guest
OP
Lorem Ipsum is slechts een proeftekst uit het drukkerij- en zetterijwezen. Lorem Ipsum is de standaard proeftekst in deze bedrijfstak sinds de 16e eeuw, toen een onbekende drukker een zethaak met letters nam en ze door elkaar husselde om een font-catalogus te maken.
 
Last edited by ,

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
it really depends on what treads you already have running in your app. if you are using libwiigui, you can probably steal the txt reader from wiixplorer. aside from that, you will need to have some thread or function to pass the txt to and have that display it on the screen.
 
D

Deleted User

Guest
OP
Lorem Ipsum is slechts een proeftekst uit het drukkerij- en zetterijwezen. Lorem Ipsum is de standaard proeftekst in deze bedrijfstak sinds de 16e eeuw, toen een onbekende drukker een zethaak met letters nam en ze door elkaar husselde om een font-catalogus te maken.
 
Last edited by ,

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
it isn't really that easy. there is a system set up in homebrew known as the console. you have to initiate it and a couple other things, but then you can just use printf("blablablablabla"); it isn't pretty, but it works great. just look at any of waninkoko's source code for usage. if you want to get fancy with it, you need to use a few functions to load a font and draw stuff on the screen. in which case i would point you to libwiigui or grrlib.

but as far as a function like

printf(put_line_on_screen(get_line_from_file));

there isn't one. you would need to code it to suit your needs.



in libwiigui you would just need to parse the file into lines and assign each line to a char[200] or something and then use

GuiText textName(line_of_file, 18, (GXColor) {255,255,255,255});
some_other_object.Append(textName);
 

Similar threads

Site & Scene News

Popular threads in this forum

Recent Content

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night