Files
ReSkate/cmake/UI.cmake
T
AyeZeeBB 86aa8d38fb Music: local files, online radio, equaliser, queue, and a Music page in the menu
Sources
- Local Files: add a folder of music from the setup page (MP3, M4A, AAC, Ogg,
  FLAC, WAV; up to 200 songs a folder, 12 folders). Names and covers come from
  the files' tags. Each folder is a tile in its own row.
- Online Radio: find stations by name (radio-browser.info) or add a stream's
  address (MP3, AAC, .pls, .m3u; no HLS). Each station is a tile in its own
  row; the track name follows what the station sends. Up to 24.
- Both are decoded by the library built into the DLL (SpotifyHelper), which
  now plays files and HTTP streams as well as a program's output, reads tags
  and embedded pictures, and accepts MPEG-2 ADTS from AAC stations.

Sound
- Five-band equaliser (60 Hz, 250 Hz, 1 kHz, 4 kHz, 12 kHz) and loudness
  levelling, applied to every source on its way into the game.
- Loudness, the speakers option, the equaliser and levelling are now kept in
  music-settings.json between sessions.

Setup page
- Remade in the mod's own colours and type, with numbered steps per source.
- Queue pinned to the right: now playing, the playlist's songs with covers,
  find, and press to jump. Spotify's own queue shows once signed in.
- Cards for Local files and Online radio; equaliser and levelling under Sound.

In game
- MUSIC page in the menu: player and queue, sound settings, source status and
  a button for the setup page.
- "Loading song..." notice in the corner for songs that take a moment, with a
  switch to hide it. Presses made while a song is loading no longer restart it.
- The Spotify row is hidden when Spotify is not in use.
- Console: "spotify ..." is now "music ..." (music, music setup, music gain,
  music through, music spotify client|login|logout).

Logs
- The music sources' working lines (traces, per-song and per-bind lines,
  librespot's own) are debug only; stack captures are skipped unless debug
  logging is on. Grind exits: the per-pop line is debug only too.
- A "Pace:" line when the game takes the sound faster or slower than real
  time, to find why music sounds fast after tabbing back in.

Chat filter
- A run of digits is a number, not a word spelled with look-alikes: a race
  time such as 2:55.0 is no longer masked.
2026-10-12 16:03:35 -05:00

51 lines
2.5 KiB
CMake

# DualShock 4 / DualSense read straight from HID, for the in-game menu and the launcher.
add_library(dingosdk_playstation_input STATIC Extension/UI/Overlay/playstation_input.cpp)
target_link_libraries(dingosdk_playstation_input PUBLIC dingosdk_logging PRIVATE hid cfgmgr32)
add_library(dingosdk_overlay STATIC
Extension/UI/Overlay/overlay.cpp
Extension/UI/Overlay/overlay_render.cpp
Extension/UI/Overlay/overlay_console.cpp
Extension/UI/Overlay/overlay_input.cpp
Extension/UI/Overlay/item_browser_overlay.cpp
Extension/UI/Overlay/overlay_notices.cpp
Extension/UI/Overlay/chat_overlay.cpp
Extension/UI/Overlay/map_download_card.cpp
Extension/UI/Overlay/hub_page.cpp
Extension/UI/Overlay/game_text_overlay.cpp
Extension/UI/Overlay/perf_overlay.cpp
Extension/UI/Overlay/skate_hud_overlay.cpp
Extension/UI/Overlay/nametag_overlay.cpp
Extension/UI/Overlay/chat_emotes.cpp
Extension/UI/Overlay/chat_rich.cpp
Extension/UI/Overlay/console_suggestions.cpp
Extension/UI/Overlay/skate_menu.cpp
Extension/UI/Overlay/skate_menu_world.cpp
Extension/UI/Overlay/skate_menu_skater.cpp
Extension/UI/Overlay/skate_menu_settings.cpp
Extension/UI/Overlay/park_editor.cpp
Extension/UI/Overlay/park_editor_actions.cpp
Extension/UI/Overlay/park_editor_panels.cpp
Extension/UI/Overlay/park_editor_viewport.cpp
Extension/UI/Overlay/park_previews.cpp
Extension/UI/Overlay/gpu_diagnostics.cpp
Extension/UI/Overlay/input_capture.cpp
Extension/UI/Overlay/cursor.cpp
Extension/UI/Overlay/progression_menu.cpp
Extension/UI/Overlay/atmosphere_menu.cpp
Extension/UI/Overlay/modding_menu.cpp
Extension/UI/Overlay/multiplayer_menu.cpp
Extension/UI/Overlay/multiplayer_lobbies.cpp
Extension/UI/Overlay/multiplayer_session.cpp
Extension/Trainer/trainer_page.cpp
Extension/Music/music_page.cpp
Extension/Trainer/trainer_view.cpp
Extension/HallOfMeat/hall_of_meat_overlay.cpp
)
target_link_libraries(dingosdk_overlay PUBLIC dingosdk_logging dingosdk_profiler dingosdk_imgui dingosdk_hooks dingosdk_console_core dxguid PRIVATE dingosdk_playstation_input shell32 dingosdk_initfs dingosdk_custom_scripts dingosdk_game_archives dingosdk_mods dingosdk_json windowscodecs ole32)
# The window shown from the moment ReSkate loads until the game's own window appears.
add_library(dingosdk_startup_window STATIC Extension/UI/Startup/startup_window.cpp)
target_link_libraries(dingosdk_startup_window PRIVATE gdi32 user32 msimg32 shell32 ole32 windowscodecs)