xboxscene.org forums

Author Topic: How Do You Get The Mc360 Guide To Make A Sound When Opened (sounds.xml  (Read 205 times)

understood

  • Archived User
  • Newbie
  • *
  • Posts: 24

I'm looking for something like this in sounds.xml (for me, under E:\Dashboard\sounds\Xbox).  I have a custom sound I want to use but I don't know what "window name" will trigger it.  


         <window>
         <name>infodialog</name>
         <activate>guide.wav</activate>
         <deactivate>guide.wav</deactivate>
      </window>

I've looked here of course: http://www.xboxmediacenter.com/wacko/WindowList?v=2ak but didn't see anything mc360 guide specific so I dn't think it helped.
Logged

Blackbolt

  • Archived User
  • Hero Member
  • *
  • Posts: 1065
How Do You Get The Mc360 Guide To Make A Sound When Opened (sounds.xml
« Reply #1 on: January 09, 2007, 05:25:00 AM »

None will.

XBMC is extremely limited with its sound engine, unfortunatly we cant use sounds specific to windows, otherwise we would have done it already.

MC360 1.0 has a new sound scheme, very similar to the real 360, I have spent a long time sampling similar sounds and working with them in an audio program to get the right feel for mc360 and also the whole xbox 360 thing.

As soon as this is possible in XBMC expect MC360 to do it.
Logged

CHI3f

  • Archived User
  • Hero Member
  • *
  • Posts: 607
How Do You Get The Mc360 Guide To Make A Sound When Opened (sounds.xml
« Reply #2 on: January 09, 2007, 05:26:00 AM »

The guide blade is the player controls(PlayerControls.xml) or window id="114"
Logged

understood

  • Archived User
  • Newbie
  • *
  • Posts: 24
How Do You Get The Mc360 Guide To Make A Sound When Opened (sounds.xml
« Reply #3 on: January 09, 2007, 06:14:00 PM »

CHI that worked! now I have a sound when the guide blade activates and deactivates (same sound as ShutdownMenu).

I'm very grateful to both, I love the mc360 0.99 release you put out plus the myriad of themes for mc360 the community has released, and I'm definitely pumped for 1.0 (IMG:style_emoticons/default/smile.gif)
Logged

Blackbolt

  • Archived User
  • Hero Member
  • *
  • Posts: 1065
How Do You Get The Mc360 Guide To Make A Sound When Opened (sounds.xml
« Reply #4 on: January 09, 2007, 08:40:00 PM »

QUOTE(understood @ Jan 10 2007, 01:14 AM) *

CHI that worked! now I have a sound when the guide blade activates and deactivates (same sound as ShutdownMenu).

I'm very grateful to both, I love the mc360 0.99 release you put out plus the myriad of themes for mc360 the community has released, and I'm definitely pumped for 1.0 (IMG:style_emoticons/default/smile.gif)


I am SHOCKED that I didnt know this, you can guarantee MC360 1.0 will feature a FULL sound pack now, I can't believe I didnt do this already......


*runs off screaming like a mad man looking for jezz_x.......*
Logged

CHI3f

  • Archived User
  • Hero Member
  • *
  • Posts: 607
How Do You Get The Mc360 Guide To Make A Sound When Opened (sounds.xml
« Reply #5 on: January 09, 2007, 09:21:00 PM »

So I guess you guys don't want to share on how to do this so I will elaborate for anyone who wants to know.

First open up the sounds folder found in XBMC\skin\MC360\sounds\        and open up the sounds.xml file.

Next scroll down almost all the way to the bottom and you will see a section that looks like this

  <windows>
    <window>
      <name>startup</name>
      <activate>startup.wav</activate>
    </window>
      <window>
         <name>infodialog</name>
         <activate>notify.wav</activate>
         <deactivate>notify.wav</deactivate>
      </window>
  </windows>
</sounds>


All you have to do to add a sound for the guide blade is add this into it

    <window>
      <name>playercontrols</name>
      <activate>click.wav</activate>
    </window>

And now when you open the guide blade it will make the click sound. Now if you want a sound to play when the guide blade is closed you just add this little line in there

      <deactivate>back.wav</deactivate>

and the whole control should now look like this

    <window>
      <name>playercontrols</name>
      <activate>click.wav</activate>
      <deactivate>back.wav</deactivate>
    </window>

and the whole <windows> section I showed you should look like this

  <windows>
    <window>
      <name>startup</name>
      <activate>startup.wav</activate>
    </window>
      <window>
         <name>infodialog</name>
         <activate>notify.wav</activate>
         <deactivate>notify.wav</deactivate>
      </window>
    <window>
      <name>playercontrols</name>
      <activate>click.wav</activate>
      <deactivate>back.wav</deactivate>
    </window>
  </windows>
</sounds>



Now I haven't tried yet but I would imagine it works with other windows as well, so here is a list of the window names.

I hope you guys have enjoyed this crappy little tutorial, may you get as much joy out of it as blackbolt allready has.

This post has been edited by CHI3f: Jan 10 2007, 05:25 AM
Logged