Play the game's own cursor, select and back sounds in the launcher.

The launcher's sound effects were chimes made from sine tones. They are now the game's interface sounds, the ones its menus make for the cursor, a choice and going back: SE_Sys_Cursor00, SE_Sys_Do00 and SE_Sys_Cancel00, the files the in-game menu plays. The launcher decodes them from the player's built game or dump into data/cache/sounds (gamefiles.extract_sounds, a BWAV reader for PCM16 and DSP-ADPCM), beside the font it already reads that way, so no sound ships. The chimes stand in until the game has been read. The cursor's sound is a little under the others, as in the game's menu, and is left out for a quarter of a second after a choice, since one sound plays at a time and the pointer landing on a row of the next screen would cut the choice's sound short. Sounds stay off until the player picks a loudness.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
epicmeme546
2026-11-10 00:21:31 -05:00
parent 41eb0e635b
commit 158ba315d5
6 changed files with 269 additions and 37 deletions

View File

@@ -47,9 +47,13 @@ Customize Launcher (on the home screen) makes the look the player's own:
- Animations (on by default): the cursor glides from row to row, a new screen slides into place, sparks drift up
over the backdrop and Navi bobs in the title band with a pulsing halo (`App.animate`). They move by the time that
passed, stand still while the window is hidden or minimised, and Off stops them all.
- Sounds (off by default; Low, Medium or High): a short chime when the cursor moves, a choice changes, a row is
chosen, the game starts and a build ends or fails. The chimes are made from sine tones in `launcher/ui/sound.py`
and played from memory (PlaySound on Windows; `pw-play`, `paplay` or `aplay` elsewhere).
- Sounds (off by default; Low, Medium or High): the game's own interface sounds, the cursor, decide and cancel
sounds of its menus, when the cursor moves or a choice changes, a row is chosen and the player goes back. The
launcher decodes them from the player's built game or dump into `data/cache/sounds` (`gamefiles.extract_sounds`:
`Sound/Resource/Stream/SE_Sys_Cursor00.bwav`, `SE_Sys_Do00.bwav` and `SE_Sys_Cancel00.bwav`, the files
`runtime/menu_sound.c` plays in the in-game menu), so no sound ships; until they are decoded, chimes made from sine
tones in `launcher/ui/sound.py` stand in. They are played from memory (PlaySound on Windows; `pw-play`, `paplay`
or `aplay` elsewhere).
The choices are `theme`, `background`, `background_dim`, `animations` and `sounds` in `data/launcher.json`.
@@ -87,7 +91,8 @@ app/<version>/ launcher/, runtime/, recomp/, tools/, bin/nx2navi_xlate
pydeps/ zbic, downloaded from PyPI on this PC
toolchain/msys64/ucrt64 MSYS2's clang and libraries, downloaded from the MSYS2 repository on this PC
toolchain/pkgs/ the downloaded package files
data/launcher.json settings; data/logs/launcher.log (and crash.log); data/cache/fonts;
data/launcher.json settings; data/logs/launcher.log (and crash.log); data/cache/fonts and data/cache/sounds
(the game's font and interface sounds, decoded from the player's game);
data/background.npy (the player's background picture, fitted to the window)
game/ the built game, unless another folder was chosen (its layout: README-BuildKit.md), with
saves/ for saves to import and the backups imports make (below)

View File

@@ -8,10 +8,10 @@ Draft notes for the release after 0.6.1. The version number is not decided yet.
and checked quickly. An import copies your current save to the `saves` folder of the game folder first; in the game
it takes effect at the next start.
- Customize Launcher (on the launcher's home screen): six colour schemes, a background picture of your own with
adjustable dimming, animations (a gliding cursor, sliding screens, drifting sparks) and sound effects. The sounds
are off until you turn them on.
- HDR switches between off and the tone mapper in the settings menu without a restart. Only the game's native HDR
still waits for one.
adjustable dimming, animations (a gliding cursor, sliding screens, drifting sparks) and sound effects: the game's
own cursor, select and back sounds, read from your game. The sounds are off until you turn them on.
- Three more settings take effect without a restart: HDR between off and the tone mapper (only the game's native
HDR still waits for one), the camera's stick sensitivity, and the speakers (stereo or 5.1).
## Fixed