Thread Tools Display Modes
04/19/14, 10:47 PM   #1
Faustus
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 18
Custom Music

Would it be possible to develop an addon that enables you to play custom music in certain zones, similar to previous Elder Scroll games?

Similar to this:

http://www.curse.com/addons/wow/soundtrack

Would be cool to play ES music from past games in ESO according to certain zones. For example, playing some morrowind music in morrowind zones, or Skyrim music in the Skyrim zones.

Thanks

Last edited by Faustus : 04/19/14 at 10:51 PM.
  Reply With Quote
04/20/14, 07:55 AM   #2
Stormknight
 
Stormknight's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 128
The play sound API seems to be restricted to only playing sounds that are built into the game.
  Reply With Quote
04/20/14, 02:03 PM   #3
Sceles
Join Date: Apr 2014
Posts: 7
Originally Posted by Stormknight View Post
The play sound API seems to be restricted to only playing sounds that are built into the game.
Wouldn't it be possible to have some external application read game information from API files and communicate with a media player? AFAIK APIs can already save their own files and detect zone changes, combat, and other events that could be used as triggers. I'm no coder, but that doesn't sound too hard to make.
  Reply With Quote
04/20/14, 02:19 PM   #4
BadVolt
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 74
Originally Posted by Sceles View Post
Wouldn't it be possible to have some external application read game information from API files and communicate with a media player? AFAIK APIs can already save their own files and detect zone changes, combat, and other events that could be used as triggers. I'm no coder, but that doesn't sound too hard to make.
Sure. You will just have to:
1) sniff game packets
2) decode game packet
3) learn how to manipulate packets
4) manipulate packets
5) write a programm that will communicate with both MP and "API files"
6) get banned for that

OR just run your favorite player and turn off game music.
  Reply With Quote
04/20/14, 03:03 PM   #5
Sceles
Join Date: Apr 2014
Posts: 7
Originally Posted by BadVolt View Post
Sure. You will just have to:
1) sniff game packets
2) decode game packet
3) learn how to manipulate packets
4) manipulate packets
5) write a programm that will communicate with both MP and "API files"
6) get banned for that

OR just run your favorite player and turn off game music.
I don't think you understood me.

I meant that you would have:
1. addon that detects zone changes and other things I said and saves them.
2. program that keeps track of that data and reads it when there are changes to it(or just checks it every second) and tells a media player to play a specific track.

This would not require any sniffing.
  Reply With Quote
04/20/14, 03:08 PM   #6
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Sceles View Post
I don't think you understood me.

I meant that you would have:
1. addon that detects zone changes and other things I said and saves them.
2. program that keeps track of that data and reads it when there are changes to it(or just checks it every second) and tells a media player to play a specific track.

This would not require any sniffing.
Its not that easy. You can save data to saved variables, but it is actually written to the disk only when you reload UI or logout from the game.
  Reply With Quote
04/20/14, 03:28 PM   #7
BadVolt
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 74
Originally Posted by Sceles View Post
I don't think you understood me.

I meant that you would have:
1. addon that detects zone changes and other things I said and saves them.
2. program that keeps track of that data and reads it when there are changes to it(or just checks it every second) and tells a media player to play a specific track.

This would not require any sniffing.
Garkin take my point. You can't manipuate ingame data realtime without manipulating packtes first. Data is exposed only after /reloadui or relog.
  Reply With Quote
04/20/14, 03:41 PM   #8
Sceles
Join Date: Apr 2014
Posts: 7
Originally Posted by Garkin View Post
Its not that easy. You can save data to saved variables, but it is actually written to the disk only when you reload UI or logout from the game.
I sort of thought that it might be that way. :/

It would still be nice to have some addon that plays in-game music based on where you are and what you're doing. Same way it worked in Oblivion and Skyrim, combat had louder and darker music. Or could it be that addons can interact with only effects and other sounds?
  Reply With Quote
04/20/14, 03:47 PM   #9
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
The only sounds I have seen in the files are for spell effects and the UI, iirc.
  Reply With Quote
04/20/14, 09:35 PM   #10
Faustus
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 18
Originally Posted by BadVolt View Post
OR just run your favorite player and turn off game music.
Was going to do this but two issues:

1. Since I want to include ESO music in my playlist, two problems: 1. With the ESO soundtrack, it's not as simple as 1 track per zone. Apparently they did some randomly generated type composition so it's not always the same. 2. Ignoring #1, I still don't know which tracks apply to where in the ESO soundtrack. I can guess some of them by the track title, but others I'm not sure of.

2. Music won't change automatically when changing zones. For example, when entering a dungeon. Would be annoying to always swap playlists.

Last edited by Faustus : 04/20/14 at 09:38 PM.
  Reply With Quote
04/23/15, 03:41 AM   #11
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
try this

http://www.esoui.com/forums/showthread.php?t=4496
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Custom Music

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off