How to fix MuseScore 4.0 corrupted files
Various methods to fix corruptions in the score
MuseScore 4.0.0 had a bug that caused files with part scores to become corrupted when inserting or removing measures or changing the time signature. Often, in affected scores, some measures (especially with local time signatures) have an incorrect actual duration.
MuseScore 4.0.0 and 4.0.1 do not yet show details about where the corruptions are, like MuseScore 2 and 3 did. This is fixed by MuseScore 4.0.2, along with quite a few bugs that could cause corruption.
Here are some methods to fix corruptions:
- If MuseScore 4 can open the file, install and enable the plugin Repair Assistant, then open the score, ignore the corruptions and run that plugin. With some luck this already fixes it.
- If MuseScore 4 can open the file, but the above step didn't (fully) help, then export it as MusicXML (or Save as an uncompressed folder (experimental)). Open the MusicXML (or the mscx) with MuseScore 3.6.2 to find and correct the corrupted measures. Save, open with MuseScore 4. It doesn't necessarily work though.
- If MuseScore 4 cannot open it, use WinZIP or 7Zip or something alike to open the mscz file (which really is a ZIP archive in disguise), extract the mscx and open that with MuseScore 3.6.2. You can also extract the score_style.mss and use Mu3's Format > Load Style on it. In either case ignore the warning reg. them being from a newer version of MuseScore. You may want a Ctrl+A,Ctrl+R after that to reset everything to their defaults
- If there are corruptions in parts (like MuseScore 4.0.2 or later reports them), it may help to go to File > Parts and in the parts' ... menu select the "Reset" option, save (ignore the corruption message), close, reopen.