Page 1 of 1
Built-in mod player, part 2...
Posted: Wed Mar 31, 2004 11:01 am
by Amiga5k
Hello everyone, I was surfing around just now and came upon this:
http://pweb.jps.net/~olivierl/
It seems the vc++ source code to this tracker (supports MANY MANY mod formats - like 40 or something) is free and available on this website. I could find no reference to price, or license...and it's billed as 'freeware', so it may be possible to incorporate this into PB for free! I believe it uses ModPlug, which is also available for free...
What do you all think?
Russell
p.s. Didn't Fred come up with a 'quick and dirty' mod setup a few months ago? If memory serves, it was a sort of proprietary module format (x-something I think).
Posted: Wed Mar 31, 2004 12:31 pm
by freak
If it is a C++ source, then the only way to use it is to put it into a dll.
I have found no cpp compiler that produces a lcclink compatible object
format.
Timo
Posted: Fri Apr 02, 2004 11:20 pm
by KarLKoX
freak wrote:If it is a C++ source, then the only way to use it is to put it into a dll.
I have found no cpp compiler that produces a lcclink compatible object
format.
Timo
Yeah and it is a very bad limitation for me !
I was coding a purebasic library allowing to play different sound format but the libs i use are, for some, coded in C++.
Though now, i must split each sound format as a plugin dll (one dll for one format) wich was not my objective : it was to compile an exe staticly with my lib without dll depedencies.
It is really pity that PB doesn't support the C++ language (ok, i know, it is a LCC limitation, not directly a PB one)
Amiga5k>the tracker is now opensource (see
here ) and you can freely use the ModPlug Sound Library according to the GNU Public License.
I ve coded a
ModPlug Decoder for
Foobar2000.
I will also use it into my sound library especially done for the purebasic community (free + no royalties).
Posted: Mon Apr 05, 2004 7:18 am
by Amiga5k
KarLKoX wrote:freak wrote:If it is a C++ source, then the only way to use it is to put it into a dll.
I have found no cpp compiler that produces a lcclink compatible object
format.
Timo
Yeah and it is a very bad limitation for me !
I was coding a purebasic library allowing to play different sound format but the libs i use are, for some, coded in C++.
Though now, i must split each sound format as a plugin dll (one dll for one format) wich was not my objective : it was to compile an exe staticly with my lib without dll depedencies.
It is really pity that PB doesn't support the C++ language (ok, i know, it is a LCC limitation, not directly a PB one)
Amiga5k>the tracker is now opensource (see
here ) and you can freely use the ModPlug Sound Library according to the GNU Public License.
I ve coded a
ModPlug Decoder for
Foobar2000.
I will also use it into my sound library especially done for the purebasic community (free + no royalties).
My original thinking was that Fred could include the open-source code into the compiler itself, so that we wouldn't have to worry about any licensing issues at all (like the Blitz compilers using FMOD).
Isn't the core Pure Language written by Fred in C++? If so, wouldn't it be a fairly straightforward process for him to include the ModPlug code into the Pure environment according to the gnu license? I'm not 100% familiar with how the gnu public license works...
Russell
Posted: Tue Apr 06, 2004 10:57 pm
by KarLKoX
As i said, i m working on a sound library especially for purebasic users letting them to play different file format without dependencies (no dll).
I was planning to add support for modules through th Modplug library but as it is coded in C++, it is not possible to use it.
I must recode it to C wich is a very very big task. I managed to do so for MusePack files (wich is a very bad C++ code) with success.
This is why i want pb support C++ language or switch to another linker wich support this language.
Btw the core of pb is done in C with a bit of asm. (librairies)
Posted: Wed Apr 07, 2004 12:20 am
by Shannara
Hmm, no dependencies, thats nice..cross-platform support?
Posted: Wed Apr 07, 2004 12:48 am
by KarLKoX
The code is totally modular so it would be trivial to port it to another OS.
I think of adding Linux support though OSS depending of my spare time

Posted: Wed Apr 07, 2004 6:46 am
by GedB
How about this one, written in ASM like PB and includes the source.
http://www.programmersheaven.com/search ... ileID=6108
There are restrictions on the license, but perhaps if the original auther could be contacted an agreement could be found.
This programs are free software only and may not be sold other than the cost
of the disk or physical handling. You can redistribute it only in the same
form as you have received it.
The author is Frontman of Crew242, the library was originally written for his game 'Future Dimension.'
Posted: Wed Apr 07, 2004 9:10 am
by KarLKoX
This engine can't be used because it was done only for DOS and use asm protected mode.
The problem is not to find a module engine (i have some name like mikmod or dumb) but for me, the modplug library is the most accurate opensource replayer.
There are better engine like FMOD or BASS but they are not opensource.
There is also XMP but it is only a unix library (porting it to windows is difficult because this engine use a lot of system mecanism).
Btw, if i can't find one, mikmod will be choosed.
Thanx for the link and the help
PS : "my" license will be exactly the same, free for free projects and using it for commercials use will be prohibited.