Ogg music

Dedicated to the discussion of OTP and Deus Ex in general.

Moderators: Master_Kale, TNM Team

Post Reply
Morpheus
X-51
Posts: 967
Joined: Thu Jan 27, 2005 9:56 am
Location: A planet near mars

Ogg music

Post by Morpheus »

I was wanting to know if I could use ogg files in my mod instead of umx. If so what would I need to use ogg files and who would I make credit out to? I wanted to use the same system as TNM used for ogg files if that was ok. I'll give full credit for using it if I just know how to go about using it.
My nature videos: http://www.youtube.com/user/DynamixWarePro
My whistle/flute videos (and some other videos): http://www.youtube.com/user/DXMorpheus
that guy
The Nameless Mod
The Nameless Mod
Posts: 1312
Joined: Mon Apr 26, 2004 1:54 am
Location: Perth, Western Australia

Re: Ogg music

Post by that guy »

Theres a package in the tnm install called dxogg. Thats the basic ogg player written by Jim. We've made a few minor modifications in our tnm version (like the stereo, alternative ambient tracks and pausing for cinematics) which is based on that but that should include everything you need.
Morpheus
X-51
Posts: 967
Joined: Thu Jan 27, 2005 9:56 am
Location: A planet near mars

Re: Ogg music

Post by Morpheus »

Thanks, I have put one in my map but I don't know how to set the properties to the ogg file, I typed the name of the ogg file on the ambient and it won't play, what do you do?

I am getting error "DXOgg: Error - Either could not find or could not open Ogg File: '..\Music\Ogg\Western_Comfort'" and the music is in my MPHS_Cowboy\Music folder
My nature videos: http://www.youtube.com/user/DynamixWarePro
My whistle/flute videos (and some other videos): http://www.youtube.com/user/DXMorpheus
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Re: Ogg music

Post by Jonas »

Morpheus wrote:I am getting error "DXOgg: Error - Either could not find or could not open Ogg File: '..\Music\Ogg\Western_Comfort'" and the music is in my MPHS_Cowboy\Music folder
Looks like you forgot the part I've highlighted.
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
Morpheus
X-51
Posts: 967
Joined: Thu Jan 27, 2005 9:56 am
Location: A planet near mars

Re: Ogg music

Post by Morpheus »

I am not sure I get it, but I have the two ogg files I want, they are in my custom folder MPHS_Cowboy/Music like the TNM/Music folder has ogg files. I even put the extension .ogg for the file on default properties, but still getting the error, sotty but I am kinda a n00b at this. Do I need to put the file extension example ..\Music\Ogg\Western_Comfort on the properties instead of just the name of the file?
My nature videos: http://www.youtube.com/user/DynamixWarePro
My whistle/flute videos (and some other videos): http://www.youtube.com/user/DXMorpheus
User avatar
Trestkon
Off Topic Productions
Off Topic Productions
Posts: 2820
Joined: Sat Apr 24, 2004 9:03 pm
Location: Canada
Contact:

Re: Ogg music

Post by Trestkon »

Morpheus wrote:I am not sure I get it, but I have the two ogg files I want, they are in my custom folder MPHS_Cowboy/Music like the TNM/Music folder has ogg files. I even put the extension .ogg for the file on default properties, but still getting the error, sotty but I am kinda a n00b at this. Do I need to put the file extension example ..\Music\Ogg\Western_Comfort on the properties instead of just the name of the file?
The files needs to be in MPHS_Cowboy\Music\Ogg\FILEGOESHERE
-Life does not snap to the x-axis
Morpheus
X-51
Posts: 967
Joined: Thu Jan 27, 2005 9:56 am
Location: A planet near mars

Re: Ogg music

Post by Morpheus »

I done what you said, but I am still getting same error. I thought it was something wrong with how I created the ogg file, so I copied a TNM ogg file to my music/ogg folder and put it as a ambient music, but it still gave same error. I put this:

Paths=..\MPHS_Cowboy\Music\Ogg\

in DeusEx.ini, but still nothing
My nature videos: http://www.youtube.com/user/DynamixWarePro
My whistle/flute videos (and some other videos): http://www.youtube.com/user/DXMorpheus
User avatar
Jim
Off Topic Productions
Off Topic Productions
Posts: 301
Joined: Thu Apr 29, 2004 10:12 pm
Contact:

Re: Ogg music

Post by Jim »

you're missing the .ogg aren't you?
I exist within the power lines...for some odd reason.
Morpheus
X-51
Posts: 967
Joined: Thu Jan 27, 2005 9:56 am
Location: A planet near mars

Re: Ogg music

Post by Morpheus »

I know it can't be hard to do this, but here is what I have done:

I put the DXOgg in my map. Put the name Western_Comfort.ogg as ambient under defaultproperties. I had the Western_Comfort.ogg in my MPHS_Cowboy/Music/Ogg/ file and put the line Paths=..\MPHS_Cowboy\Music\Ogg\ in my DeusEx.ini and EditPackages=DXOgg but when I try and run map, it just says "DXOgg: Error - Either could not find or could not open Ogg File: '..\Music\Ogg\Western_Comfort'.ogg"
My nature videos: http://www.youtube.com/user/DynamixWarePro
My whistle/flute videos (and some other videos): http://www.youtube.com/user/DXMorpheus
User avatar
Jim
Off Topic Productions
Off Topic Productions
Posts: 301
Joined: Thu Apr 29, 2004 10:12 pm
Contact:

Re: Ogg music

Post by Jim »

EDIT - Oh, I see what you're doing wrong. You're using Paths instead of OggPath. you have to use OggPath to set the ogg directory path. otherwise it defaults to ..\Music\Ogg (DeusEx\Music\Ogg)

so you want to do: OggPath=..\MPHS_Cowboy\Music\Ogg\

btw, if you want help in real time come into #dxediting on starchat or press the MSN button to contact me by MSN. Just say my name in IRC to get my attention :P
I exist within the power lines...for some odd reason.
Morpheus
X-51
Posts: 967
Joined: Thu Jan 27, 2005 9:56 am
Location: A planet near mars

Re: Ogg music

Post by Morpheus »

Thanks, that worked, now how would I get it to recognise my music folder and not Deus Ex\Music\Ogg? And next time I'll do as you said if I need advice fast.
My nature videos: http://www.youtube.com/user/DynamixWarePro
My whistle/flute videos (and some other videos): http://www.youtube.com/user/DXMorpheus
User avatar
Jim
Off Topic Productions
Off Topic Productions
Posts: 301
Joined: Thu Apr 29, 2004 10:12 pm
Contact:

Re: Ogg music

Post by Jim »

sorry you replied -just- before I edited my last post, I think that should fix your problem
I exist within the power lines...for some odd reason.
Morpheus
X-51
Posts: 967
Joined: Thu Jan 27, 2005 9:56 am
Location: A planet near mars

Re: Ogg music

Post by Morpheus »

Whoops, cheers anyway, I'll give full credit for using this. If I had this a long time ago, things would be easier, but still a good implementation
My nature videos: http://www.youtube.com/user/DynamixWarePro
My whistle/flute videos (and some other videos): http://www.youtube.com/user/DXMorpheus
Post Reply