IgeNiaI / Q-Zandronum

A Zandronum 3.0 fork with improved netcode, configurable movement and many small tweaks
Other
74 stars 9 forks source link

Skin files wont load? #339

Closed Darkstalix closed 2 months ago

Darkstalix commented 2 months ago

Maybe im wrong about it just in case this fork doesnt support it? I have a skin folder with font files sound wad files etc but they wont load Qzan doesnt support skin files?

IgeNiaI commented 2 months ago

I never used skins myself. QZan is a fork of Zandronum 3.0. Did 3.0 support the skins the way you described? I did some changes related to skins based on modders requests, but that shouldn't break loading the skins.

Darkstalix commented 2 months ago

Yes on zandronum 3.0 and (and before that) you make a skins folder and you can add some wads to make them work by default without the need to load them. For example i could throw a font.wad there or a flashlight mod and it would load those by default

IgeNiaI commented 2 months ago

Can you please provide example files and steps on how to reproduce the issue?

Darkstalix commented 2 months ago

Of course. For example when i play the Ultimate(doom1) i always like playing with the PlayStation version music, I just load up doom with doomseeker and have the file of PSXMUSIC.WAD in the skins folder and immediately plays the psx music instead the original rock metal of the original doom.

https://www.mediafire.com/file/3jcvdnohfvumchu/PSXMUSIC.WAD/file I hope im allowed to load this wad i have no idea please dont kill me brother :(

Keep in mind those steps are for Zandronum and i tried the same setup on latest Qzan but it doesnt work

IgeNiaI commented 2 months ago

So it's a bug in OpenAL. If you go to settings and switch sound backend to FMOD, the issue gets fixed. I'll look into fixing it for OpenAL.

IgeNiaI commented 2 months ago

It's something about how OpenAL loads sounds. The WAD you linked is quite special, because it contains mp3 files that have actual mp3 extension, but then they do some WAD format trickery to make the engine think that the file doesn't have this extension. OpenAL doesn't recognize that properly.

I made a pk3 with exactly same files but without extension, and it works fine. https://www.mediafire.com/file/wjh0a8jyc71g72s/PSXMUSIC.pk3/file

IgeNiaI commented 2 months ago

I probably won't fix this cause I barely have time to work on other things, especially now that there is a workaround. Hopefully this gets fixed if/when QZan features will be merged to vanilla Zandro.