PDA

View Full Version : Crash when attempting to play OGG music?


oneirotekt
31st Jan 2004, 02:18 PM
I recently tried to have some music playing in a map and ran into a crash problem. I tried the same methods using a completely un-modified version of the Runtime and got the same crash, so I'm fairly certain it's nothing I changed.

I tried to get the music playing in two ways. The first was using the Audio section of the LevelInfo's properties; I typed in the name of the OGG file I wanted (no extension) and when I tried to run the map I got this crash:

General protection fault!

History: UALAudioSubsystem::RegisterSound <- UALAudioSubsystem::PlayMusic <- UObject::ProcessEvent <- (RTGameInfo musictest.RTGameInfo0, Function Runtime.RTGameInfo.PostLogin) <- ULevel::SpawnPlayActor <- MatchViewportsToActors <- (musictest) <- ClientInit <- UGameEngine::LoadMap <- LocalMapURL <- UGameEngine::Browse <- ClientTravel <- UGameEngine::Tick <- UpdateWorld <- MainLoop

I tried another method, using a MusicTrigger that gets triggered whenever the player enters the map, and got the exact same crash. I checked the code for both approaches and they both use the same function.

The OGG file itself is kosher, I even tried substituting an OGG from UT2003's \Music directory, and got the same crash.

Any ideas as to what could be wrong?

patrickrho
2nd Feb 2004, 11:36 PM
I recently tried to have some music playing in a map and ran into a crash problem. I tried the same methods using a completely un-modified version of the Runtime and got the same crash, so I'm fairly certain it's nothing I changed.

I tried to get the music playing in two ways. The first was using the Audio section of the LevelInfo's properties; I typed in the name of the OGG file I wanted (no extension) and when I tried to run the map I got this crash:



I tried another method, using a MusicTrigger that gets triggered whenever the player enters the map, and got the exact same crash. I checked the code for both approaches and they both use the same function.

The OGG file itself is kosher, I even tried substituting an OGG from UT2003's \Music directory, and got the same crash.

Any ideas as to what could be wrong?

well
The runtime's audio feature only supports .umx files and you will get an error if you try to play back ogg files. This ogg file playing back should definitely be added in the runtime, since the umx file is just like midi file, which you can't possibly, or very hard to, convert from mp3 or ogg.

I would like to know if there are other types that can be played back by the Runtime and that the new version of the runtime would support it..

When is the new runtime going to come out???

oneirotekt
3rd Feb 2004, 01:20 PM
Are you sure? UMX support was dropped fairly early on in the development of the second generation Unreal engine, and OGG support was added not long after. UT2003 and all other games using the 2nd gen engine all support OGG. I was under the impression that it was broken specifically in the runtime.

Anyone know if any Epic / UDN people read this forum, or am I just wasting my time?

patrickrho
3rd Feb 2004, 09:19 PM
Yeah, the editors are different. Also the Runtime uses UMX files instead of OGG files, which is a slight difference. Another thing is parts of the runtime are quite different.

Yes I am pretty sure that the runtime is specifically designed so that it would play back UMX files.

Vito
3rd Feb 2004, 11:19 PM
patrickrho, uh, you're wrong. UMX files are long dead.

I don't know why music is broken, but it apparently is. We'll be looking into it.

[SAS]Solid Snake
3rd Feb 2004, 11:43 PM
I think Unreal should still UMX files due to the modular format. Good MODs still compare well against any streaming playback. For example a 1 minute techno type mod will be better in a lot of cases than an OGG. Oh well... it would be nice to have both.

patrickrho
5th Feb 2004, 12:32 PM
huh?
http://forums.beyondunreal.com/showthread.php?t=120702

this post said it supports UMX instead of OGG so i thought i was correct

well i guess not

[SAS]Solid Snake
5th Feb 2004, 01:02 PM
Difference is patrickrho is that Vito speficially oversees the UnrealRuntime2 project.

oneirotekt
5th Feb 2004, 10:31 PM
patrickrho, uh, you're wrong. UMX files are long dead.

I don't know why music is broken, but it apparently is. We'll be looking into it.


Excellent, thank you very much sir!

Vito
6th Feb 2004, 07:14 AM
It's confirmed that Ogg music playback is definitely broken. Don't know why. It's on the list of things to fix. We may or may not do a bugfix release before the post-UT2004 version, but we'll know "soon."

patrickrho
7th Feb 2004, 08:03 AM
oH nice..
when will the post-UT2004 version be available?

Vito
13th Mar 2004, 12:38 PM
http://udn.epicgames.com/~vito/UE2RuntimeVorbisDLLs-22261903.zip

Install those DLLs into your Runtime's System directory, replacing the ones there, to fix music playback. Thanks to an unannounced engine licensee for confirming the problem.

oneirotekt
13th Mar 2004, 11:56 PM
Fantastic. Thanks for addressing this, everything seems to work now.

Nagshi
28th Oct 2004, 10:47 PM
Does any one know of a working link for the files metioned above it would be great to have them, thanx in advance.

Cheers.

oneirotekt
1st Nov 2004, 10:38 AM
Does any one know of a working link for the files metioned above it would be great to have them, thanx in advance.

Cheers.

Attached. Attachments to forum posts should hang around for a while, right? Hopefully everyone can grab it here.

Nagshi
1st Nov 2004, 11:45 AM
Thank you very much for taking the time to post this. It is appreciated.

Cheers

Leionaad
27th Nov 2004, 05:16 PM
I looked in the UT2k4 files some time ago and I saw there are umx's in the sounds directory, and ogg files in the music directory. hmmm. I don't even know what I am trying to point out.