home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Personal Music under Sauerbraten

by Max of S2D [Fr] on 05/09/2006 12:42, 12 messages, last message: 05/26/2006 18:14, 2736 views, last view: 05/03/2024 18:09

Okay, i've tryed to use a MP3 file under sauer, to one of my maps. Sauerbraten can't read it !

I've understand the fanatic's music is in OGG. How convert my mp3 in an ogg file ?

   Board Index   

#1: ..

by Passa on 05/09/2006 13:35

First off, there was no need to create a new thread, also you could have tried reading the manual, its all there. Next time post this question in the General thread.

Ok, MP3s from my understanding do not play in Sauerbraten. I think they used to when it used fmod but it now uses SDL_mixer.. so you will need to download a copy of Audacity. Open your mp3s in there and export em as oggs. rename them numbers, if you have less than 15, cool, if not then you have to modify the default_map_settings. also my advice to you is, dont bother. save some hard disk space and fire up your favourite media player and play the mp3s in there. then in sauerbraten just type music into console and fanatic's music will stop playing.

reply to this message

#2: MP3s revisited

by MeatROme on 05/09/2006 18:57

Although Passa is of course absolutely right I need to add :

linux sauerbraten does play MP3s - no probs.
I've also written a Script-PAK which handles all music to be played; gives you control to skip ahead and back, change playback-method (fwd, bck, rnd) and the likes.
It also does Keyboard-Layout switching ... I wrote it for myself but have published it on quadropolis.us - http://www.quadropolis.us/node/218

So if you'd prefer to keep control over the music in sauerbraten you might try it out - but be warned : there still are a lot of limitations to this approach -
files must be reachable via a subdirectory of $sauer$/packages/ for example.
Again linux life is easy - soft-link them.

The limit of "15" Passa mentions is just due to the "playasong" alias - see default_map_settings.cfg and adapt to include your files.

concept:
alias song_names "file1 file2 file3"
alias playasong [
alias tix (+ 1(rnd 18))
if (< $tix 16) [
concatword "fanatic/" $tix ".ogg"
music $s playasong
] [
alias myx (- 15 $tix)
at $song_names $myx
concatword "mysongs/" $s ".ogg"
music $s playasong
]
]

HTH

reply to this message

#3: Re: MP3s revisited

by MeatROme on 05/09/2006 21:17, refers to #2

there's an index error in my code.
c if u can find it ... :-P

reply to this message

#4: ..

by Max of S2D [Fr] on 05/10/2006 14:09

Erm, i want use a personal music for a map ! with in the cfg something like that:
music cubefr/music_map.ogg !

-_-' I have audacity ! And i've never noticed "export in ogg" lol !

Thanks :D

reply to this message

#5: 9 MB

by Max of S2D [Fr] on 05/11/2006 17:29

Ahem, my music of 4 minutes is a bit heavy... 9 mb !

How can i make the encodage flux (kbps = 64 ?)lower ?

reply to this message

#6: Re: 9 MB

by Passa on 05/11/2006 23:08, refers to #5

Open Audacity, then go Edit>Preferences>File Format tab and look at the middle of the dialog. It will have the OGG Export Quality. The default is 5, change it to 3 or 2.

reply to this message

#7: ..

by Max of S2D [Fr] on 05/13/2006 15:17

Okay, thanks :)

reply to this message

#8: Can't play

by Max of S2D [Fr] on 05/17/2006 14:40

Sauer cannot play the OGG
I've write in the CFG

music base/music_maxisland2.ogg

"can't play packages/base/music_maxisland2.ogg"

=_=

reply to this message

#9: ..

by Max of S2D [Fr] on 05/17/2006 14:46

Duno why, it work now XD

reply to this message

#10: Re: ..

by CC_machine4 on 05/17/2006 23:41, refers to #9

lol

reply to this message

#11: help me plz

by XXXDivine-7-devilXXX on 05/26/2006 17:16

ok wow this a lot of computer talk and I dont know much of it.Ok i really am new to this game first of all,how do I make a new multiplayer room or ""Browser""?and second I do not have an MP3 bt can I open up limewire(where you download music from internet)and some how transfer the music there in to my multiplayer rooom?

reply to this message

#12: Re: help me plz

by Pxtl on 05/26/2006 18:14, refers to #11

1) Do you want to serve/start a new game or just join? I don't understand.

2) No, there is currently no way to import MP3s into the game. Just turn off the must in Sauer and run your player at the same time.

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53862619 visitors requested 71637711 pages
page created in 0.010 seconds using 10 queries
hosted by Boost Digital