Unbelievably corrupted Musescore file, too much work to fix manually!
Hello,
I'm working on three medleys for a woodwinds orchestra in three different .mscz files.
One of this files (attached below) is corrupeted in about 100 different mesures and in different staves also!!!!
I have to finish this medleys this week and I cannot fix every single mesure, it will take hours.
I've tried also the voice swapping trick, dosn't work... Nor does exporting as an .xml file.
This problem came out of nowhere, it worked totally fine until it didn't.
I think that it has to do with the fact that I deleted the lower voice's rests, it that a possability?
If anyone can help me In anyway I'll greatly appreciate it!!!!
(This made me seriously concider switching to Sibelious...)
Attachment | Size |
---|---|
Movies Medley.mscz | 91.22 KB |
Comments
There are several methods mentioned in https://musescore.org/en/node/54721.
Fixing all those might take long, but I guess re-entering in Sibelius would take longer (and cost a lot more too)
In reply to There are several methods… by Jojo-Schmitz
Thx for your answer!
I went through all of the methods described in https://musescore.org/en/node/54721.
The only one that works is deleting each mesure and re-entering it, but there are over 300 different cases that I need to handle.
I having a hard time understanding how did this happend, I didn't do anything that could possibely cause this amount of damaged...
In reply to Thx for your answer! I went… by ItayKeinan
Took me less than 10 minutes to fix measure 21 (all staves)
But yes, it is quite some work in total
In reply to Took me less than 10 minutes… by Jojo-Schmitz
Thank you so much!
What method did you use?
Is there any faster way than re-entering each bar?
Can you tell what caused this? I would really like to avoid this kinds of problems in the future.
In reply to Thank you so much! What… by ItayKeinan
Insert new measure, partially copy paste (first half measure, quarter rest, last quarter of measure), delete old measure.
No idea what might have caused it. The problem in measure 21 was many half rests in voicce 1 where a quarter rest should have been (and no corresponding rest in voice 2), haven't had a look at the others yet
In reply to Insert new measuzre,… by Jojo-Schmitz
Yes, I have no idea how did those rests got there...
when I entered the notes I entered them correctly.
In reply to Yes, I have no idea how did… by ItayKeinan
Not sure whether I am not too late for this, but perhaps this will at least help someone else. Looking at this score I tried to automate some operations needed to repair this score and ended up with the plugin I have attached below. This plugin acts by finding the corrupted chords or rests and re-entering them from scratch, preserving old chords or rests where possible (although it doesn't preserve ties, may eventually break some slurs, will probably not work with tuplets etc.) After running this plugin the differences can be examined with score comparison tool (although it has eventually broken for the latest version of the file so you may need to use the today's nightly for this when it becomes available). The plugin can also be run on a selection in a score which may happen to be a more convenient method to use it.
The result of these operations (running the plugin + fixing most obvious issues with the differences produced by plugin) is also attached below. You may need though to look at the differences to ensure that the corrected measures are actually correct, especially regarding chords durations and ties presence. If it happens to be more appropriate here, maybe it would make sense to adjust the plugin code to give chord durations information more priority than chords and rests positions but this may need more checking.
Anyway, I hope this could help you or anyone else in repairing score data.
In reply to Not sure whether I am not… by dmitrio95
Why 'partly repaired'? It doesn't have any corruptions anymore.
I'll surely use that plugin from now on, great stuff!
In reply to Why 'partly repaired'? It… by Jojo-Schmitz
It doesn't have corruptions but, as I have mentioned, it should be checked whether all corruptions have been repaired correctly. For example, when this plugin encounters a chord which spans for the entire measure and a rest in the same measure it currently shortens the chord. However, looking at the results, it is quite probable that it should have done the opposite instead: leave the chord as it is and remove the rest.
But, in any case, it should be easier to repair the score completely from this point as it is now at least in non-corrupted state.
As for this plugin, it could be good to check and add provision for some other kinds of corruption eventually, for example for corruptions involving linked parts. It would be good to avoid score corruption in the first place, but since there are a lot of already corrupted scores, and there are some kinds of corruption which reveal themselves on importing scores from 1.X and 2.X versions, improving such a plugin could be a useful thing to do. Anyway, it would be good to check first whether this plugin helps in repairing other cases of score corruption, and if it happens to be so we could continue experimenting with this further.
In reply to It doesn't have corruptions… by dmitrio95
Pity, the plugin doesn't help on the corrupt score from https://musescore.org/en/node/302164
In reply to Not sure whether I am not… by dmitrio95
Downloaded the Repair Assistant and tried to use it on a score that contained this line:
It was reported to be in error. So I created a new score with just a treble staff, copied the music onto it, and tried again. Repair Assistant apparently does not understand duplets, and tries to redraw them as other things.
In reply to Downloaded the Repair… by [DELETED] 29378932
As mentioned by dmitri when he posted the plugin:
will probably not work with tuplets
In reply to As mentioned by dmitri when… by jeetee
Yes, but I wanted to see for myself, and so I reported what I found.
In reply to Not sure whether I am not… by dmitrio95
I've now published that plugin at https://musescore.org/en/project/repair-assistant and mentioned it in https://musescore.org/en/node/54721
In reply to I've now published it at… by Jojo-Schmitz
Hi, there! I'm trying to use your plug-in on MSS 4 but it doesn't appear to do anything when I run it. The plugin also doesn't have a name when it appears, which is really strange. I've used it previously so I don't know what the problem is. I don't know if an update is due or if it's something on my end, but it was suggested that I mention it here.
In reply to Not sure whether I am not… by dmitrio95
I added the plug-in but it doesn't work or I don't know how to use it. I tried selecting the place and then running it I tried to ran in without selecting anything could you explain how to use it? this is very urgent thank you
In reply to Insert new measuzre,… by Jojo-Schmitz
hola usted me puede ayudar no puedo abrir mi archivo me sale una notificacion que dice archivo corrupto
In reply to hola usted me puede ayudar… by cesaryairgonz
Share the score, otherwise it is impossible to help
In reply to Share the score, otherwise… by Jojo-Schmitz
Hello, my daughter just lost her work that she had to give back this week... I have tried all your great tricks but unfortunately I didn't succeed... I share the file, in the case someone could look at it! Thanks
In reply to Hello, my daughter just lost… by Hélène Novák
This file cannot be repaired. It consist of 30k zero bytes. I'm sorry: total loss.
Try to find a backup copy e.g. in the hidden folder .mscbackup.
In reply to This file cannot be repaired… by HildeK
Thank you for your help. No file with e.g. extension in the folder. It's strange because this file is the back up from the day before and she could open it yesterday. Anyway, she will have to write it again!
In reply to Thank you for your help. No… by Hélène Novák
.mscbackup is not an extension, but a hidden subfolder in your score folder. I don't know your operating system, so search the internet on how to make hidden folders and files visible.
And there may be other places where a previous backup may be (applies to Windows, MuS 4 here).