Skip to content

Rockbox Tiny5 v0.0.5

Latest

Choose a tag to compare

@roman-kiselenko roman-kiselenko released this 29 Nov 17:49
ddeee72

Rockbox v0.0.5 — the UI is just ui

Follows v0.0.4. The interface is renamed, and one rendering bug is
fixed: lists with a second line broke when the Kode Mono font was chosen.

apps/newui is apps/ui

The code-drawn interface was "new" for as long as it was being written. It is
not any more, so the name goes:

  • apps/newui/ → apps/ui/, including ui.h, the geometry headers
    clef_geometry.h and logo_geometry.h
  • fonts/newui/ → fonts/ui/; the CJK faces fonts/ui/mkfonts.sh can
    generate are now ui-14.fnt, ui-18.fnt, ui-20bold.fnt, ui-22bold.fnt,
    ui-40bold.fnt
  • docs/newui/ → docs/ui/ — PLAN.md and POWER.md
  • the language ids LANG_NEWUI_* → LANG_UI_*
  • the settings newui_theme, newui_style, newui_font, newui_clock →
    ui_theme, ui_style, ui_font, ui_clock

The config names are unchanged — theme, selection style, font, status bar clock — so an existing .rockbox/config.cfg is read exactly as before.

The UI's folder on the card

The cover cache and the battery log lived in .rockbox/newui; they now live in
.rockbox/ui. The firmware renames the folder the first time it is needed, so
nothing is rebuilt: already-decoded covers stay decoded, the Battery Usage
history stays, and the first boot after updating looks like every other boot.

Lists in Kode Mono

Kode Mono is 14 px tall, but the row grid was fixed for Tiny5 Mono's 9 px: a
row with a grey second line was 24 px, which cannot hold two 14 px lines. The
line offset is computed from unsigned font heights, so it wrapped to a huge
number and the text of every row after the first was drawn off the screen —
Music › Songs showed its first row and a column of blanks, and the simulator
stopped with a segfault. Home, the settings menus and the album lists, whose
rows are a single line or 48 px, were unaffected.

A two-line row is now two lines of the chosen face plus the 6 px between them:
24 px with Tiny5 Mono, as before, 34 px with Kode Mono — six rows of Songs or
Albums on a page instead of nine. The row's line positions are computed in
signed arithmetic too, so a band shorter than both lines can never put text
off screen.

Install

  1. Archive: rockbox-v0.0.5.zip (about 2.6 MB) — the firmware, the codecs
    and the two UI faces, Tiny5 Mono (452 KB) and Kode Mono Regular (215 KB).
  2. The player needs the official Rockbox bootloader for the Eros Q native;
    this tree does not build bootloaders.
  3. Unzip to the card root: unzip -o rockbox-v0.0.5.zip -d /path/to/sdcard.
    Over an existing install it leaves config.cfg, bt_config.conf and
    bt_devices.txt alone, so settings and Bluetooth pairings survive. Bluetooth
    audio needs hardware revision 4 (hw4).
  4. Eject the card and reboot.
  5. An older install may still carry .rockbox/fonts/newui-*.fnt — the Noto CJK
    faces (27 MB) the UI no longer uses; they can be deleted.