Lib shows any text at any place for any time.
Usage:
Sample usages (from screenshots above):
*Changelog:
Usage:
- First install latest samyGOso as usual, if needed.
- Extract attached archive and copy contents of out- folder (libText.so and all fontX.raw) to /mtd_rwcommon
- Execute
Code:
samyGOso -d -A -B -l /mtd_rwcommon/libText.so ARG[S]
- TEXT:"your text" - Text to display, use '\' for linefeed (e.g. TEXT:"line1\line2\line3" == TEXT:"$(echo -e "line1\nline2\nline3")" )
- FILE:/full/path/to/textfile - Display text from file (at least TEXT or FILE are mandatory args)
- FONT:1-4 - Select font to use (bitmap fonts, ASCII (+Latin-1) only). Overview of usable ones (for now):Spoiler: show
- FONTPATH:/full/path/to - Path where font bitmaps are located (default is /mtd_rwcommon, fontX.raw files HAVE to be somewhere)
- CENTER:1-9 - Where to display text on screen (look at your numpad, default is 5=centered, 7 is upper-left)
- TIMEOUT:seconds - How long to display text (default is 0=unspecified=unlimited)
- COLOR:0xRRGGBB - Specify dominant font color (default: 0xFFFFFF=white=as bitmap)
- NOALPHA - Disable font transparency (=mostly disable smoothing on FONT:1/2)
- WIPE - Clear screen from anything prior (to be used alone, e.g. if some text had previously been displayed without timeout)
- NOCLEAR - Do not clear previous text/OSD before displaying another (and do not wipe screen on timeout, except if text scrolled down)
- SCROLL - Scroll down to the end of text if it overlaps screen (mostly for text file, else only the beginning will be shown)
- FB - Use TV "other" framebuffer. TV owns 2 layers, default one is mostly used for guide/smarthub/mediaP, other one for info/channelList/source... It depends on which TV OSD you prefer to (temporarily) erase to display your own text instead
Sample usages (from screenshots above):
Code:
samyGOso -d -A -B -l /mtd_rwcommon/libText.so FILE:/dtv/ScreenShot.log SCROLL CENTER:7 COLOR:0xf0f010
samyGOso -d -A -B -l /mtd_rwcommon/libText.so TEXT:'WELCOME TO SAMYGO !' FONT:3
*Changelog:
Code:
22/6/2015
v0.1.0 - First public release
Statistics: Posted by zoelechat — Mon Jun 22, 2015 5:24 pm — Replies 0 — Views 53