I'm having a problem with the musicinfo.conf of the NES BD "conversion" I'm putting together. I have the conf file set up to play the first background music (BDW1.mid) for levels 001-004, and then the second music (BDW2.mid) for levels 005-008, the third (BDW3.mid) for levels 009-012, etc...
But, when I go to play level 002, it goes and plays the second music and then the third music on level 003, although they're all assigned to the first music.
I know the formatting is OK, because I copied it directly from a working musicinfo.conf .
Please help!
Those who can't learn will teach; those who can't teach will learn.
AFAIK the default behavior (with missing/malformed musicinfo.conf) is to play the tracks alphabetically, the first one in the first level etc., so I guess the program didn't read the musicinfo.conf correctly. Please post it here. Also, are you sure it's in the right directory? Reading stderr.txt and stdout.txt in game directory could also help.
I have it in the music folder and the game plays the correct music on all the menus; it's just the level background music that's troubling me for some reason. Here's the exact contents: (sorry, kinda repetitive)
Depending on your screen, the file names might wrap around and appear under the "background.PLAYING.###", but I have them on the same lines in the actual file.
Those who can't learn will teach; those who can't teach will learn.
Compared to the graphicsinfo.conf the musicinfo.conf is a fickle thing which almost drove me nuts with BD2K3 (I was convinced that the tunes played in the order they where created and not alphabetically)
It seems to be fixed now but I've never repeated tunes every 5 levels like you have so copying BD2K3's musicinfo (which works in 3.2.4) might not work. Try it anyway, just replace my song names with your own and see what happens......it could be a rouge character in your infos (music and level) breaking the whole thing
*edit*
Check your names too.......the fact that you missed out an underscore from the sort_priority might mean you missed one from the levelinfo.conf too (not that this matters, but as I said the musicinfo is fickle and has its own weird rules )
Ohh...I Know what I can do to make this really easy!
I'll just make 3 more copies of each one and then I'll name the 24 files A through X. Problem solved! They're midi files, so they hardly take up any room.
Those who can't learn will teach; those who can't teach will learn.
Nvm, I discovered that I had "override level music" turned on, and it just happened to be a another one of my levelsets that used the same music, but in sequence w/o repeating... *throws fit*
Those who can't learn will teach; those who can't teach will learn.
> I'll just make 3 more copies of each one and then I'll name the 24 files A
> through X. Problem solved!
Ouch! This really should not be the solution to your problem! :-O ;-)
> Nvm, I discovered that I had "override level music" turned on, and it just
> happened to be a another one of my levelsets that used the same music,
> but in sequence w/o repeating... *throws fit*
Does this mean that your initial "musicinfo.conf" works now as it should?
As Alan said, "musicinfo.conf" can be confusing in that every mistake in it causes the game to pick a music file due to completely different rules (sequentially playing all music files not defined in "musicinfo.conf"), so it can be hard to track down mistakes in the config file.
BD2K3 is usually the best example to see "how things work" in this regard.
Please write a short note if it works now, or if there is some sort of buggy behaviour that needs fixing from my side (or other reason why it still may not work) -- thanks!
> If you can fix the "B-fly and F-fly sometimes avoiding the boulders" bug, [...]
This will be "fixed" in a future version (planned for 3.4.0) which will introduce a 99% compatible BD engine (where butterflies and fireflies will behave just as they did in the original game). :-)
(The main reason for this behaviour in R'n'D is that it has an "asynchronous" game engine, which makes such cases possible, while BD has a "synchronous" game engine where this cannot happen by definition.)