The Dink Network

Can D-Mods use .OGG files, or can they only use Midi format?

August 2nd 2013, 12:14 AM
knight.gif
KrisKnox
Peasant He/Him United States
The site's resident Therian (Dire Wolf, Dragon) 
I'm unsure if this is the right place to put this, but here goes.

I was wondering if the Dink Engine and any games utilizing it could use .OGG format files. If it can, then great, I've got a project planned that might make people happy. If not, then oh, well.
August 2nd 2013, 12:20 AM
pillbug.gif
Pillbug
Peasant He/Him United States
Love! True love! 
Not sure about the regular version, but I believe user-created versions like FreeDink and Aural+ support it.
August 2nd 2013, 12:24 AM
wizardg.gif
I'm pretty sure it's only .midi. Now I could be wrong about this. Though if you wanted to check real quick you could pop open your dinksmallwood map editor make a new dmod, put a .ogg in the sound file, call for that sound file, and then test your dmod and see if it works.

You can also use .wav files, so maybe you can use .ogg for sound effects, but I don't think you can use them as a replacement for the .midis.
August 2nd 2013, 12:42 AM
knight.gif
KrisKnox
Peasant He/Him United States
The site's resident Therian (Dire Wolf, Dragon) 
Well, I currently can't do that seeing as my computer is crap and shuts down every now and then. (Not to mention the last time I opened the editor, the program took forever to load.)

My plan was to take the original music from Dink and convert them into looped .OGG files.
August 2nd 2013, 01:19 AM
spike.gif
Aural+ supports .mp3, but not .ogg. FreeDink supports .ogg, but not .mp3. *shrug*

I'm not sure if looping would work, though. Midis can be set to loop too, but I believe Dink just ignores that.
August 2nd 2013, 11:55 AM
goblins.gif
Just use the function "loopmidi(1)" and put it in one of the pregame events. And wallah, your midi's loop. Can mp3's loop though? Not sure...
August 2nd 2013, 12:01 PM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
Generally speaking, I would assume the Aural+ and Freedink versions would support the loopmidi(1) command for use with mp3/ogg files, as it basically uses the same command to call and play said files in place of midis, just with a separate filetype extension when it checks for the music you want it to run with the Aural+/Freedink engines.
August 2nd 2013, 01:06 PM
spike.gif
Just use the function "loopmidi(1)"

There is that, of course, but that's really crude... No loop points.
August 3rd 2013, 02:26 AM
goblins.gif
Just use the function "loopmidi(1)"

There is that, of course, but that's really crude... No loop points.

Ah, good point. I don't think there is a way to use loop points in Dink, unfortunately.