Purge external-format terminology from code, tests and docs

Reword comments/docstrings/strings and rename identifiers that referenced
the external game and its file formats:

- format-id "psarc" -> "archive"; local vars psarc_path -> song_path,
  psarc_base -> tone_base
- lyrics provenance value "sng" -> "notechart" (legacy "sng" still accepted)
- highway_3d fret-ghost scope value "rocksmith" -> "chords" (invalid/legacy
  values fall back to the default, preserving behaviour)
- neutralise references in prose, test names/data, .gitattributes and docs

No functional change beyond the renamed identifiers; all Python compiles.
This commit is contained in:
Sin
2026-06-16 19:36:53 +01:00
parent bc0e83c345
commit 4148b0e72e
49 changed files with 397 additions and 392 deletions
+3 -3
View File
@@ -3259,7 +3259,7 @@ function createHighway() {
case 'chord_templates': chordTemplates = msg.data; break;
case 'lyrics':
lyrics = msg.data;
// Provenance: "xml" | "sng" | "whisperx" | "user".
// Provenance: "xml" | "notechart" | "whisperx" | "user".
// Surfaced via the renderer bundle so visualization
// plugins can render an "auto-transcribed" badge
// (or any other source-dependent UI) without
@@ -3494,7 +3494,7 @@ function createHighway() {
// - name: chord name string ("Em", "Cmaj7", …)
// - fingers: per-string finger numbers (length matches
// the tuning's string count; -1 = unused, 0 =
// open string, n > 0 = finger number). RS XML
// open string, n > 0 = finger number). arrangement XML
// sources populate real values; GP imports
// currently emit all -1.
// - frets: per-string fret numbers, same indexing.
@@ -3608,7 +3608,7 @@ function createHighway() {
getLyricsVisible() { return showLyrics; },
// Provenance of the active lyric set. See `lyricsSource` declaration
// for the full enum. Plugins consume this to badge auto-transcribed
// (whisperx) lyrics differently from authored (xml/sng/user) ones.
// (whisperx) lyrics differently from authored (xml/notechart/user) ones.
getLyricsSource() { return lyricsSource; },
setLyricsVisible(v) {
showLyrics = !!v;