[Fixed][BUG][EDITOR] .xm Files Not Displaying On Music List In Editor

Started by Nessy, August 28, 2018, 07:34:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nessy

Even if you have any .xm files in the music folder, these do not display in the music drop-down menu in the editor. The .mod, .mp3, .s3m and .ogg music formats are not affected by this as far as I'm aware. I'm not sure if any other music file formats are affected by this.

namida

Full list of supported formats, which editor should also display (from LemTypes.pas):

Quote  MUSIC_EXTENSIONS: array[0..MUSIC_EXT_COUNT-1] of string = (
                    '.ogg',
                    '.wav',
                    '.aiff',
                    '.aif',
                    '.mp3',
                    '.mo3',
                    '.it',
                    '.mod',
                    '.xm',
                    '.s3m',
                    '.mtm',
                    '.umx');

Those up to MP3 are supported for both SFX and BGM. The ones after that are BGM only. Note that any looping other than "at end of file, return to start" is only supported in module formats (ie: those from MO3 onwards), which natively have that functionality, and OGG (where it's done via meta tags, same formatting as RPG Maker (and possibly a few other apps, because I found an entirely unrelated one that uses it once) uses).

In practice, few of these have been used. IT, MOD, XM and OGG see frequent usage. Most sound effects are WAV, although a few are OGG - don't know of any cases of WAV music. There's been the odd case of MP3.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

Nepster

Easily fixed, though it's really curious that the ".s3m" files did not create problems. They should have...