Maidens of the Kaleidoscope

~Hakurei Shrine~ => Rika and Nitori's Garage Experiments => Topic started by: Seian Verian on August 19, 2009, 11:50:04 PM

Title: Music on Danmakufu
Post by: Seian Verian on August 19, 2009, 11:50:04 PM
So... Basically, I tried to get some music I have to work on a simple Danmakufu script, since I'm currently trying to learn how to script in it. The script itself works, but there's simply silence when I start it up. This is how I did it:

#BGM[.\Broken Moon.mp3]

Broken Moon is the title of the MP3 (It's a remix of the Touhou song of the same name, but that's beside the point...) which is in the same folder as the script. Does anyone know why I only get silence?
Title: Re: Music on Danmakufu
Post by: P♂ zeal on August 19, 2009, 11:58:18 PM
.\ refers to danmakufu's directory, not the script's.
For the script's use [GetCurrentScriptDirectory~\OLOLFILENAME.mp3]
Title: Re: Music on Danmakufu
Post by: Suikama on August 19, 2009, 11:59:04 PM
Try taking out the space in both the file and the script.
Title: Re: Music on Danmakufu
Post by: CK Crash on August 20, 2009, 12:03:47 AM
Danmakufu is just terrible with MP3s. I just asked this question the other day, and the only ways around it are redownloading the song from a different source or changing it to a WAV. Something about specific MP3s causes Danmakufu to completely ignore them, and unfortunately, I'm not sure if anyone knows what that is.

#BGM[.\blah.mp3] is a perfectly fine way to access the file, I've always done it that way.
Title: Re: Music on Danmakufu
Post by: Seian Verian on August 20, 2009, 01:35:22 AM
I tried converting the file into an MP3 like Onthenet suggested and now it works. Well, problem solved I guess.