Page 1 of 2
Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 7:29 pm
by NÖÖB
Hey,
can anyone tell me how to play, say, an .nsf?
I can't find anything about GME on the wiki, other than that it's supported by 0.9.0
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 7:34 pm
by Ranguna259
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 7:49 pm
by NÖÖB
Well, yes, I've tried playing it like this
Code: Select all
function love.load()
song1 = love.audio.newSource("kim280513.nsf")
love.audio.play( song1 )
end
etc..
etc..
but then love.exe tells me
Code: Select all
Error
Extension "nsf" not supported
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 7:54 pm
by veethree
NÖÖB wrote:Well, yes, I've tried playing it like this
Code: Select all
function love.load()
song1 = love.audio.newSource("kim280513.nsf")
love.audio.play( song1 )
end
etc..
etc..
but then love.exe tells me
Code: Select all
Error
Extension "nsf" not supported
The error speaks for itself doesn't it? I'm not familiar with .nsf files, But the love audio module only supports conventional audio files like ogg, wav etc.
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 7:55 pm
by MadByte
a quick search on the wiki showed up this :
Audio Tutorial
there is a link with all ( apparently ) supported formats, but I can't give a warranty for that info.
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 8:01 pm
by NÖÖB
-_-
"0.9.0 Additions:
(...)
OPTIONAL: Added support for Game Music Emu".
That's all I can find about it on the wiki. I also know GME supports nsf. Don't know what they mean by optional, though. Perhaps I have to build love with some flag set..?
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 8:05 pm
by bartbes
I don't think any of the binaries we ship actually have it enabled.
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 8:09 pm
by Roland_Yonaba
Dunno if love.audio support nsf files. As far as I know, NSF is an audio format for NES files.
Good news, using
foobar and his plugin
foo-gep, and
LAME encoder, you can convert NSF files to MP3. And from that, to any format you want (Ogg, wav, etc...).
Re: Game Music Emu - how do I use it?
Posted: Fri Dec 20, 2013 8:11 pm
by NÖÖB
bartbes: will any of the binaries you ship have gme enabled in the future?
Re: Game Music Emu - how do I use it?
Posted: Thu Jan 09, 2014 1:54 pm
by rixard
I'm also curious on how to get it to work. I love the fact that Löve supports various tracker
formats already. It would be nice to support nsf(NES music too). There are still people making
nsf-music; and the size is really small compared to an MP3 or Ogg. Seems like
the game music emu lib is ~166KB zipped, and a zipped NSF-file is perhaps 50KB. Now,
the smaller file size for music isn't that big of a deal in this day and age but
for a game with lots of music; and one that uses tracker modules vs. ogg/mp3 it would
make a huge difference.
Keep löving!