1.10.20
Swofty Launcher for F1 25 1.10.20 lets add-ons read the game's text in its current language, follow every voice line, including the race engineer and driver radio, and read the game's own resources, textures and UI images.
Addon API
- Add-ons can read any
lng_*text in the game's current language withswofty::lang::text, a voice line's subtitle withswofty::lang::subtitleand the language code withswofty::lang::language. See Strings. - Add-ons can follow every voice line, including the race engineer and driver radio, through the
speech.line,speech.line.timedandspeech.line.endevents fromswofty/systems/speech.hpp. Each line carries its speaker, category, subtitle key and id,speech.line.timedadds its length andspeech.line.endhow long it played. The events fire on the Steam copy of F1 25. See Voice lines. - Add-ons can read the game's own resources by
eaid://URI, decode game textures to RGBA8 and find the texture of a UI image catalogue entry withswofty/game_assets.hpp. They read from the player's own game folder. See Game assets. - Overlays can load an image from memory with
swofty::overlay::load_image_rgbaand draw it like an image loaded from a file. See Overlay.
Under the hood
- Reverse-engineering notes updated.