Page 1 of 1

Music artwork doesn't work

Posted: Mon Jun 05, 2023 3:22 pm
by mat
"Music artwork" and "Override level music" settings stopped working.

Re: Music artwork doesn't work

Posted: Mon Jun 05, 2023 4:48 pm
by Eizzoux
From what I have just checked, it seems to be working just fine, both custom music and music override.
Are you sure you checked everything? What exactly happens for you? Is the game just playing default R'n'D music on any levelset? For the last case, I'd recommend you just switch music override to 'no', so whatever music artwork you apply in settings won't apply to levelsets with their custom music.
If that's something else, then can you describe in details?

Re: Music artwork doesn't work

Posted: Mon Jun 05, 2023 10:26 pm
by mat
Yes, the game always plays "classic music". Music override set to "no" (or "auto") doesn't change anything. I've tested the settings with EMC collection (on Linux and Android).

Edit: I've checked other level sets and the bug occurs as well.

Re: Music artwork doesn't work

Posted: Tue Jun 06, 2023 10:57 am
by Holger
Thanks, mat, I will check this. (Indeed I changed some things in the custom music code, and apparently broke something. :( )

Re: Music artwork doesn't work

Posted: Tue Jun 06, 2023 9:30 pm
by Holger
Just tested this with the latest game version (4.3.6.0), and apparently I wasn't able to reproduce the problem you encountered.

I tested the following (default music, no custom music):

- select level set "Sokoban" from "Classic Original Games"
- this level set has no own music, but uses the default game music
- when playing, the default game music ("classic music") is played

Then I tested the following (selected custom music), hoping this is what you did:

- same level set "Sokoban" as before
- go to "Setup -> Custom Artwork -> Custom Music"
- select custom music from folder "Emerald Mine Club": either "Emerald Mine (Kingsoft)" or "Emerald Mine (no music)"
- when playing, the default game music ("classic music") is played
- this is as expected, because neither of these music sets contain in-game music
- "Override Level Music" set to "no" all the time

I also tested the following (selected custom music):

- same level set "Sokoban" as before
- go to "Setup -> Custom Artwork -> Custom Music"
- select custom music from "BD2K3" (first test) or "Andreas Buschbeck" (second test)
- when playing, the selected custom game music is played
- "Override Level Music" set to "no" all the time

This tests both music specifically defined per-level ("BD2K2") and "unconfigured" custom music ("AB Graph Musicset 1", which just uses a bunch of WAV files thrown into the custom "music" directory, but without defining specific levels to play certain music files).

Have I overseen something which triggers the problem you encountered? :?

Re: Music artwork doesn't work

Posted: Wed Jun 07, 2023 4:12 pm
by mat
Generally I see the things above but I don't understand the following:

1. The original Emerald Mine game doesn't have a background music so if you play the levelset "Emerald Mine (Kingsoft)" (or another from EMC collection), no music should be played for that matter. If you change a levelset from an EMC levelset to another that is outside the collection (or vice versa), you have to rifle through game settings to play with the original music (or a lack of it) every time you make a change.

2. If the custom music artwork "Emerald Mine (Kingsoft)" and "Emerald Mine (no music)" have no music, what is a purpose of adding them to the game? If one of them is set as the custom music and the override option is set to "yes", the default music will be played anyway.

Re: Music artwork doesn't work

Posted: Wed Jun 07, 2023 5:21 pm
by Holger
You are right, of course! :shock:
- same level set "Sokoban" as before
- go to "Setup -> Custom Artwork -> Custom Music"
- select custom music from folder "Emerald Mine Club": either "Emerald Mine (Kingsoft)" or "Emerald Mine (no music)"
- when playing, the default game music ("classic music") is played
- this is as expected, because neither of these music sets contain in-game music
- "Override Level Music" set to "no" all the time
Indeed! This is not how it should work! If these music sets contain no in-game music, this is what should be played in the game: No music! :o

This bug was not introduced between versions 4.3.5.0 and 4.3.6.0 (which I thought and tested, and where I could not find a change because there is none), but already between 4.3.4.0 and 4.3.5.0! :shock:

Will check and fix this! :cry:

Re: Music artwork doesn't work

Posted: Thu Jun 08, 2023 12:19 am
by Holger
Fixed! :)