Re: [Ohrrpgce] SVN: pkmnfrk/1078 Audwrap/music_native works on linux

2007-04-11 Thread Ralph Versteegen
On 4/10/07, Bob the Hamster [EMAIL PROTECTED] wrote:
 On Mon, Apr 09, 2007 at 06:46:31PM -0400, Mike Caron wrote:
  On 4/9/07, Bob the Hamster [EMAIL PROTECTED] wrote:
   On Mon, Apr 09, 2007 at 03:11:18PM -0700, [EMAIL PROTECTED] wrote:
pkmnfrk
2007-04-09 15:11:18 -0700 (Mon, 09 Apr 2007)
970
Audwrap/music_native works on linux
   
There are secrets in this world, great mysteries that cannot, nay, must 
not be revealed to mortals, lest the great technogods be forced to 
cleanse the earth of our presence for fear of their position in the 
heavens...
   
One of these mysteries is how I managed to get music_native to compile 
on linux. I fixed up audwrap, and managed to make it link to the OHR. I 
know not how, but I hope that it works for other people.
   
You should grab the source for audiere, compile and install it. That 
requires libogg, libvorbis and libvorbisfile which I assume everyone 
already has. If not, pop over to http://vorbis.com to get them (I, 
again, grabbed the source and compiled them; libvorbisfile comes with 
libvorbis, it's not a seprate package).
   
Other than that, just compile with ./makegame.sh fb native and 
./makeedit.sh fb native, and you'll be fine.
   
NOTE: Midi does not work yet. I wasted all weekend just geting the stub 
to compile. :(
---
  
   I am able to compile and run, but when I do anything that would play
   music, it immediately crashes with a segmentation fault.
 
  Hmm, let me do some more thorough testing, then I'll see what I can find.
 
  I do know that if you import a sound into custom, it will play. Try
  that, please.

 Ah, yes. Sounds work fine. Only music crashes.

So, is it a bug that custom with music_native segfaults whenever I try
to import sound effects into test.rpg (and certain other games only),
or is that known? Or am I wrong in assuming that when using
music_native under windows, I don't need to do anything new?


   I would like for music_native to be renamed music_audiere. Any thoughts?
 
  Well, I would agree, but it would be a misnomer, as audiere doesn't
  have a lot to do with music (compared to what I'm in the process of
  writing).
 
  I'm going to have it try ALSA (if I can figure out how), timidity++
  (in server mode, for proper looping), and then timidity (any,
  fallback) in that order for playing music. Really, music_native
  represents the best idiom for that platform.

 music_timidiere?

 Honestly, the name doesn't matter a whole lot. I just like the idea of a
 name that hints about what library(s) it uses. IIRC, the reason for the
 original music_native's name was that it was supposed to depend on
 nothing but windows's build-in midi subsystem, hence the native

 ---
 Bob the Hamster
 ___
 ohrrpgce mailing list
 ohrrpgce@lists.motherhamster.org
 http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

___
ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: pkmnfrk/1078 Audwrap/music_native works on linux

2007-04-11 Thread Mike Caron
On 4/11/07, Ralph Versteegen [EMAIL PROTECTED] wrote:
 On 4/10/07, Bob the Hamster [EMAIL PROTECTED] wrote:
  On Mon, Apr 09, 2007 at 06:46:31PM -0400, Mike Caron wrote:
   On 4/9/07, Bob the Hamster [EMAIL PROTECTED] wrote:
On Mon, Apr 09, 2007 at 03:11:18PM -0700, [EMAIL PROTECTED] wrote:
 pkmnfrk
 2007-04-09 15:11:18 -0700 (Mon, 09 Apr 2007)
 970
 Audwrap/music_native works on linux

 There are secrets in this world, great mysteries that cannot, nay, 
 must not be revealed to mortals, lest the great technogods be forced 
 to cleanse the earth of our presence for fear of their position in 
 the heavens...

 One of these mysteries is how I managed to get music_native to 
 compile on linux. I fixed up audwrap, and managed to make it link to 
 the OHR. I know not how, but I hope that it works for other people.

 You should grab the source for audiere, compile and install it. That 
 requires libogg, libvorbis and libvorbisfile which I assume everyone 
 already has. If not, pop over to http://vorbis.com to get them (I, 
 again, grabbed the source and compiled them; libvorbisfile comes with 
 libvorbis, it's not a seprate package).

 Other than that, just compile with ./makegame.sh fb native and 
 ./makeedit.sh fb native, and you'll be fine.

 NOTE: Midi does not work yet. I wasted all weekend just geting the 
 stub to compile. :(
 ---
   
I am able to compile and run, but when I do anything that would play
music, it immediately crashes with a segmentation fault.
  
   Hmm, let me do some more thorough testing, then I'll see what I can find.
  
   I do know that if you import a sound into custom, it will play. Try
   that, please.
 
  Ah, yes. Sounds work fine. Only music crashes.

 So, is it a bug that custom with music_native segfaults whenever I try
 to import sound effects into test.rpg (and certain other games only),
 or is that known?

Hmm? It's very much not known. Could you compile it with debugging,
and run it under GDB, so I know where it crashes?

 Or am I wrong in assuming that when using
 music_native under windows, I don't need to do anything new?

No, it should be exactly the same.

-- 
Mike Caron
Final Fantasy Q
http://finalfantasyq.com
___
ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: pkmnfrk/1078 Audwrap/music_native works on linux

2007-04-11 Thread Ralph Versteegen
On 4/12/07, Mike Caron [EMAIL PROTECTED] wrote:
 On 4/11/07, Ralph Versteegen [EMAIL PROTECTED] wrote:
  On 4/10/07, Bob the Hamster [EMAIL PROTECTED] wrote:
   On Mon, Apr 09, 2007 at 06:46:31PM -0400, Mike Caron wrote:
On 4/9/07, Bob the Hamster [EMAIL PROTECTED] wrote:
 On Mon, Apr 09, 2007 at 03:11:18PM -0700, [EMAIL PROTECTED] wrote:
  pkmnfrk
  2007-04-09 15:11:18 -0700 (Mon, 09 Apr 2007)
  970
  Audwrap/music_native works on linux
 
  There are secrets in this world, great mysteries that cannot, nay, 
  must not be revealed to mortals, lest the great technogods be 
  forced to cleanse the earth of our presence for fear of their 
  position in the heavens...
 
  One of these mysteries is how I managed to get music_native to 
  compile on linux. I fixed up audwrap, and managed to make it link 
  to the OHR. I know not how, but I hope that it works for other 
  people.
 
  You should grab the source for audiere, compile and install it. 
  That requires libogg, libvorbis and libvorbisfile which I assume 
  everyone already has. If not, pop over to http://vorbis.com to get 
  them (I, again, grabbed the source and compiled them; libvorbisfile 
  comes with libvorbis, it's not a seprate package).
 
  Other than that, just compile with ./makegame.sh fb native and 
  ./makeedit.sh fb native, and you'll be fine.
 
  NOTE: Midi does not work yet. I wasted all weekend just geting the 
  stub to compile. :(
  ---

 I am able to compile and run, but when I do anything that would play
 music, it immediately crashes with a segmentation fault.
   
Hmm, let me do some more thorough testing, then I'll see what I can 
find.
   
I do know that if you import a sound into custom, it will play. Try
that, please.
  
   Ah, yes. Sounds work fine. Only music crashes.
 
  So, is it a bug that custom with music_native segfaults whenever I try
  to import sound effects into test.rpg (and certain other games only),
  or is that known?

 Hmm? It's very much not known. Could you compile it with debugging,
 and run it under GDB, so I know where it crashes?

Very unfortunately, it stops crashing when I run with gdb. I tried
several games with which it crashes otherwise. It happened with all
ogg and wav files I tried. Doesn't happen on the import music menu for
me.


  Or am I wrong in assuming that when using
  music_native under windows, I don't need to do anything new?

 No, it should be exactly the same.

___
ohrrpgce mailing list
[EMAIL PROTECTED]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: pkmnfrk/1078 Audwrap/music_native works on linux

2007-04-10 Thread Bob the Hamster
On Mon, Apr 09, 2007 at 07:25:59PM -0400, Mike Caron wrote:
 On 4/9/07, Bob the Hamster [EMAIL PROTECTED] wrote:
  On Mon, Apr 09, 2007 at 06:46:31PM -0400, Mike Caron wrote:
   On 4/9/07, Bob the Hamster [EMAIL PROTECTED] wrote:
On Mon, Apr 09, 2007 at 03:11:18PM -0700, [EMAIL PROTECTED] wrote:
 pkmnfrk
 2007-04-09 15:11:18 -0700 (Mon, 09 Apr 2007)
 970
 Audwrap/music_native works on linux

 There are secrets in this world, great mysteries that cannot, nay, 
 must not be revealed to mortals, lest the great technogods be forced 
 to cleanse the earth of our presence for fear of their position in 
 the heavens...

 One of these mysteries is how I managed to get music_native to 
 compile on linux. I fixed up audwrap, and managed to make it link to 
 the OHR. I know not how, but I hope that it works for other people.

 You should grab the source for audiere, compile and install it. That 
 requires libogg, libvorbis and libvorbisfile which I assume everyone 
 already has. If not, pop over to http://vorbis.com to get them (I, 
 again, grabbed the source and compiled them; libvorbisfile comes with 
 libvorbis, it's not a seprate package).

 Other than that, just compile with ./makegame.sh fb native and 
 ./makeedit.sh fb native, and you'll be fine.

 NOTE: Midi does not work yet. I wasted all weekend just geting the 
 stub to compile. :(
 ---
   
I am able to compile and run, but when I do anything that would play
music, it immediately crashes with a segmentation fault.
  
   Hmm, let me do some more thorough testing, then I'll see what I can find.
  
   I do know that if you import a sound into custom, it will play. Try
   that, please.
 
  Ah, yes. Sounds work fine. Only music crashes.
 
 That's what I thought. Try the latest version, it should fix the crash
 (if not, then causality has been broken, and the laws of physics no
 longer apply)
 
I would like for music_native to be renamed music_audiere. Any thoughts?
  
   Well, I would agree, but it would be a misnomer, as audiere doesn't
   have a lot to do with music (compared to what I'm in the process of
   writing).
  
   I'm going to have it try ALSA (if I can figure out how), timidity++
   (in server mode, for proper looping), and then timidity (any,
   fallback) in that order for playing music. Really, music_native
   represents the best idiom for that platform.
 
  music_timidiere?
 
  Honestly, the name doesn't matter a whole lot. I just like the idea of a
  name that hints about what library(s) it uses. IIRC, the reason for the
  original music_native's name was that it was supposed to depend on
  nothing but windows's build-in midi subsystem, hence the native
 
 Well, TMC had the right idea: music_mike :)
 
 (I forbid you from doing that)

Actually, I like that better than any option yet :)

---
Bob the Hamster
___
ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


[Ohrrpgce] SVN: pkmnfrk/1078 Audwrap/music_native works on linux

2007-04-09 Thread subversion
pkmnfrk
2007-04-09 15:11:18 -0700 (Mon, 09 Apr 2007)
970
Audwrap/music_native works on linux

There are secrets in this world, great mysteries that cannot, nay, must not be 
revealed to mortals, lest the great technogods be forced to cleanse the earth 
of our presence for fear of their position in the heavens...

One of these mysteries is how I managed to get music_native to compile on 
linux. I fixed up audwrap, and managed to make it link to the OHR. I know not 
how, but I hope that it works for other people.

You should grab the source for audiere, compile and install it. That requires 
libogg, libvorbis and libvorbisfile which I assume everyone already has. If 
not, pop over to http://vorbis.com to get them (I, again, grabbed the source 
and compiled them; libvorbisfile comes with libvorbis, it's not a seprate 
package).

Other than that, just compile with ./makegame.sh fb native and ./makeedit.sh fb 
native, and you'll be fine.

NOTE: Midi does not work yet. I wasted all weekend just geting the stub to 
compile. :(
---
U   wip/audwrap/Makefile
U   wip/audwrap/audwrap.bi
U   wip/makeedit.sh
U   wip/makegame.sh
U   wip/music_native.bas

___
ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: pkmnfrk/1078 Audwrap/music_native works on linux

2007-04-09 Thread Bob the Hamster
On Mon, Apr 09, 2007 at 03:11:18PM -0700, [EMAIL PROTECTED] wrote:
 pkmnfrk
 2007-04-09 15:11:18 -0700 (Mon, 09 Apr 2007)
 970
 Audwrap/music_native works on linux
 
 There are secrets in this world, great mysteries that cannot, nay, must not 
 be revealed to mortals, lest the great technogods be forced to cleanse the 
 earth of our presence for fear of their position in the heavens...
 
 One of these mysteries is how I managed to get music_native to compile on 
 linux. I fixed up audwrap, and managed to make it link to the OHR. I know not 
 how, but I hope that it works for other people.
 
 You should grab the source for audiere, compile and install it. That requires 
 libogg, libvorbis and libvorbisfile which I assume everyone already has. If 
 not, pop over to http://vorbis.com to get them (I, again, grabbed the source 
 and compiled them; libvorbisfile comes with libvorbis, it's not a seprate 
 package).
 
 Other than that, just compile with ./makegame.sh fb native and ./makeedit.sh 
 fb native, and you'll be fine.
 
 NOTE: Midi does not work yet. I wasted all weekend just geting the stub to 
 compile. :(
 ---

I am able to compile and run, but when I do anything that would play 
music, it immediately crashes with a segmentation fault.

I would like for music_native to be renamed music_audiere. Any thoughts?

---
Bob the Hamster
___
ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org