What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Add custom sound

Add custom sound
Author: Message:
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
O.P. Add custom sound
Hey,
Is there any way I can add a custom sound from my plugin? I've got a nice idea :d
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
06-20-2005 06:45 PM
Profile E-Mail PM Web Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: Add custom sound
Currently not, although you could automate the dialogs appearing etc, but it wouldnt look very nice, loads of dialogs flashing up and disappearing.

Maybe Patchou could add something in the Plugin API in the next release.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
06-20-2005 06:48 PM
Profile E-Mail PM Web Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
O.P. RE: Add custom sound
I'll PM Patchou then...
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
06-20-2005 07:35 PM
Profile E-Mail PM Web Find Quote Report
Millenium_edition
Veteran Member
*****

Avatar

Posts: 1787
Reputation: 57
Joined: Apr 2003
RE: Add custom sound
quote:
Originally posted by Juzzi
I'll PM Patchou then...
e-mail him, he barely reads pm's...
06-20-2005 07:38 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Add custom sound
quote:
Originally posted by Juzzi
Hey,
Is there any way I can add a custom sound from my plugin? I've got a nice idea :d
yes, because all you need to do is to make the nessecairy changes in the registry. No Messenger Plus! API or whatever is needed for this, simply pure programming and setting some stuff in the registry.

-----

The soundfile itself (named like #xxxxxxxxxxxx.dat) is in normal circumstances placed in C:\Documents and Settings\All Users\Application Data\Messenger Plus!\Custom Sounds\ (this directory can be different in rare occasions; and I'm not talking about the differences between OS version though).

The filename is also the Sound ID (the "xxxxxxxxxxxx" part). This Sound ID is to be placed in HKEY_CURRENT_USER\Software\Patchou\MsgPlus2\Nobody\CustSounds as a subkey if you don't have private sound libraries[*].

This subkey holds primarly 3 important values Category, Flags and Name. See CookieRevised's reply to .plp Files for more info on these.
(Update: Since Messenger Plus! 3.60 there is an extra registry value named Language)

[*] Take in account the advanced messenger Plus! registry key CustomSoundsPrivate.

-----

Personal note: If you implement something like this, please do it in the totally correct way or don't do it at all.

It is certainly not recommended to do this manually if you're not knowing exactly all the "ins", "outs" and "rules" of those registry settings. Patchou and also your plugin users wouldn't be happy if you screw something up by not implementing it correctly. Hence I don't know for sure if I should've posted all this; although much of the info _is_ available and all you need to do is bring things together and also do some seriously testing.

This post was edited on 12-06-2005 at 12:09 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-20-2005 07:40 PM
Profile PM Find Quote Report
Yousef
Full Member
***

Avatar
(previously known as Juzzi)

Posts: 487
Reputation: 19
35 / Male / Flag
Joined: Jul 2004
O.P. RE: Add custom sound
Thank you CR! You've been very helpful once again. I just missed the 'nobody' key in the registry... I'll surely keep in mind your 'Personal Note' during developing.

Edit: where can I find "Messenger Plus! - Custom Sound Format.doc"?

This post was edited on 06-20-2005 at 08:15 PM by Yousef.
Developer of BuddyFuse: Google Talk, Twitter and Hyves in Windows Live Messenger
Ex-Microsoft intern and Windows Live Developer MVP in 2007 & 2008
06-20-2005 08:07 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Add custom sound
quote:
Originally posted by CookieRevised here
PS: I also have described the Custom Sound Format itself in detail in the same way. But I still need to make a PDF out of it, blank some stuff out and need to get the approval for publication of Patchou, especially since there are some things in there which Patchou don't want to be out in public.
Since then I got the approval of Patchou, but I still need to make a PDF out of it... I'll see what I can do tonight... stay tuned...

EDIT (20-06-05): I've updated the attachment.
EDIT (05-12-05): attachment updated again

This post was edited on 12-06-2005 at 12:11 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-20-2005 08:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On