You can actually open the MPR file, which is in SQLite format (can use https://sqlitebrowser.org/). All documents in the model (for instance the Microflows or Domain models) are stored in database Blobs (binary objects) in table Unit and column Contents. The blobs are actually again in the BSON format. So you can decode them using the first post in this forum thread. This information DOES contain the Modeler-specific metadata.
One addition to this post, the model.mdp file contains all functional information that is used by the Mendix Runtime to read the model, but not the metadata that is used by the Modeler to picture all elements on the canvas (e.g. position of entities). Probably you need the MPR file to do that, but I don't know the file format (yet).
Note that there's also MprTool.exe that's standard included with the Mendix Modeler installation. See C:\Program Files\Mendix\<version>\modeler\MprTool.exe. It allows you to navigate through a tree view of an mpr file.
Hi Menno,
I don't think I have figured out the usecase yet ...I am also pretty new to the Model SDK, was recently playing with typescript in order to obtain the whole model indeed.
But when I have converted the file, and do read for example: {"$ID":"0ZJT5UMH2Uaz5eCD8jDfWQ==","$Type":"Forms$Layout"},{"$ID":"A9eeGhIzGkKBz4bDv+JPFg==","$Type":"Forms$Layout"}.
Can you may explain how to see the models like entities, pages, microflows and their activities?