Where are My_First_Score.mscz and Getting_Started.mscz stored?
Searching through the Mac version, I can't figure out where these files are located. It's not with the templates, nor with the demos (and what are the demos in there for? How is the user supposed to find them?). Since they disappear from the Start Center as soon as there are recent files to display, it would be nice to know where they can be found.
Comments
I believe they are compiled in to the application itself, and can be accessed using the pseudo-filenames ":/data/My_First_Score.mscz" and ":/data/Getting_Started.mscz", at least on Linux.
In reply to I believe they are compiled by Marc Sabatella
… Which doesn't help me at all. On a Mac everything is inside the application itself, but I couldn't find them there. What is a pseudo-filename, and what is ":/" (other than a smiley)?
In reply to … Which doesn't help me at by Isaac Weiss
That's the actual pathname you type in to the File / Open dialog. See also Edit / Preferences, and notice how My First Score is actually listed list.
In reply to That's the actual pathname by Marc Sabatella
Okay. Still not helping me find the actual file.
In reply to Okay. Still not helping me by Isaac Weiss
I think the point here is that there is no actual file. It's something that is constructed by MuseScore itself, looks and acts like a file inside MuseScore, but has no independent existence. It is not stored on disk and is not known to the file system.
You could always use File/Save or File/Save As to make a copy of the file. The copy would be an actual file that can be manipulated outside of MuseScore.
In reply to Okay. Still not helping me by Isaac Weiss
Not sure what you mean. You type that into the Fime / Open box, hit Open, and the file doesn't open? What happens instead?
In reply to Not sure what you mean. You by Marc Sabatella
Actually, File -> Open brings up a standard Mac-native thing, which allows browsing and searching but not the typing of file paths. But what ghicks said—does that even make sense? It seems especially odd that the perhaps-simulated file apparently has a file extension. And, as I said, the templates displayed in the Start Center do have a real location.
In reply to Actually, File -> Open brings by Isaac Weiss
I'm on Windows, not MacOs, but I can tell you is that I have "My First Score.mscz" in my recent file list (and can successfully open it from that list), but a search of the entire disk does not turn up any file by that name. On the other hand, after I do a File/Save As, the file does appear in a disk search under the new name.
The pseudo-filenames Marc suggested don't work in the WIndows File Open dialog. They do work, however, in the "Start With Score" option of Edit/Preferences. I suspect the same thing would be true on the Mac.
In reply to I'm on Windows, not MacOs, by ghicks
Question: can you find something called "01-Treble_Clef.mscz" on your disk? Because I can't, with a search, but I navigated to its location anyway.
In reply to Question: can you find by Isaac Weiss
Yes, the search comes up with two files by that name, one belonging to my 2.0.1 installation and one to a nightly build:
C:\Program Files (x86)\MuseScore 2\templates\01-General\01-Treble_Clef.mscz
C:\Users\Grant\Downloads\MuseScoreNightly-2015-05-08-1618-a4f311c\templates\01-General\01-Treble_Clef.mscz
In reply to Yes, the search comes up with by ghicks
All right. I can't fully grasp the concept, but I guess this means that "My_First_Score.mscz" exists only as a few lines of code in the executable?
In reply to All right. I can't fully by Isaac Weiss
That's how it seems.
In reply to All right. I can't fully by Isaac Weiss
It is built into the executable in sort of a virtual file system
In reply to It is built into the by Jojo-Schmitz
Indeed these files are in the Qt resource file system, so inside the MuseScore binary (the binary
/Applications/MuseScore\ 2.app/Contents/MacOS/mscore
not the .app bundle). If you want to know more http://doc.qt.io/qt-5/resources.htmlRegarding the templates, they are in the app bundle
/Applications/MuseScore\ 2.app/Contents/Resources/templates/
. In any case, I would strongly recommend to *NOT* change the content of the app bundle on your system. The bundle is signed and Mac OSX could report it as broken if you change the content. If you want to add templates, you can do it in the user directory.In reply to All right. I can't fully by Isaac Weiss
As for the practical aspect - even if you can't type the name into a file dialog, it presumably works to use that name in Edit / Preferences as the startup score? Also, Getting_Started.mscz should reappear in Start Center if you clear the Recent Scores list (presumably via File / Recent Scores).
In reply to As for the practical aspect - by Marc Sabatella
@lasconic, don't worry, I have no plans to modify anything in the application bundle—I just wanted to know what's inside.
@Marc Sabatella, yes, the pseudo-location works in MuseScore's Preferences (which can be found under the MuseScore menu on OS X, by the way), and yes, the original Start Center contents are restored by "Clear Recent Files."
So, case closed. Thank you very much for your answers, everybody.