1.10.34
Swofty Launcher for F1 25 1.10.34 adds standard library features for addons that draw their own race HUD.
Standard library
Overlay fonts and concave shapes (overlay version 5).
load_fontandload_font_memoryload a TrueType or OpenType font, andTextStyle::fontdrawstext,text_inandmeasurein it. Characters the font lacks fall back to the built-in font.polygon_concavefills any simple polygon.swofty/overlay_path.hppflattens bezier paths for it and forpolyline.- See Fonts and concave shapes.
HUD yield. A HUD record can yield a whole part while its leaf is on: the race dial, the standings, replay and spectator screens, and the lap counter, flag box, notifications and session timer. The part's stock HUD and every other addon's records on it are then hidden; with the leaf off, the HUD builds as before. See Yield a part.
Broadcast live data. The live state reads more of the race. On Steam and EA it comes from the game's UDP packets:
- the race's lap count and the session time left;
- each car's race number, team colour and driver id, personal best sectors, driver status, pit lane times and per-car flags;
- the fastest lap holder;
- the pit window;
live::hud_visible, which says whether the game shows its race HUD. It is shown from the start lights on and while spectating, and hidden in menus, cutscenes, replays and the pause menu.
Race control messages. Race control and events report penalties and warnings with their infringement, DRS enabled and disabled, the start lights and lights out, the safety car phase, the chequered flag, retirements and the final classification. See Race control messages.