MIDI music problem

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Eizzoux
Posts: 100
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

MIDI music problem

Post by Eizzoux » Fri Sep 30, 2016 8:00 am

I knew that these latest versions won't be fully compatible with Win7.
When I play some levelsets with MIDI music like BD2K3 and then choose some different levelset with different music (mp3, mod, xm, it and etc.) all sounds and music shuts down and I can't do anything with this silence. All these returns only when I load MIDI music in game again but shuts down again when MIDI music isn't playing during this time. I also can turn on sound only after restarting the system.
Sometimes it becomes very problematic (especially when I want to test some sound effects and just can't hear them)
Nothing in here...*

User avatar
Holger
Site Admin
Posts: 2682
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: MIDI music problem

Post by Holger » Fri Sep 30, 2016 8:39 am

I knew that these latest versions won't be fully compatible with Win7.
Generally, the latest R'n'D version (4.0.0.0 RC 3) should also be fully compatible with Windows 7. As far as I can see, everything is working fine (apart from the MIDI problem you described, which I indeed haven't tested yet).

If you should find anything that does not behave as expected with Windows 7 (besides that MIDI problem), please let me know! I have a (virtualized) Windows 7 test system available, so I should be able to test and (hopefully) fix such problems.

But now to the MIDI problem!
When I play some levelsets with MIDI music like BD2K3 and then choose some different levelset with different music (mp3, mod, xm, it and etc.) all sounds and music shuts down and I can't do anything with this silence. All these returns only when I load MIDI music in game again but shuts down again when MIDI music isn't playing during this time. I also can turn on sound only after restarting the system.
That really sounds weird! I haven't tested it yet, but will definitely do so, and I will report my own results here.

Generally speaking, MIDI support in SDL/SDL2 seems to get worse over time (or simply does not get updated). I have encountered strange problems on my Linux box (Ubuntu 12.04), where in-game MIDI music (as tested with BD2K3) works fine for some time, then suddenly starts making weird noise, so I have to stop music and start it again, which causes it to work again for some time (and then starts making that "noisy" sounds after some time again). This definitely did not happen before. I still have to test if this is a problem with the switch from SDL to SDL2, or if this is a problem with my current Linux installation. Besides this, there are even more problems with MIDI, like missing MIDI support for the Android version.

At the moment, I don't know if this situation will get better -- maybe nobody is interested anymore in playing MIDI music nowadays... :-/

A solution (that I don't like that much) would be to convert all existing MIDI music to MP3 (mainly BD2K3 again)...

User avatar
Eizzoux
Posts: 100
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: MIDI music problem

Post by Eizzoux » Mon Jan 16, 2017 3:12 pm

The problem with MIDI music is still exists and I found an interesting was how to avoid it:

If you're using classic music in Custom Artwork:
1. Play the level, enter any menu page or do something to make MIDI music play
2. Close the game immediately (music must stop playing right after closing the game)
3. Go to "C:\Users\*username*\Documents\Rocks'n'diamonds\"
4. Open 'levelsetup.conf' and change the levelset name (after 'last_level_series:') to 'rnd_tutorial_niko_boehm' and save
5. Launch the game (may be success)

If you're using custom MIDI music in Custom Artwork:
Paragraphs 1-3 are same
4. Open 'setup.conf' and find 'sounds_set:' and change the name of sounds set to 'snd_classic', then save
5. Launch the game (may be success too)
Nothing in here...*

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest