Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.4 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.4 KB

Getting FileDataIDs from your Sound\ folder (Windows)

  1. muteannoyingwowsounds.lua: Run the PowerShell script from 1 level above your Sound\ folder.

    • Turn the results into a Lua table.
      (.*)\t"$1",
      Replace \ backslashes with / forward slashes (so that it matches the listfile).
  2. (optional) listfile.lua: Download the listfile from wow.tools.

    • Filter it to .ogg sounds only and turn it into a Lua table.
      ^(?!.*\.ogg.*).+$\n → (empty) stackoverflow
      .*\.meta\n → (empty)
  3. Run main.lua (Lua 5.2+)

  • Output:
    • MuteAnnoying.lua: Example addon with FDIDs (and unused sound path).
    • missing.lua: Sound paths that failed to match a FDID.
    • MuteSoundFile_soundList.lua: FDIDs you can paste into MuteSoundFile's savedvariables.

Note: I'm a novice with this stuff myself as you can see 😋