Quantcast
Channel: SamyGO
Viewing all articles
Browse latest Browse all 7850

[F] Software • [App] libText D/E/F/H

$
0
0
Lib shows any text at any place for any time.

capt1.jpg

capt2.jpg

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]
Usable args:
  • 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
    FONT:1 (default, 10x20px)
    font1.jpg

    FONT:2 (18x36px)
    font2.jpg

    FONT:3 (50x50px, capital letters only)
    font3.jpg

    FONT:4 (32x32px, capital letters only)
    font4.jpg
  • 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 :)
Logfile is written to /dtv/Text.log

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
libText.zip

Statistics: Posted by zoelechat — Mon Jun 22, 2015 5:24 pm — Replies 0 — Views 53



Viewing all articles
Browse latest Browse all 7850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>