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
+2 -2
View File
@@ -1254,7 +1254,7 @@ function _libraryDisplayFilename(song, providerId) {
function _librarySongTitle(song, providerId) {
const fallback = _libraryDisplayFilename(song, providerId);
return song.title || fallback.replace(/_p\.psarc$/i, '').replace(/_/g, ' ');
return song.title || fallback.replace(/_p\.archive$/i, '').replace(/_/g, ' ');
}
function _librarySongArtUrl(song, providerId) {
@@ -9571,7 +9571,7 @@ async function pollScanStatus() {
if (bar) bar.style.width = pct + '%';
if (prog) prog.textContent = `${data.done} / ${data.total} (${pct}%)`;
if (file) {
const name = (data.current || '').replace(/_p\.psarc$/i, '').replace(/_/g, ' ');
const name = (data.current || '').replace(/_p\.archive$/i, '').replace(/_/g, ' ');
file.textContent = name || (data.stage === 'listing' ? 'Listing DLC folder...' : 'Processing...');
}
if (firstNote) firstNote.classList.toggle('hidden', !data.is_first_scan);