Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » ja2 source: music
ja2 source: music[message #101457] Tue, 22 June 2004 19:33 Go to next message
Augustus is currently offline Augustus

 
Messages:7
Registered:June 2004
Location: Spain
Hello to everybody.
I'm new to this forum (but not to Jagged Alliance Smile ).

I'm interested to do some work with sources. I've been reading the music/sound sources and I think I could port it to c++ classes. Is not very, very important, but it should be a first step to get it externalized, in order to achieve moddability.

Is it a bad idea ?
Is there any central repository ?

Report message to a moderator

Private
Re: ja2 source: music[message #101458] Tue, 29 June 2004 04:48 Go to previous messageGo to next message
jackaians is currently offline jackaians

 
Messages:45
Registered:October 2003
Location: France
hi, sorry to answer so late. I have lost my password and haven't seen the button to get it back by mail.:0
I'm also working on sound, but to use SDL and vorbis, and it seems too difficult for me. Good luck:)

Report message to a moderator

Corporal
Re: ja2 source: music[message #101459] Thu, 01 July 2004 01:19 Go to previous messageGo to next message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
are you porting JA2 to SDL?

Report message to a moderator

Sergeant 1st Class
Re: ja2 source: music[message #101460] Thu, 01 July 2004 02:14 Go to previous messageGo to next message
jackaians is currently offline jackaians

 
Messages:45
Registered:October 2003
Location: France
Just for sound, using SDL and SDL_mixer instead of miles sound system. I don't know if it's really interesting. It was just for fun, I guess.Grin(shoot me)
And it's maybe too difficult for me, or it will take some time. I'll try others things at the same time,... I promise(euhhh...), for example recruiting militia(shouldn't be so hard, maybe a little like adding a new Imp. the problem is to add a button in the UI).

Report message to a moderator

Corporal
Re: ja2 source: music[message #101461] Thu, 01 July 2004 03:21 Go to previous messageGo to next message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
have you seen fmod.org?

Report message to a moderator

Sergeant 1st Class
Re: ja2 source: music[message #101462] Thu, 01 July 2004 04:37 Go to previous messageGo to next message
jackaians is currently offline jackaians

 
Messages:45
Registered:October 2003
Location: France
Yes, I've seen a little. I've tried to play a mp3 file with it, really easy to use, open channels, streams, setvolume... etc.
But I'm not able to do comparison between these Apis. Are you interested in some of fmod's features?
The first thing I have to do is to keep the same features as the original, fading, position, streams...
then I will have to add the option to choose miles sound system and other system, and finally, externalize all the sounds.
Because it will not change the gameplay, I won't be afraid not to succeed in this.

Report message to a moderator

Corporal
Re: ja2 source: music[message #101463] Thu, 01 July 2004 12:51 Go to previous messageGo to next message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
Nothing special about it other than it was easy to use and it would be nice to switch to something that the license to use is not in question.

Report message to a moderator

Sergeant 1st Class
Re: ja2 source: music[message #101464] Thu, 15 July 2004 11:00 Go to previous messageGo to next message
actmodern is currently offline actmodern

 
Messages:9
Registered:July 2004
I can't find your e-mail address anywhere and I'm not sure how to contact you.

Is there any chance I could get the source to the SDL port for sound from you? I've finished porting the SGP to Linux under SDL except for sound.

Report message to a moderator

Private
Re: ja2 source: music[message #101465] Thu, 15 July 2004 15:42 Go to previous messageGo to next message
jackaians is currently offline jackaians

 
Messages:45
Registered:October 2003
Location: France
oups, sorry, i didn't know someone would be interested in that, and didn't really advance.
No, I haven't done anything interesting. sorry...
just tried the standard functions. Seems to be slow to load a music sample, no streaming with sdl_mixer?
I'll try to work on it today, but I know I could not be great help. Sad If I do progress I'll tell you.
i'm sometimes on msn...

Report message to a moderator

Corporal
Re: ja2 source: music[message #101466] Thu, 15 July 2004 18:30 Go to previous messageGo to next message
actmodern is currently offline actmodern

 
Messages:9
Registered:July 2004
No problem. I have zero DSP experience so I thought I'd see if anyone else has ported it. Please don't do this just because I asked. If you do make any progress please post here with a link to the source and I'll happily incorporate it into my work and credit you when I release the full port.

As for streaming I believe you can do that in software over the sdl mixer.

Report message to a moderator

Private
Re: ja2 source: music[message #101467] Thu, 15 July 2004 20:30 Go to previous messageGo to next message
defrog is currently offline defrog

 
Messages:235
Registered:March 2004
Location: Austria
you ported the video to SDL already? I was about to do that! have you tested it to assure it works?

Report message to a moderator

Sergeant 1st Class
Re: ja2 source: music[message #101468] Fri, 16 July 2004 02:37 Go to previous messageGo to next message
actmodern is currently offline actmodern

 
Messages:9
Registered:July 2004
Defrog: Yep. There are some graphical artifacts which I'm fixing now but it's mostly clear skies for the video routines. Intro/Outro movie won't play though. I can't find any Linux codecs for smacker video.

I'll sourceforge this in a couple of weeks. Starting new job Monday which will drain some of my time.

Something I won't have done, unless I grow more brain cells, is the sound port. That's all nulled out right now.

Report message to a moderator

Private
Re: ja2 source: music[message #101469] Fri, 16 July 2004 13:55 Go to previous messageGo to next message
jackaians is currently offline jackaians

 
Messages:45
Registered:October 2003
Location: France
Great work, actmodern!
for the sound, no progress today, I was a little slow because i was coding an interface to test, ( sdlmixerdemo ).
Great to see some activity in the source code forum.

Report message to a moderator

Corporal
Re: ja2 source: music[message #101470] Thu, 22 July 2004 16:14 Go to previous messageGo to next message
jackaians is currently offline jackaians

 
Messages:45
Registered:October 2003
Location: France
Hi, guys.
I'll give up for a moment. Maybe someone could help me to implement streams. Sdl mixer have one stream channel dedicated to music, but we need one more for speech. Imho we have to use threads(hellppp!!!), and my noobness says to me to forget the problem and i'll try fmod instead.

Report message to a moderator

Corporal
Re: ja2 source: music[message #101471] Sat, 24 July 2004 03:46 Go to previous message
actmodern is currently offline actmodern

 
Messages:9
Registered:July 2004
Can't you mix the audio data into one stream? I don't know enough about DSP or SDL mixer to tell you how.

Liballegro has code to do this if you want to look at it. It's another game platform. I believe they would AND the bits together to mix them.

Google for "allegro game" and you should find the website for it.

Report message to a moderator

Private
Previous Topic: A couple of strange problems. . .
Next Topic: Wish List
Goto Forum:
  


Current Time: Mon Jan 27 11:18:29 GMT+2 2025

Total time taken to generate the page: 0.01830 seconds