Duke4.net Forums: some questions about the music command - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

some questions about the music command

#1

as always im having problems with the games background music >.>
after noticing the music <num> <x1> <x2> <3> <4> <5> <6> <7> <8> <etc> i wanted to try it myself. after many failures i went to the user.con file and tried to change the music 0 GRABBAG.MID BRIEFING.MID so that it would be 2 other .mid files. this should change the intro music when you start your duke game. it actually worked. i used the fatbmdr.mid sound because thats my favorite music in this game ^^ then after that i tried to change the intro music from fatcmdr.mid to stalker.ogg that did not work. so i was thinking that it cant play .ogg sounds for some reason. can anyone confirm this? and can someone tell me if its possible to convert any sound type into a .mid file?
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#2

You can't put OGG files in the CON file. You have to make a DEF file for that. There are instructions on the EDuke32 wiki.

And short answer, no it's no possible to convert a digital audio file (WAV, MP3, OGG, etc) into a MIDI. Absolutely impossible. At least for the results you're looking for. But you don't need to because EDuke32 is perfectly capable of playing back OGG files.

This post has been edited by MusicallyInspired: 08 November 2010 - 08:57 PM

0

#3

Didn't someone already create updated Duke3D music for Eduke32?
0

#4

View PostMusicallyInspired, on Nov 9 2010, 06:56 AM, said:

You can't put OGG files in the CON file.


I do this all the time. For background music and sound effects, and it works perfectly.
0

#5

yes ive been replacing the music command with a soundonce trick that kept playing my music file over and over when i were in a specific sector. and i were only using .ogg files. so i dont really see what you mean musicallyinspired
0

User is offline   CruX 

#6

The game can play ogg sounds and music. And, like Insane Metalhead pointed out, you don't even need to have a def file included.
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#7

If you changed fatcmdr.mid to stalker.ogg and the file "stalker.ogg" is in the main directory it should work.
Other wise you could either
A. Have stalker.ogg in a differnt directory that the con can't see it, in which case you need to define that.
For example this is the music list for my mod so far.
// Music for title and end
music 0 RA/RA_data/Music/menu.ogg BRIEFING.MID

// Music for the individual levels
music 1 RA/RA_data/Music/null.ogg
		RA/RA_data/Music/hell_march.ogg 
		RA/RA_data/Music/crush_remix.ogg 
		RA/RA_data/Music/no_mercy_98.ogg 
		RA/RA_data/Music/act_on_instinct_remix.ogg 
		RA/RA_data/Music/mechanical_man.ogg
		RA/RA_data/Music/radio_remix.ogg
		RA/RA_data/Music/twin_cannon.ogg
		dethtoll.mid 
		streets.mid 
		watrwld1.mid

Or B
The file "stalker.ogg" is encoded wrong.
0

#8

the stalker.ogg file is just a file that i use for test to see if it would work now that my .ogg file didnt work. it is kind of weird that stalker is the only .ogg file right?
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#9

You haven't just renamed some midi or mp3 to .ogg and expected that work have you?
0

#10

are you saying that i am the problem here?
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#11

I am bailing from this thread now.
0

#12

View PostThe Commander, on Nov 9 2010, 09:40 PM, said:

I am bailing from this thread now.

so you dont know the answer?
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#13

View PostJhect, on Nov 10 2010, 09:49 AM, said:

so you dont know the answer?

No I am saying that you don't seem to provide simple answers to simple questions and proceed to answer them with another question.
0

#14

ask the question agaiin then
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#15

Ok, I will ask something more simple.

Where did you get the file "stalker.ogg" from and has it worked in game before?
0

#16

View PostThe Commander, on Nov 9 2010, 10:05 PM, said:

Ok, I will ask something more simple.

Where did you get the file "stalker.ogg" from and has it worked in game before?

... the file stalker is already in the game. its the music for the first level. the weird thing is that it is the only .ogg that i can see. you can see that in the user.con i dont know what type the other sounds are. so i did not download stalker.ogg or anything. so ofcourse it works.
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#17

Unless you have downloaded some sort of high res music pack there is no such file as "stalker.ogg"
You are trying to tell the USER.CON to load a file that does not exist, the original file name is "stalker.mid" which is inside the DUKE3D.GRP

Mind posting the eduke32.log?

This post has been edited by The Commander: 09 November 2010 - 01:12 PM

0

#18

ohh now i understand what you mean. and i were making a mistake. i saw in the user.con that it was defined as music 1 stalker.ogg but was obviously not used >.> with with stalker.mid instead of stalker.ogg it works. but this is not the problem...
the problem is that im going to make it work with .ogg files. so im gonna work at that
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#19

Sorry for being wrong, guys.

If you want it to work with OGG files you need to have an OGG file to work with. Find an OGG file. Or convert a WAV or MP3 to OGG and use it (you'll need OGGDropXPD or something similar for that).

This post has been edited by MusicallyInspired: 09 November 2010 - 03:14 PM

0

#20

View PostMusicallyInspired, on Nov 10 2010, 12:13 AM, said:

Sorry for being wrong, guys.

If you want it to work with OGG files you need to have an OGG file to work with. Find an OGG file. Or convert a WAV or MP3 to OGG and use it (you'll need OGGDropXPD or something similar for that).


hmm ok but i dont understand what you mean :S to make it work with ogg files i need to have an ogg file... ogg files does work, just not with the music command. the reason why this confuses me is because of this:
http://wiki.eduke32.com/wiki/Music
says it is possible with MIDI and OGG..... how the hell did he get that working lol
0

#21

When you use number 0 it's used for the title screen:

music 0 grabbag.mid briefing.mid

(grabbag.mid is the title screen music)

Numbers higher than 0 are used for the episodes, music 1 (episode 1), music 2 (episode 2):

Episode 1:

music 1 *.mid *.mid (you have to replace the stars with the filenames of the music files that are in the main directory.)

The first *.mid is the first level of THAT episode, the second *.mid is the second level of that episode, etc.

Get it?
So now, you can also choose for OGG music. Just put your OGG file in the main directory, like that stalker.ogg file and rename the MID to OGG (IN YOUR USER.CON)
BE SURE you got the OGG file from a website, Duke3d Highres Music Pack or converted it from a WAV file or MP3 just like MusicallyInspired told you.
DON'T RENAME A MID, MP3, WAV, etc. file to OGG. IT WON'T WORK!

I hope this helps you out a bit and otherwise post your eduke32.log file that would help us a lot :blink:

This post has been edited by insane_metalhead: 09 November 2010 - 04:38 PM

0

#22

ok since nobody seemed to understand my problems i figured it out myself :blink: dont remember tested back when i did that some weeks ago. but it seems that i made a mistake with the directories compared to my .con file >.> all is working now. it even doesnt matter if i call the file .ogg or .mid which i dont understand since it is a .ogg file. but that really doesnt matter lol.
anyway as always. sorry for the not so perfect english ^^ i even confuse myself haha.
and no the log wouldnt help here :blink:
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#23

That's great and I know you got it figured out but I still don't understand something. Is there an OGG file in your folder?
0

#24

View PostMusicallyInspired, on Nov 10 2010, 05:16 AM, said:

That's great and I know you got it figured out but I still don't understand something. Is there an OGG file in your folder?


yea :blink: all of my sounds are .wav but all of the music files are .ogg i got confused because i waited too much to fix something that i had problems with. so i forgot what i had tested hehe. so i thought that it was because there was something wrong with .ogg files and the music command. but there isnt :blink:
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options