Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Fozzy on September 06, 2007, 11:31:50 am

Title: MP3 Player ?
Post by: Fozzy on September 06, 2007, 11:31:50 am
i just had an idea for the SCP,

when i play FS i like to listen to my own music on my stereo, could you incorporate an MP3 player in to the game.

i would like these features:

set the MP3 directory in the launcher
press an unused F button (any button will do) to bring up the MP3 option screen (anyware in game)
once mp3 volume and track are selected it disables the FRED/FS selected track and then, plays your MP3
it could also include playlists (saved in a FS directory) and the option to repeat one track only.
Title: Re: MP3 Player ?
Post by: karajorma on September 06, 2007, 11:55:30 am
Not gonna happen. For the same licensing restricting reasons that made us select .ogg as the the new sound format instead of .mp3.

Of course the option of a .ogg player might be possible.
Title: Re: MP3 Player ?
Post by: Topgun on September 06, 2007, 01:30:10 pm
Of course the option of a .ogg player might be possible.
that would be cool.
Title: Re: MP3 Player ?
Post by: karajorma on September 06, 2007, 01:52:23 pm
Note that I didn't say it was likely. :p
Title: Re: MP3 Player ?
Post by: Tolwyn on September 06, 2007, 02:00:41 pm
And I thought that Freespace had great music already  :confused:
Title: Re: MP3 Player ?
Post by: Mobius on September 06, 2007, 02:01:24 pm
Indeed...but it becomes boring after 10 years :P
Title: Re: MP3 Player ?
Post by: Herra Tohtori on September 06, 2007, 02:32:43 pm
You know, you could just plug an MP3-player on your Line-In plug and be done with it... ;)

...Or use a media player of your choice on the background, whichever approach works since FS2_Open isn't that processor intensive in normal conditions. If you have multi-core processor, you could even set the media player's affinity to core 2 and FS2_Open affinity to core 1... :nervous:
Title: Re: MP3 Player ?
Post by: Goober5000 on September 06, 2007, 02:51:27 pm
Herra said much the same thing, but...

What's preventing you from running FSO with the -nomusic command line, then running your own MP3 player in the background, with more skins, features, and enhancements than we would ever have the time or inclination to put in FSO?
Title: Re: MP3 Player ?
Post by: Fozzy on September 06, 2007, 04:57:44 pm
yer but that takes as lot of setting up every time you play a game and an ogg player wont, besides it might make music MODs more popular
Title: Re: MP3 Player ?
Post by: Herra Tohtori on September 06, 2007, 05:13:16 pm
It won't make "music mods" more popular.

If you want to find out just how much trouble the music system can be, go check a thread called "New music coming your way soon".

It's not just slapping a music file into a folder, and telling the game to use it... the table entries for music system seem to be rather sophisticated, because the engine doesn't just play file after file, it fades them into each other according to the situation, and the fading is timed to happen at appropriate times...


Besides, because of the fact that anyone who wants to listen their own music can already do it, I seriously doubt that anyone withing the SCP coders would want to spend their time on this kind of thing.

Everything doesn't need to be so complex and integrated. Plugging an mp3-player to Line-in Works. So does using a low-profile mp3-player, although an external player is easier to manage during missions, as you don't need to alt-tab to the player window to change files etc.

If it works, don't try to fix it. :P
Title: Re: MP3 Player ?
Post by: Goober5000 on September 06, 2007, 05:46:01 pm
yer but that takes as lot of setting up every time you play a game and an ogg player wont, besides it might make music MODs more popular
And from a coder's perspective, an in-game player will take "a lot of setting up" and an external music player won't.

I'm closing this.  It's not going to go anywhere, and it's just going to make everybody more annoyed the longer it stays open.