Oblivion
0 of 0

File information

Last updated

Original upload

Created by

HawkleyFox and Scanti and Forli

Uploaded by

forli

Virus scan

Safe to use

179 comments

  1. forli
    forli
    • premium
    • 86 kudos
    Locked
    Sticky
    A mod has been created to use EMC2:
    Dynamic Music System, A.K.A. the main competitor of Better Music System.

    While EMC2 is the updated version of EMC, DMS is a completely new mod compared to BMS, with different features. Choose the one you like most.
    BMS (v3.0 and later versions) is compatible with EMC2.
    Older versions of BMS won't work with EMC2, so you need to downgrade to EMC.


    WARNING:
    Clean your tracks: remove all tag and album covers.
    Ensure your codecs are right.
    If you get CTD/stutters with all your music, but run fine with just the vanilla music, then the problem is withing your tracks or your codecs.

    Don't forget to uninstall the old EMC and SoundCommands.
  2. forli
    forli
    • premium
    • 86 kudos
    Sticky
    Working for version v1.3!

    Done so far:
    * Rebuild the code. The previous implementation was "everything in main.cpp". Now it's a bit better organized!
    * Optimized the code. New data structures and better functions allow faster read/write times for both Playlists and Multipliers.
    * Added new options in the ini, for more and better customizations.
    * New optional parameter for emcCreatePlaylist: "randomOrder". If 1 (by default if not specified) the order of tracks is randomic, else tracks are played in alphabetical order (you could even put track numbers in the file name to customize the order).
    * New optional parameter for emcGetAllPlaylists: "only active playlists". If 1, only return/print the active playlists.
    * New optional parameter for emcIsPlaylistActive: "music type". If set to any music type between 0 (Explore) and 4 (Battle), it checks whatever the given playlist is active for that specific music type, else (if not specified) works as before: checks whatever the playlist is active on any music type.
    * emcCreatePlaylist and emcAddPathToPlaylist can now rebuild/alter playlists even if active/playing (yes!!), and without stopping the player, EXCEPT if emcCreatePlaylist set new paths which don't contains the current playing track. In that case, the music player will stop the current track immediately and take a new one from the new paths.
    * Fixed the commands emcSetPauseTime, emcSetBattleDelay and emcSetAfterBattleDelay, as they were not correctly applying the "extra" time.
    * Removed the "EMC2 Internal" multiplier, as it was dangerous and vulnerable to conflicts. Better use a strictly personal multiplier for your mods.

    To do:
    - Further optimize the code (still in progress)...
    - New commands IsPlaying, IsPaused, IsStopped
    - <New features will be added here as I have new idea>

    Source code on GitHub: https://github.com/Forlini91/Enhanced-Music-Control-2
  3. forli
    forli
    • premium
    • 86 kudos
    Locked
    Sticky
    INI Settings:

    NOTE: min/extra value fields are simple:
    To calculate the total, EMC2 takes "Min" and sum a random value between 0 and "Extra", so:
    Total = Min + (random value between 0 and Extra)
    Of course, if you use 0 in Extra, there will be no random value, and Total is just Min.

    - MusicSpeed [float]
    this one doesn't need explanation (I hope)

    - FadeOut [float]
    - FadeIn [float]
    music fade out/in when the current playlist change, you change cell, the music is paused/stopped, etc....
    This settings define for how long it fades.

    - MinPause [float]
    - ExtraPause [float]
    when a track ends, the music player will stay silent for these seconds before playing a new track

    - MinBattleStart [float] (min: 0.5 seconds)
    - ExtraBattleStart [float]
    when battle begins, the music player will delay the battle music by these seconds, so you won't be immediately allerted of a combat situation.

    - MinBattleEnd [float]
    - ExtraBattleEnd [float]
    when battle ends, the music player will keep playing the battle music end for these seconds, so you don't know if the battle is already ended.

    - PreviousTrackRemember [float]
    when you change cell/playlist, EMC2 will remember the previous track and its position.
    If you go back to the previous cell or restore the previous playlist WITHIN these seconds, EMC2 will resume that previous track.
    If you go back etc, etc, AFTER these seconds, EMC2 will forget the previous track and pick a new one.

    - DelayTitleMusicEnd [bool]
    If this is 1, the title music will keep playing in the loading screen when loading the game (as EMC and EMC2 v1.2 or older).
    This is a bug turned to feature, because someone may like the original EMC behaviour!

    - PrintTrack [bool]
    If this is 1, any track played by EMC2 will be printed to the console, so if you hear a track but can't remember it's name, just open the console!
  4. EdMSL
    EdMSL
    • member
    • 1 kudos
    I have a problem. If I open  any chest with some gold into it, I get these warnings in the game console:
    
    And then, after several chest reopens I get CTD.

    In the game EMC log file I have these warnings:
    Command >> emcSetPlaylist >> Playlist does not exist: ""
    Command >> emcSetPlaylist >> Playlist does not exist: ""
    Command >> emcSetPlaylist >> Playlist does not exist: ""

    I have Dungeon, Public and Explore playlists.
    Any ideas?
    1. TheRomans
      TheRomans
      • premium
      • 132 kudos
      either
      A.  you somehow removed a playlist or its record, maybe with a mod
      or
      B. You previous had a mod with a custom playlist installed, and EMC thinks it is still installed and is trying to play it.
  5. demonwyrmX
    demonwyrmX
    • premium
    • 0 kudos
    Is there a way to use this to completely bypass battle music? I know I could just remove the Battle folder, but I'd like the normal soundtrack to continue to play, uninterrupted, even in combat. I know about the glitch method, which won't work for me, no matter how many times I try to make it work.
    1. MichikoUnknownFox
      MichikoUnknownFox
      • premium
      • 101 kudos
      It's been 5 years since you posted this so I dunno if you still care, but for anyone that does and since I was looking for an answer too:

      DMS, which uses and requires this mod, does have the ability to bypass battle music.
  6. Nephiah
    Nephiah
    • premium
    • 15 kudos
    Unfortunately, I can confirm the stuttering problem others are experiencing. It seems as though every few seconds, the game will skip a single frame. I was able to alleviate this somewhat with a combination of Oblivion Stutter Remover and Display Tweaks, but the problem is still there. I've done everything suggested already, like stripping tags from all my music and making sure my installed codecs are good. Curiously, the problem seems to totally go away temporarily if I turn the in-game music volume slider all the way to 0 and then back up again, but the stuttering will inevitably start again later on in the session (I assume this occurs when the playlist changes.)

    If anyone ever figures out more about what's going on here, it would be wonderful to learn more about it and try to come up with a solution.

    Regardless of this issue, I give this mod my endorsement. Using it combined with Dynamic Music System by the same author opens up a wonderful world of possibilities with adding your own playlist to various places and conditions throughout the game. I recommend it to everyone.
  7. Dead47
    Dead47
    • premium
    • 67 kudos
    Be careful, the plugin creates micro stuttering!
  8. warfaced23
    warfaced23
    • premium
    • 0 kudos
    This mod causes some micro-stuttering for some reason every few seconds. I have installed the K-Lite Codec Pack Mega and it's still stuttering. Disabling this mod fixes the stutter.
    1. Skyrimax
      Skyrimax
      • member
      • 3 kudos
      Me too.  It seemed to me it was in the graphics settings. I looked in the file "EnhancedMusicControl 2.ini" so I could not configure it. Maybe it's not about him. What causes microfreezes in the game, every 2 seconds. When the music is turned on in the game. If you delete the file EnhancedMusicControl 2.dll then you will have to turn off the Dynamic Music System.esp plugin they work together. I'll try the old versions again. So I have a regular gold edition (Not GOG - game version)
  9. Dead47
    Dead47
    • premium
    • 67 kudos
    I have music from dungeons in the city, how can I turn off the mix of tracks?
  10. Gustappo
    Gustappo
    • member
    • 1 kudos
    When starting a new game the games music keeps during the intro cinematic. Does anyone else have this problem?
    1. deleted2651253
      deleted2651253
      • account closed
      • 3 kudos
      Go to the .ini file and set DelayTitleMusicEnd to 0

      Edit: nvm
  11. TenShadows
    TenShadows
    • member
    • 1 kudos
    A lot of my custom songs won't play for some reason, in a vanilla game. Would this mod help me rectify the matter? Or would it make things worse?

    All the songs are from Nexus.
  12. albruto
    albruto
    • supporter
    • 0 kudos
    Has anyone been able to pause the music during loading screens or stop songs from starting from scratch when entering a loading screen? I have songs for the main quests that get repeated every time I enter a new interior or exterior and I'd like it to stop.

    Here's an example of a script that I use
        ; Journey to the Portal
        set DMSMain.Name to sv_Construct "Defense of Bruma PRE PRE"
        set DMSMain.Quest to sv_Construct  "MQ13"
        set DMSMain.Stages to sv_Construct "30-40"
        set DMSMain.Priority to 9999
        set DMSMain.PathNormal to sv_Construct"Data/Music/Main Quest/MQ13/Exterior/Journey to the portal/*"
        set DMSMain.IgnoreBattle to  1
        SetStage DMSMain 10

    Is there anything I can add that would keep the song playing during loading screens or at least pause so that it can continue afterwards?
    1. alexpublius
      alexpublius
      • premium
      • 35 kudos
      I have a very similar question, mostly related to music in loading screens. I've been going through the settings for EMC2 and DMS, and I think I may have a partial solution to the loading screens issue. There's a global variable for 'fade out', 'fade in', and 'delay switch', while each of those can also be used for individual ini files and playlists. What I'm thinking, is setting a fairly high global 'FadeIn' value, then adding a low (1 sec) FadeIn value to each playlist I control. That'd ensure that the global FadeIn value would only apply to specific music tracks (mainly the ones in the default folders) so I wouldn't have to deal with:
      character is outside, custom 'Explore' music playing
      click to enter a city gate
      loading screen, default 'Public' music plays
      character is in city, custom 'Public' music plays
      Or the same when entering a Dungeon, or the reverse when exiting a city or dungeon or any special cell with custom music whatsoever.

      Not really sure if or how this might work, and it'd be an awful lot of effort just to test it, but that's my best guess at this point.

      Alternately, there's a 'DelaySwitch' variable that might be useful.... I can't help but think that all of these solutions might cause more problems than they solve by messing with how the music system switches to combat music tracks. If everything is 'delay switch', then I might be halfway through fighting a Minotaur before the combat music finally switches on. Unless I can write up the combat .ini file to reduce all fade in/fade out/delay switch values back to default only for battle scenarios.... Yeesh. I wish there were an easy toggle or setting to say 'play current music during loading screens'.
  13. gravdev
    gravdev
    • member
    • 0 kudos
    So I'm not sure if the author is still reading the comments here, but I'm having the darnded issue with this plug-in.

    It's that whenever I launch the game there's a roughly 50/50 chance that the plug-in will either pick up all my music and play it, or none of it at all except, strangely, for the title theme (the debug log says that the main playlist folders are empty or invalid). It's nothing to do with my custom music, I've tried it with the vanilla music and it does the same thing.

    It's a real shame because I absolutely love this plug-in when it works and I don't want to uninstall it, despite this issue.

    I should maybe note that
    -I'm using the most up to date community fork of OBSE
    -I'm playing the GOG release of Oblivion, installed in a non-standard install location.
    -I'm playing it on an SSD, drive letter D.

    I'm not sure if those three things may be having an impact on anything.
    1. AllisterHenderson
      AllisterHenderson
      • member
      • 25 kudos
      I don't have any trouble with EMC2 myself, but Oooiii noted on his Oblivion mod guide that EMC2 did a similar thing. For myself I am still using the older OBSE from Nexus. Maybe try removing the newest community version of OBSE and try the older Nexus version..... probably not the reason, but can atleast rule out if it is caused by the updates in the community fork version of OBSE.
    2. gravdev
      gravdev
      • member
      • 0 kudos
      I figured out what the issue was. It was that I was using an ENB. For some reason ENBs make the plug-in sometimes not read the directories. It's strange, I know.
    3. AllisterHenderson
      AllisterHenderson
      • member
      • 25 kudos
      That is strange. Which ENB was it? Maybe it is only that one particular ENB, because I have been using EMC2 with Monkey ENB and haven't had a problem.