Page 3 of 4

Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D

Posted: Thu Sep 15, 2022 3:18 pm
by MrFariator
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

Posted: Tue Sep 20, 2022 10:55 am
by Neito
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.

Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D

Posted: Fri Sep 30, 2022 11:21 am
by Neito
I don't think I can do this alone.

Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D

Posted: Sat Oct 01, 2022 3:09 am
by Yozzaxia
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

Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D

Posted: Sun Oct 02, 2022 4:00 pm
by zorg
Yozzaxia wrote: Sat Oct 01, 2022 3:09 am I don't know what your code looks like, but this works for me:
...
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.

Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D

Posted: Mon Oct 03, 2022 8:43 pm
by Neito
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

Posted: Wed Oct 26, 2022 4:12 pm
by milon
Neito wrote: Mon Oct 03, 2022 8:43 pm I found a better one now but there are some songs whose only ports didn't work.
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.

Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D

Posted: Sun Nov 06, 2022 5:39 pm
by Neito
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

Posted: Sun Nov 06, 2022 7:50 pm
by Neito
I plan to use spc for music and wav for sound effects.

Re: Does SNESAPU.DLL and libgme.dll work in LOVE2D

Posted: Tue Nov 08, 2022 2:50 am
by Yozzaxia
Neito wrote: Sun Nov 06, 2022 5:39 pm Yes and they work now. But what I need now is to figure out how I'm going to use LoveGme in a game.
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.