1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Crash when attempting to play OGG music?

Discussion in 'General Discussion' started by oneirotekt, Jan 31, 2004.

  1. oneirotekt

    oneirotekt New Member

    Joined:
    Aug 24, 2003
    Messages:
    59
    Likes Received:
    0
    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?
     
  2. patrickrho

    patrickrho New Member

    Joined:
    Oct 31, 2003
    Messages:
    24
    Likes Received:
    0
    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???
     
  3. oneirotekt

    oneirotekt New Member

    Joined:
    Aug 24, 2003
    Messages:
    59
    Likes Received:
    0
    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?
     
  4. patrickrho

    patrickrho New Member

    Joined:
    Oct 31, 2003
    Messages:
    24
    Likes Received:
    0
    Yes I am pretty sure that the runtime is specifically designed so that it would play back UMX files.
     
  5. Vito

    Vito New Member

    Joined:
    Mar 18, 2002
    Messages:
    143
    Likes Received:
    0
    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.
     
  6. [SAS]Solid Snake

    [SAS]Solid Snake New Member

    Joined:
    Jun 7, 2002
    Messages:
    2,633
    Likes Received:
    0
    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.
     
  7. patrickrho

    patrickrho New Member

    Joined:
    Oct 31, 2003
    Messages:
    24
    Likes Received:
    0
  8. [SAS]Solid Snake

    [SAS]Solid Snake New Member

    Joined:
    Jun 7, 2002
    Messages:
    2,633
    Likes Received:
    0
    Difference is patrickrho is that Vito speficially oversees the UnrealRuntime2 project.
     
  9. oneirotekt

    oneirotekt New Member

    Joined:
    Aug 24, 2003
    Messages:
    59
    Likes Received:
    0

    Excellent, thank you very much sir!
     
  10. Vito

    Vito New Member

    Joined:
    Mar 18, 2002
    Messages:
    143
    Likes Received:
    0
    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."
     
  11. patrickrho

    patrickrho New Member

    Joined:
    Oct 31, 2003
    Messages:
    24
    Likes Received:
    0
    oH nice..
    when will the post-UT2004 version be available?
     
  12. Vito

    Vito New Member

    Joined:
    Mar 18, 2002
    Messages:
    143
    Likes Received:
    0
  13. oneirotekt

    oneirotekt New Member

    Joined:
    Aug 24, 2003
    Messages:
    59
    Likes Received:
    0
    Fantastic. Thanks for addressing this, everything seems to work now.
     
  14. Nagshi

    Nagshi New Member

    Joined:
    Oct 28, 2004
    Messages:
    2
    Likes Received:
    0
    dead link

    Does any one know of a working link for the files metioned above it would be great to have them, thanx in advance.

    Cheers.
     
  15. oneirotekt

    oneirotekt New Member

    Joined:
    Aug 24, 2003
    Messages:
    59
    Likes Received:
    0
    Attached. Attachments to forum posts should hang around for a while, right? Hopefully everyone can grab it here.
     

    Attached Files:

  16. Nagshi

    Nagshi New Member

    Joined:
    Oct 28, 2004
    Messages:
    2
    Likes Received:
    0
    Thank you for the fix

    Thank you very much for taking the time to post this. It is appreciated.

    Cheers
     
  17. Leionaad

    Leionaad New Member

    Joined:
    Jul 12, 2004
    Messages:
    11
    Likes Received:
    0
    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.
     

Share This Page