Ogg Support and Amiga Module Support ?

Linux specific forum
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Ogg Support and Amiga Module Support ?

Post by Brujah »

Hy programmers,

now I want to include Sound in my game and I got all the sounds in the ogg format. (I know I can convert them ... but)
The documentation says that "UseOGGSoundDecoder" in available for the linux version, but when I try to use it I get an error message.
Is it implemented or not ?

One other thing I want to use in my game is an old amiga tracker module.
(Fot the titel song)
Can I use this with purebasic ? Do I need a special plugin for that ?

Markus
Akuma no Houkon
User
User
Posts: 77
Joined: Sun Nov 02, 2003 1:47 pm
Location: Washington
Contact:

Post by Akuma no Houkon »

Just use the FMOD libaries and you can easily use OGG and almost all tracker formats. And FMOD is available on multiple platforms and works perfect in Linux and Windows versions of PureBasic.
AMD 2600+, nVidia Geforce FX 5200 128 MB DDR, 512 DDR, RedHat 9
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

The only problem with FMOD is the restrictive licensing and the Brett (Author) is unable figure out how free MMORPGs fit into his license scheme :) (He swears up and down that free mmorpgs requires a commercial license, lol!) This was way back in version 3.0 (?) I think. The license havent changed much.
Fred
Administrator
Administrator
Posts: 16681
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I've ported the MIDAS library to linux (I will put a link to it tonight), but OGG isn't supported for now. It will be for the next release.
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Post by Brujah »

Okay I have downloaded the fmod-3.71.so
But I don't get it what do do with it.

I read I have to redistribute it with my program...
But how do I get it working with purebasic.
The doku explains it for C Code und Visual Basic.

Markus
plouf
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Post by plouf »

take a look in <a href="http://www.reelmediaproductions.com/pb">ResourceSite</a> + <a href="http://www.purearea.net/">PureArea</a>

they have examples and a wrapper
Christos
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Post by Brujah »

I still don't get it.
I downloaded the dll and the wrapper.
But I can't get it running on linux.

Is it running on your machine ? With linux ?
How do I use the .so instead the .dll ?

Do you have a little example for me ?
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

Post by Froggerprogger »

I have no idea of Linux, but here's a related topic in the fmod.org-forum:

http://www.fmod.org/forum/viewtopic.php ... highlight=
%1>>1+1*1/1-1!1|1&1<<$1=1
User avatar
Brujah
Enthusiast
Enthusiast
Posts: 237
Joined: Mon Nov 03, 2003 7:45 pm
Location: Germany
Contact:

Post by Brujah »

Okay, I read it. And I have to compile stuff and get the system to access the newly compiled module.
That is not helping me. Because I want to distribute my game as easy as possible and I don't want the users to have to do this installation.....

So I better wait till Fred has all of this working with the Midas library.

I got no hurry anyway...
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

Post by Froggerprogger »

Am I right with this ?
It would not be userfriendly, because you would force them to become a root for the (even if perhaps simplified automatic) installation ?

Is there no way in Linux to use a kind of 'DLL' that doesn't need to be 'installed' first ? Perhaps you can compile the .so to such a one ?

But I think, you know what you're doing.
%1>>1+1*1/1-1!1|1&1<<$1=1
Post Reply