The FamiStudio text format is a textual representation of the binary .FMS format designed for interoperability with other tools and sound engines.
Key Constraints:
- Compatibility: It is not forward or backward compatible. FamiStudio can only read text files generated with the same major and minor version (e.g.,
3.0.x). - Lossy Elements: While mostly lossless, the following are not preserved:
- Custom colors assigned to songs, instruments, patterns, arpeggios, and DPCM samples (these will be randomized upon re-import).
- DPCM sample source data and processing parameters (only the final processed data is exported).
- Availability: Only the desktop version of FamiStudio supports exporting to this format.
Format Structure:
The format uses a nested object structure where each line describes an object followed by attributes in double-quotes. Indentation is cosmetic. Double quotes within values are escaped by doubling them (e.g., "").
Project Version="2.0.0" Name="FamiStudio Tutorial"
Instrument Name="Lead"
Envelope Type="Volume" Length="1" Values="12"
Song Name="Tutorial Song"
Channel Type="Square1"
Pattern Name="Intro1"
Note Time="0" Value="G3" Instrument="Lead"