Author Topic: [Fixed][BUG][EDITOR] .xm Files Not Displaying On Music List In Editor  (Read 1534 times)

0 Members and 1 Guest are viewing this topic.

Offline Nessy

  • Posts: 579
    • View Profile
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.
« Last Edit: August 29, 2018, 04:41:20 PM by Nepster »

Offline namida

  • Administrator
  • Posts: 12399
    • View Profile
    • NeoLemmix Website
Re: [BUG?][EDITOR] .xm Files Not Displaying On Music List In Editor
« Reply #1 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.
« Last Edit: August 28, 2018, 08:10:39 PM by namida »
My Lemmings 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)

Offline Nepster

  • Posts: 1829
    • View Profile
Re: [Fixed][BUG][EDITOR] .xm Files Not Displaying On Music List In Editor
« Reply #2 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...