Saturday 8 June 2024

Show HN: I wrote a partial re-implementation of DirectMusic https://bit.ly/3Vc5IR7

Show HN: I wrote a partial re-implementation of DirectMusic DirectMusic[1] is a deprecated Windows API for playing dynamic music scores authored using DirectMusic Producer[2]. It was originally released as part of DirectX in 1999 and discontinued with the release in Windows Vista around 2009-ish. Due to my involvement with projects[3] re-implementing an old game engine for the early 2000's games Gothic and Gothic II[4], I came to notice that existing solutions[5] were incorrect and hard to use. Thus, I was tasked with writing a new, correct re-implementation of the API. Today, my re-implementation is able to (mostly) play back so-called style-based segments[6] and is fully tested against both the Gothic and Gothic II soundtracks. I am actively working on getting the Lego Island 2 soundtrack working as well. There are many features of DirectMusic which the library does not currently support, simply because I have not been able to find or test soundtracks using them, so if you want to contribute, I'd love to know about software shipping with DirectMusic soundtracks! [1]: https://bit.ly/3wYXRON [2]: https://bit.ly/3VhfKQR... [3]: Specifically GothicVR ( https://bit.ly/3XgdVGu ) and OpenGothic ( https://bit.ly/45fyxAx ) through my ZenKit library ( https://bit.ly/3VySq2o ) [4]: https://bit.ly/45f43Pc [5]: There is libdmusic ( https://bit.ly/45eIzSE ) which is unmaintained and an embedded implementation in OpenGothic ( https://bit.ly/45fyxAx ) [6]: https://bit.ly/45eReEq... https://bit.ly/3VzoxPq June 8, 2024 at 11:02AM

No comments:

Post a Comment