Skip to content

v0.5.0

Latest

Choose a tag to compare

@wang1025475397 wang1025475397 released this 09 Sep 13:50

v0.5.0

新增

  • TrimUI Smart Pro 移植(bata)packaging/trimui/scripts/package_trimui.py):
    • 新增 TrimUI 媒体源,自动发现 TrimUI 自己的封面图;
    • 新增 TrimUI 按键映射,可用环境变量选择;
    • 补齐中文字体候选目录,TrimUI 上中文不再显示为方块;
    • 启动器支持直接调用 RetroArch 时指定配置文件路径。
  • 按键音效:移动 / 确认 / 返回三种提示音,由 ALSA 合成(不随包附带音频文件)。
    设置菜单新增「按键音效」开关与「按键音量」;两个音量行边调边听
    不必等按 A 提交。机身音量键现在同时调预览音量与按键音量,两者的差值保持不变。
  • 游戏描述滚动跑马灯:副屏(及单屏详情条)放不下的简介改为横向滚动,
    不再被截断在半句话上;只有真正超宽的简介才会滚动。

优化

  • 封面空闲预热:进入某个平台后,只要停手 0.35 秒,后台就开始按一整套
    (轮播 4 档 + 网格 + 列表 + 详情条 + 两档 Logo,共 8 张)把整个平台的封面
    生成好;一按键立刻让路,停下继续。一个源只解码一次派生全部尺寸,
    实测单游戏 4 尺寸 103 ms(原来逐个请求约 300 ms)。
  • 首页预热:平台选择页同样空闲预热 —— 每个平台的背景 / Logo(原先只有 32 项
    内存缓存,63 个平台滚一圈就被挤掉,滚回来要重新解码)以及预览条的 6 张封面。
  • 缓存进度显示:游戏数量旁边显示「531 · 缓存 85」,按游戏个数统计,
    一个游戏的一整套都齐全才计入;三个视图共用同一套缓存,切换视图数字不再跳变。
  • 变体系统目录(FBNEO ACT 等)在平台卡片上显示变体徽章,便于区分。

修复

  • 游戏退出后预览失效:退出游戏回到前端后视频预览不再出画面,
    某些情况下还会导致界面崩溃。修了 ffmpeg 运行环境探测(兼容设备自带的编解码库)
    与声卡释放 / 重开的时序。
  • 平台图的内存缓存上限 32 → 256,滚出再滚回不再重复解码。

Added

  • TrimUI Smart Pro port(bata) (packaging/trimui/, scripts/package_trimui.py):
    • a TrimUI media source that finds the cover art TrimUI ships itself;
    • a TrimUI key map, selectable through an environment variable;
    • extra font candidate directories, so Chinese stops rendering as boxes;
    • the launcher can now be given a RetroArch config path.
  • Button sounds: move / confirm / back, synthesised through ALSA (no audio
    files in the bundle). The settings menu gains a "button sound" switch and a
    "button volume" row; both volume rows are applied as you move them
    instead of waiting for A. The volume rocker now moves both the preview
    volume and the button volume, keeping the gap between them.
  • Scrolling descriptions: a blurb that does not fit the bottom panel (or
    the single-screen strip) scrolls sideways instead of being cut off
    mid-sentence. Only a blurb that actually overflows scrolls.

Improved

  • Idle cover warm-up: once a list has stood still for 0.35 s, the whole
    platform is warmed in the background as one complete set per game (the
    four carousel sizes, the grid, the list, the detail strip and two logos —
    eight files). Any input puts the warm-up aside and it resumes where it left
    off. One source is decoded once for every size: 103 ms for four sizes
    against ~300 ms the old way.
  • Home page warm-up: the platform picker warms its own artwork too — each
    platform's background and logo (its cache held 32 items, so a 63-platform
    library evicted a card before you scrolled back to it) plus the six preview
    covers.
  • Progress readout: the game count now reads "531 · 85 cached", counted in
    games — a game counts once its whole set is on the card. All three views
    share one set, so switching views no longer makes the number drop.
  • Variant system directories (FBNEO ACT and friends) show a variant badge on
    their card.

Fixed

  • Preview dead after a game: coming back from a game, clips no longer
    played at all and the UI could crash. Fixed the ffmpeg environment probe
    (it must cope with the codecs the firmware ships) and the order in which the
    sound card is released and taken back.
  • The platform art cache holds 256 entries instead of 32, so scrolling away and
    back no longer re-decodes a card.