Page 2 of 4

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

Posted: Fri Jul 15, 2022 1:39 pm
by Neito
zorg wrote: Fri Jul 15, 2022 7:18 am
milon wrote: Thu Jul 14, 2022 1:36 pm
zorg wrote: Wed Jul 13, 2022 4:17 pm In short, not without some work on your end.
And even then, only on Windows systems, yes? Unless the DLLs are very specifically not OS-dependent.
I think both libraries should be platform independent; the original question did concern only ".dll"-s, but whether one builds for other targets or downloads pre-compiled binaries, both options should work on whatever OS you want to use them on.
Could someone implement GME into LOVE2D for me it will reduce my workload?

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

Posted: Mon Jul 18, 2022 9:01 pm
by Neito
How do I combine the GME source code with LOVE2D's source code? I can't build programs when I tried to build aseprite from a source but I got an error instead.

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

Posted: Tue Jul 19, 2022 2:19 pm
by milon
Why do you want to accomplish this? There may well be a better solution.

(Sorry, I can't help with the source code issues.)

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

Posted: Wed Jul 20, 2022 6:13 am
by zorg
Neito wrote: Mon Jul 18, 2022 9:01 pm How do I combine the GME source code with LOVE2D's source code? I can't build programs when I tried to build aseprite from a source but I got an error instead.
With gme specifically, you don't need to touch the source code of either; get binaries for both (or compile them separately), then use the FFI stuff löve includes already (due to it using luaJIT) to require in the gme c library.

Then declare the functions you want to use (that gme exports), and use them.

Things you should read probably:
https://luajit.org/ext_ffi_tutorial.html

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

Posted: Thu Aug 04, 2022 1:09 am
by Yozzaxia
I know I'm late but I use this: https://github.com/cyman-ide/LoveGme

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

Posted: Fri Aug 05, 2022 5:34 am
by zorg
Not that late to be honest, but that's indeed a library that wraps libgme, so awesome find!

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

Posted: Sun Aug 14, 2022 8:05 pm
by Neito
Thank you!

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

Posted: Tue Sep 13, 2022 8:26 pm
by Neito
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: Tue Sep 13, 2022 8:35 pm
by Neito
I don't know what to I need help. Can someone please do that for me. You I'm going to make a game that will use SPC700 and I need the playback to be just like spcplay with interpolation settings.

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

Posted: Thu Sep 15, 2022 3:09 pm
by milon
Why not just export the audio to a more common format like ogg or mp3? According to this link, VLC can natively read, play, and convert spc files.

OCRemix only has 1 RS3 track, sadly. But VGMusic has a MIDI version of Podorui. I don't have a midi player on my system currently, so I can't comment on the quality. :crazy: