[Bug]: Star Rail repair does not regard multiple VO languages
Affected Version
Collapse 1.73.8
Bug Behavior
Star Rail game repair does not check multiple VO language
Expected Behavior
All installed language should be checked
Steps to reproduce
- Install multiple language in Star Rail
- Remove or modify one of the pck from unused audio vo
- Check repair
Related Issues
No response
Screenshot(s)
No response
Additional Information
~~There is no pointer on where SR stores all installed VO languages but one way to see it is there is pck files (External*.pck and VoBanks*.pck, Note: HASH file might always be there just cause) inside StarRail_Data\Persistent\Audio\AudioPackage\Windows\[lang] folder as AudioLangRedord.txt (not a typo btw) only contains currently used language~~
VO lang pointer seems to be saved in StarRail_Data\Persistent\AudioLaucherRecord.txt (again, not a typo) saved as line separated text \r\n
Cause
SR Repair only checks using the registry LanguageSettings_LocalAudioLanguage_h882585060
Ref: https://github.com/CollapseLauncher/Collapse/blob/893a80322ad736954f21824083044bf3d17584b6/Hi3Helper.Core/Classes/Preset/Classes/PresetConfigV2.cs#L212-L228
https://github.com/CollapseLauncher/Collapse/blob/893a80322ad736954f21824083044bf3d17584b6/CollapseLauncher/Classes/RepairManagement/StarRail/Fetch.cs#L337