Lemmings Forums

NeoLemmix => Bugs & Suggestions => Closed => Topic started by: Nessy on August 28, 2018, 07:34:55 PM

Title: [Fixed][BUG][EDITOR] .xm Files Not Displaying On Music List In Editor
Post by: Nessy on August 28, 2018, 07:34:55 PM
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.
Title: Re: [BUG?][EDITOR] .xm Files Not Displaying On Music List In Editor
Post by: namida on August 28, 2018, 07:47:58 PM
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.
Title: Re: [Fixed][BUG][EDITOR] .xm Files Not Displaying On Music List In Editor
Post by: Nepster on August 29, 2018, 04:43:06 PM
Easily fixed, though it's really curious that the ".s3m" files did not create problems. They should have...