Xtense's Forum Posts

  • 3 posts
  • As promised, I'm in progress (hahaha *snort*) of developing an alternative for the built-in MOD Object. Instead of diving head first for the open libraries I mentioned elsewhere, I have decided to write a wrapper for a very simple, but not entirely free library for use with Construct - un4seen developments' BASSMOD (free only for non-commercial use) - to get around the SDK a bit first. I've got about half of the actions up and the plugin already plays back supported modules and can be configured in-program to your heart's content. It is not in any way finished yet however. I'm more of a Delphi/Pascal sort of guy (you may laugh now) and I'm not very familiar with C/C++ development, so coding goes agonizingly slowly for me. This is literally "Baby's First DLL" material for me, so I'll probably show up with some n00b-level problems further on.

    For now, I've uploaded some example files - a .cap (0.99.62) project showcasing some of the library's functions with a pre-compiled .exe to go with it (to get it to play music - push Init, MusicLoad, MusicPlay), the unfinished plugin itself and the .dll file needed in the compiled executable's root directory.

    I intend to post the source files as soon as I run into some major difficulty (which should be anytime now, heh) and hopefully completely support the library's every function. When (If ;] ) I get it to work 100% correctly and reliably, I'll have a base to move on to with open-source libraries for module playback.

  • Sweet! I'll try poking around the SDK and sources then, but since I'm crap with C, my request is still up .

    Thanks for the info!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello. I know I'm kind of being a dick by going straight to the feature requests after just registering, but after checking out Construct and immediately loving every bit of it, I noticed just one problem - the MOD Object seems to be built around a very old and outdated library. The way it is coded now, it does not support stereo playback for s3m/xm/it, IT's built-in lowpass filter and any kind of sample interpolation. You could sort of live without the first two, but without interpolation, newer tracker formats (s3m, xm, it) are played back wrong (they use it by default).

    Therefore I have a request - could the module playback library be changed to some other free engine? I'm a bit of a module freak, so after lots and lots of rigorous testing I can suggest either libmodplug (fully GPL compliant, a bit shaky on compatibility) or DUMB (almost balls-on accurate, BSD-style joke licence, see here and here. Unofficial, but much more optimized and actively maintained fork is worked on by kode54 as a foobar2000 plugin - sources available on that page).

    If this is out of the question, is the plugin SDK capable of interfacing with Construct's sound engine? I could try writing my own implementation, though I'm not very good with C right now.

  • 3 posts