Repository navigation
Starlet v0.3.0
Aurora ports get their RmlUi menus back under Starlet, plus faster Mario Party 4 scenes, opt-in frame skipping, a Face buttons option and a Super Mario Galaxy start-up fix. Every port of mine now pins this version.
New
- RmlUi under Starlet: Aurora ports built with
AURORA_ENABLE_RMLUInow draw their RmlUi screens with Starlet. Animal Crossing (Nookery) gets its launcher and in-game host menu back, and Mario Party 4 (Party Board) its first-run preset screen and R+Start menu. The UI is recorded on the game thread and drawn on the GL thread after the game frame. When no document is visible, nothing is recorded or drawn. Gradients, box shadows (hard-edged), opacity and brightness are drawn. Blur and other filters, clip masks, mask images and blend modes are not drawn; the element is drawn without the effect. The Aurora guide in the wiki lists each feature. - Frame skipping for Aurora ports: a port that runs two game ticks per presented frame can drop the first tick's draws while textures, programs and geometry stay up to date. The log's
[starlet] ratesline reports ticks, presented and skipped frames. Ports can also add toggles and choices to the overlay menu. - The overlay's Face buttons option now also swaps A/B and X/Y in the game's controller input.
- The overlay's second-screen code receives SDL events, for touch input on two-screen handhelds.
Faster
- Textures a game rewrites while in use are kept until a write reaches them, instead of being copied and hashed every frame. Mario Party 4's board scene copied 3.7 MB a frame, about 3 ms on the game thread.
- Indexed float positions and texture coordinates are read straight from the array: vertex conversion 9.1 to 7.0 ms and box culling 3.7 to 2.6 ms in Mario Party 4's board scene on an H700.
- Resident geometry is checked with two hashes instead of a full comparison within one memory state: lookup 9.9 to 8.7 ms in Mario Party 4's title scene.
Fixed
- Constant destination alpha under an RGB8 EFB no longer aborts the frame. Super Mario Galaxy could hit this at start-up, depending on thread timing.
For port authors
- Code that calls ImGui, including code in RmlUi screens, must check
ImGui::GetCurrentContext()first. Starlet runs without an ImGui context. integrations/aurora/aurora-hooks-upstream.patchandaurora-hooks-upstream-5179721.patchnow carry the RmlUi hook.
Tested on
- This version: Animal Crossing (Nookery) and Mario Party 4 (Party Board) on muOS (RG35XX-H), with their RmlUi menus opened and closed. Host tests pass on macOS and aarch64 Linux.
- The other ports only pin this version. The change since de7e436 only touches the Aurora bridge, which they don't build.
Known issues
- RmlUi's per-frame update costs about 0.3 ms on the game thread while a port keeps a document loaded, as it does with stock Aurora.
- ROCKNIX's Panfrost driver is still slower than the Mali driver on the same H700 handhelds.
This is an unofficial fan project, not affiliated with Nintendo. GPL-3.0.