A Journey of Music

Search

Search IconIcon to open search

Getting MGCB Editor to work on Linux

Last updated Mar 20, 2023

To add media to your project, MonoGame uses a proprietary file format to map the media to game entities. To edit the specified file, you need an editor, which runs in your project folder (!!!). In your project folder, you have to run the following commands:

1
dotnet mgcb-editor

If it doesn’t work the first time, don’t worry, because you have to run the obvious command of

1
dotnet tool restore

If your output looks like this, you’ve succeeded!

Now you can easily open it with the command

1
mgcb-editor

Or, in Jan’s Case

1
mgcb-editor-linux

Great Success!!!