larsiusprime / polymod

Atomic modding framework for Haxe
MIT License
159 stars 60 forks source link

[BUG] Custom Audio does not work #160

Closed gamerbross closed 1 year ago

gamerbross commented 1 year ago

(I'm using the flixel/lime framework)

I set "" to assetPrefix to create an assets folder in the mod, and the mod audio stopped working. I don't know if it's just the audio, but nothing else stopped working.

I tried to solve it and see what caused it, but I didn't come to a conclusion. I just managed to notice that instead of finding the audio file with the type AUDIO_GENERIC and AUDIO_SOUND, it only finds the type AUDIO_GENERIC.

(assetPrefix set to "") image image

(assetPrefix set to "assets/" (default)) image image

I tried using the extensionMap parameter to override and always use the AUDIO_SOUND type and the parameter doesn't work (in any way). #159

UPDATE

I fixed this issue in this pull request: #162

AltronMaxX commented 1 year ago

But why would you create an assets folder inside the mods folder?

gamerbross commented 1 year ago

But why would you create an assets folder inside the mods folder?

to better organize the mod files