Does SNESAPU.DLL and libgme.dll work in LOVE2D
-
- Party member
- Posts: 512
- Joined: Wed Oct 05, 2016 11:53 am
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
Generally the reason to use a library like this is to use the console-specific audio features, like how Neito mentions interpolation. While you can convert the track to a more conventional file format like OGG or MP3, those formats don't let you fiddle with the playback in the same way as you could on SNES. It's kind of a niche thing, of course, and you could approximate the same effects with some other audio engineering - though you'd have to go and implement it yourself.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
If I just convert it it wont be the same that's why I need snesapu implemented into Love2D.
I'm thinking of using ffi.
I'm thinking of using ffi.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
I don't think I can do this alone.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
I don't know what your code looks like, but this works for me:
Code: Select all
local gme = require("LoveGme")()
function love.load()
gme:loadFile("RS3_Podorui.spc")
gme:play()
end
function love.update(dt)
gme:update(dt)
end
- zorg
- Party member
- Posts: 3444
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
They did say this before:
I don't want gme anymore now I only want snesapu, because when I tried to play 6646's port of Podorui from romancing saga 3 it didn't play.
I thought Lovegme would work for sure but that wasn't the case.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
I found a better one now but there are some songs whose only ports didn't work.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
Sorry for the late reply. Have you tried dumping your own .SPC files? It's easy enough to do - I believe zsnes, snes9x, and others can do it easy enough.
Any code samples/ideas by me should be considered Public Domain (no attribution needed) license unless otherwise stated.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
Yes and they work now. But what I need now is to figure out how I'm going to use LoveGme in a game.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
I plan to use spc for music and wav for sound effects.
Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D
Just a heads up, I encountered a LoveGme problem where spcs only played once (it's a feature on libgme's side, apparently). The repository owner hasn't responded to my pull request that fixes the issue, but you can find my fork here.