Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LTronic

Pages: [1]
1
Feature requests / Support for MOD/S3M/XM/IT (modules) music
« on: September 13, 2009, 07:38:50 pm »
Nope, the libmodplug support is fairly mature, but I think it might be required to "bridge" SFML loop parameters and the ModPlug one to loop the MOD files correctly.

2
Feature requests / Support for MOD/S3M/XM/IT (modules) music
« on: September 13, 2009, 07:25:03 pm »
No problem so far, but I need to double-check looping since MOD files and similar formats can have "loop points".

3
Feature requests / Support for MOD/S3M/XM/IT (modules) music
« on: September 13, 2009, 07:15:49 pm »
libmodplug is licensed under public domain, so no licensing issue should arise...

I will have a look at SFML2 branch to integrate it properly.

EDIT :

Taken from libmodplug-0.8.7.tar.gz COPYING file :

Quote

ModPlug-XMMS and libmodplug are now in the public domain.

4
Feature requests / Support for MOD/S3M/XM/IT (modules) music
« on: September 13, 2009, 05:34:12 pm »
Well, since I had some time to kill, I give it a go on the standard SFML 1.5 VS2008 SDK sources.

It was rather easy actually, I followed the following steps :

- Hooked up my "basic" libmodplug.lib + modplug.h in the extlibs
- Added a SoundFileMod class in the Audio subsystem, similar to SoundFileOgg
- Hooked up SoundFileMod class in the SoundFile main class

I have now MOD/S3M/XM/IT files playing flawlessly in SFML with great quality, however only "basic" stuff (no loop, volume, etc.. setup but it can easily be added IMHO).

Laurent, are you interested in me sharing that with you ?
Have you some special recommendations on the coding idioms so I can submit a proper "patch" ?

5
Feature requests / Support for MOD/S3M/XM/IT (modules) music
« on: September 13, 2009, 02:18:19 pm »
Hi !
I thought a nice feature for SFML would be to handle module music files.
I had a look at the Audio subsystem source code, and I think it could be easily added, by using the libmodplug library.

Are any other users interested in ?
I could give it a go, but on which version should I start patching ?

Pages: [1]
anything