+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Junior Member Online status: PhiltheHorror is offline Reputation: PhiltheHorror the Neutral
    Join Date
    May 2012
    Posts
    1

    SOUNDTRACK: How does one Modify/Customize? Anyone?

    Soooooo,
    I'm trying to find a way to customize the in-game soundtrack to suit my taste. Not that the music isn't epic and all that, but the OST from the movies would be a great fit for me if I can some how customize the playlist in the game.

    Does anyone know how to:
    a. Insert new in-game music files (i.e. path/file type/etc.)
    b. Modify the script to cue certain songs at given times (notice the current in game soundtrack is cohesive with what is happening at a given moment in the game.)

    Maybe one of you programming genius' can write a nice plug-in to do this for us.

    Any feedback would be greatly appreciated!

    -Phil

  2. #2
    Senior Member Online status: Moejo is offline Reputation: Moejo the Wary Moejo the Wary Moejo the Wary Moejo the Wary
    Join Date
    Jul 2011
    Location
    The Shire
    Posts
    691
    I don't know if it's possible, but if it is, all my in-combat music is getting replaced with loud angry guitars. I have a feeling though that if it could be done, it would've been already.

  3. #3
    Join Date
    Jul 2008
    Posts
    3,192
    The in-game background music can't be modified. In addition, there is no API for Lua plugins to play sounds.
    Founder of the Better Biscuit Bureau, 4 Brookbank Street, Bannockbury, Brandywine.

  4. #4
    Grand Member Online status: PerfectApproach is offline Reputation: PerfectApproach the Neophyte PerfectApproach the Neophyte PerfectApproach the Neophyte PerfectApproach the Neophyte PerfectApproach the Neophyte PerfectApproach the Neophyte PerfectApproach the Neophyte PerfectApproach the Neophyte
    Join Date
    Nov 2008
    Location
    Lothlorien
    Posts
    1,097
    Quote Originally Posted by PhiltheHorror View Post
    Soooooo,
    I'm trying to find a way to customize the in-game soundtrack to suit my taste. Not that the music isn't epic and all that, but the OST from the movies would be a great fit for me if I can some how customize the playlist in the game.

    Does anyone know how to:
    a. Insert new in-game music files (i.e. path/file type/etc.)
    b. Modify the script to cue certain songs at given times (notice the current in game soundtrack is cohesive with what is happening at a given moment in the game.)

    Maybe one of you programming genius' can write a nice plug-in to do this for us.

    Any feedback would be greatly appreciated!

    -Phil
    I have successfully extracted all in-game sounds from the client_sounds.dat file (including all background effects, skill effects, landscape effects, and music). They are all Ogg-Vorbis sounds. They are uncompressed, except for the Ogg encapsulation. Unfortunately, unpacking is currently a one-way operation. The sound files do not appear to be indexed upon extraction, so they are given surrogate names as they come out. Without knowing how they are indexed, it is not currently possible to re-pack them.

    Turbine uses a specific program to pack the files, and the game engine uses some as-yet-undiscovered method of "playing" each sound/song when triggered. This involves the use of some as-yet-undiscovered index. If I can ever find this index, I may be able to find a way to repack the file. Turbine probably frowns on hacking their game files and re-inserting them into the live game, so I probably won't put too much effort into this task. I extracted the sound files purely for the purpose of listening to the soundtrack outside the game (my wife finds some of the sounds to make a good lullaby), and due to copyright issues, Turbine probably frowns on that too.

    So, the short answer is, it is not currently possible by anyone except the audio production team at Turbine.

    WRT LUA: LUA currently doesn't have access to anything except an API that Turbine specifically built for LUA. I'm not even sure if LUA has access to the DirectX/DirectShow API. In other words, LUA lives inside a sandbox that is carefully designed to prevent it from making any "unintended" changes to gameplay.


    While you burn at the stake, I dance with the flames. I take what you love and leave you in tears. I am relentless, unpredictable, and waiting for your last breath.

  5. #5
    Junior Member Online status: lidhwin is offline Reputation: lidhwin the Neutral
    Join Date
    Sep 2011
    Posts
    1
    Quote Originally Posted by PerfectApproach View Post
    I have successfully extracted all in-game sounds from the client_sounds.dat file (including all background effects, skill effects, landscape effects, and music). They are all Ogg-Vorbis sounds. They are uncompressed, except for the Ogg encapsulation. Unfortunately, unpacking is currently a one-way operation. The sound files do not appear to be indexed upon extraction, so they are given surrogate names as they come out. Without knowing how they are indexed, it is not currently possible to re-pack them.

    Turbine uses a specific program to pack the files, and the game engine uses some as-yet-undiscovered method of "playing" each sound/song when triggered. This involves the use of some as-yet-undiscovered index. If I can ever find this index, I may be able to find a way to repack the file. Turbine probably frowns on hacking their game files and re-inserting them into the live game, so I probably won't put too much effort into this task. I extracted the sound files purely for the purpose of listening to the soundtrack outside the game (my wife finds some of the sounds to make a good lullaby), and due to copyright issues, Turbine probably frowns on that too.

    So, the short answer is, it is not currently possible by anyone except the audio production team at Turbine.

    WRT LUA: LUA currently doesn't have access to anything except an API that Turbine specifically built for LUA. I'm not even sure if LUA has access to the DirectX/DirectShow API. In other words, LUA lives inside a sandbox that is carefully designed to prevent it from making any "unintended" changes to gameplay.
    hi ,

    you said you have the ogg files,
    they can de used in minecraft,
    looks like fun, lotro mmusic in minecraft.

    martijn

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts