mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-21 05:49:57 -04:00
Keep only the game's select and back sounds in the launcher, and make none of its own.
The cursor's sound played at every move of the pointer and cut the other two short, as one sound plays at a time: it is gone, and moving the cursor is silent. A choice, a changed switch, Play and the end of a build play the game's decide sound; going back and a failure play its cancel sound. The chimes the launcher made from sine tones are removed too, so every sound it plays is decoded from the player's own game into data/cache/sounds and it is silent until the game has been read. No sound file is in the repository, the release or the setup. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,6 @@ FONTS = { # role -> RomFS path; the window sets all its text in Cetra Display
|
||||
'title': 'Font2/Scalable/CetraDisplayPro-Medium.Nin_Ounce_NVN2.bfotf.zs',
|
||||
}
|
||||
SOUNDS = { # the window's sound effect (launcher/ui/sound.py) -> the game's interface sound
|
||||
'move': 'Sound/Resource/Stream/SE_Sys_Cursor00.bwav',
|
||||
'select': 'Sound/Resource/Stream/SE_Sys_Do00.bwav',
|
||||
'back': 'Sound/Resource/Stream/SE_Sys_Cancel00.bwav',
|
||||
}
|
||||
@@ -398,8 +397,8 @@ def cached_sounds(layout):
|
||||
|
||||
|
||||
def extract_sounds(layout, game_dir='', dump=''):
|
||||
"""Decode the game's cursor, select and back sounds into data/cache/sounds as WAV files; {effect: path} of the
|
||||
ones found."""
|
||||
"""Decode the game's select and back sounds into data/cache/sounds as WAV files; {effect: path} of the ones
|
||||
found."""
|
||||
romfs = open_romfs(layout, game_dir, dump)
|
||||
if romfs is None:
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user