-
Notifications
You must be signed in to change notification settings - Fork 4
Tiberian Sun Music: Disc detection fails and existing files in Content/ts/ not recognized #17
Description
Description
Tiberian Sun music shows as "Requires Disc" in the Manage Content screen even though:
The TS music files (scores.mix, etc.) are already present in the standard OpenRA content directory (AppData/Roaming/OpenRA/Content/ts/)
Mounting the original Tiberian Sun ISO image and clicking "Detect Disc or Installation" does nothing — the files are not copied
All other music packs (Red Alert, C&C, Red Alert 2, Yuri's Revenge, YMCA) are detected and installed correctly.
Steps to Reproduce
Install YMCA v0.96.7 on Windows
Have Tiberian Sun content already installed via standard OpenRA (files present in %AppData%/OpenRA/Content/ts/)
Open Manage Content in YMCA
Observe that "Tiberian Sun Music" shows "Requires Disc" while all others show "Installed"
Mount a Tiberian Sun ISO (GDI or Nod disc, English)
Click "Detect Disc or Installation"
The disc detection dialog appears showing "Tiberian Sun (GDI or Nod Disc, English)" with "Tiberian Sun Music" checked
Click "Continue"
Nothing happens — scores.mix is not copied to Content/ca/ts/
Expected Behavior
Either:
The mod should detect the mounted ISO and copy SCORES.MIX to Content/ca/ts/scores.mix
Or the mod should be able to reuse files already present in the standard OpenRA Content/ts/ directory
Analysis
Looking at the source code:
mods/ca-content/mod.yaml
The tsmusic ContentPackage expects:
yamlTestFiles: ^SupportDir|Content/ca/ts/scores.mix, ^SupportDir|Content/ca/ts/scores01.mix
Sources: tibsun, fstorm
mods/ca/installer/tibsun.yaml
yamltibsun: Tiberian Sun (GDI or Nod Disc, English)
Type: Disc
IDFiles:
README.TXT: 45745c4a0c888317ec900208a426472779c42bf7
AUTOPLAY.WAV: 2dfce5d00f98b641849c29942b651f4e98d30e30
Install:
ContentPackage@tsmusic:
Name: tsmusic
Actions:
Copy: .
^SupportDir|Content/ca/ts/scores.mix: SCORES.MIX
Possible root causes
IDFiles SHA1 hash mismatch: The SHA1 hashes for README.TXT and AUTOPLAY.WAV may not match certain ISO versions of the Tiberian Sun disc (e.g., different language editions, re-releases, or The First Decade versions). If the hashes don't match, the disc is never identified and the copy action is never triggered.
No fallback to existing OpenRA content: The files already exist in the standard OpenRA path (Content/ts/scores.mix) but the mod looks exclusively in Content/ca/ts/. There is no mechanism to reuse or symlink from the standard OpenRA content directory.
scores01.mix from Firestorm: The TestFiles require both scores.mix AND scores01.mix. The second file comes from the Firestorm expansion disc (firestorm.yaml). Even if the TS disc detection worked, users would also need a Firestorm disc to get scores01.mix. This two-disc requirement is not clearly communicated in the UI.
Environment
YMCA version: v0.96.7
OS: Windows 11
Tiberian Sun content: Already installed via OpenRA, files present in %AppData%/OpenRA/Content/ts/
Suggestion
Consider one or more of these approaches:
Add a download source for TS music (similar to how RA and C&C music have mirror lists via ts-music-mirrors.txt which already exists in the installer directory)
Allow the installer to fall back to Content/ts/ if files are already present there from a standard OpenRA installation
Verify/update the IDFiles SHA1 hashes to match common ISO versions
Make scores01.mix optional (Firestorm expansion music) rather than required for the tsmusic package


