Page 1 of 1

XGM PCM

Posted: Wed Oct 25, 2017 10:46 am
by themrcul
Hi Stef (and others!)

Just a question, when I make multiple xgms for use with SGDK, which all use the same rhythm drum kit pcm sound effects, and I combine them as assets into my ROM, do the PCM sound effects only take up space once in the ROM, or does each song have it's own instance of the PCM data?

If the PCM data was possible to be shared, that could save a lot of ROM space, I guess that's why I'm asking!

Thanks heaps :)

Re: XGM PCM

Posted: Wed Oct 25, 2017 11:29 am
by Stef
Unfortunately right now PCM data are not shared so each XGM file embed its own PCM data bank. It's something i was thinking about day 0 but it makes the XGM resource generation process more complex and i didn't yet tackled it.
As you can see it appears in my "issues" list so that is definitely something i plan to work on but i have no date for that :
https://github.com/Stephane-D/SGDK/issues

Re: XGM PCM

Posted: Wed Oct 25, 2017 11:56 am
by themrcul
Thanks Stef,
I'm glad to know it's at least possible!
I'll continue to make my engine in the background. Thanks for everything you continue to do with SGDK. :)