A few words on D2X-XL and music

D2X-XL - Descent II update for modern systems with many new features and enhanced graphics. Home Page

Moderators: Grendel, Aus-RED-5

Post Reply
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

A few words on D2X-XL and music

Post by Diedel »

Today I looked into the D2 music stuff a little, particularly the midi code, trying to make it portable by using SDL_mixer.

Whatever format the D2 makers chose for their music, it isn't standard midi, at least if looking at what SDL_mixer expects in a MIDI file.

If there is someone around who has more insight in this subject, please enlighten me.

Darn the guys who implemented the D2 music.

Auf gut Deutsch: Ich könnte kotzen!
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

there is(were) utilities for converting d1/2 music to midi. I think it was a format propretiry to interplay.

it might be saner to point people here and use that instead.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

flip,

problem is that D2X midi is not available on Linux and OS X right now, and the only way for me to make it work is the SDL_mixer lib. It requires real midi though. Is there source code available for a hmp -> midi conversion? That would do already. If I could use SDL_mixer, I could also add mp3, wav and ogg vorbis playback and play lists.

Edit:

I've found some source code for hmp -> midi conversion.
Post Reply