A message editor for SMG1.
msg2xml.py
will convert a valid Super Mario Galaxy 1 message BMG file into a more easily editable XML file. Simply drop message.bmg
onto the script, and it will create a message.xml
file.
xml2msg.py
does the opposite, and creates a Super Mario Galaxy 1 message BMG file from an XML file. Simply drop message.xml
onto the python script.
Warning - As long as this software is in a 0.x.x version, I can change the formatting used by the XML at any time, invalidating any previously made XMLs. However, you can try converting your XML to a BMG with the old version, and then reconvert that BMG to an XML with the new version. This may not always work, however, especially in the case of the missing text bug.
At the moment, please do not add entries to the XML file! This program does not edit messageid.tbl
and thus can not properly handle additional messages. (I may add that in later. For now, it appears editing the tbl
in Whitehole's BCSV editor can allow you to add messages at the end of the file.)
If you need to know a name or identifier for any particular thing (color, emoji, whatever), check the files in the CSV folder. You can also edit these to your liking, just make sure you know what you are doing as it will be harder to help you with problems.
Thanks to froggo for the command in the bat files (the ones in the repo, not in the release).