Shoutbox

.plp Files - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! General (/forumdisplay.php?fid=23)
+----- Thread: .plp Files (/showthread.php?tid=42827)

.plp Files by brian on 04-15-2005 at 01:36 AM

Can you Patchou provide a basic documentation on what is contained in the plp file? I am intrested making a PHP reader for it. :) --  Don't give me every detail, just tell me what it contains, what comes first. :)


RE: .plp Files by Patchou on 04-15-2005 at 03:34 AM

Hello Brian,

many people have asked me about this by email recently so why not make the information completely public? here is the two data structs used by Messenger Plus! to create a plp file. It is provided as is and no support will be given for it.

If you create plp files, you MUST use the sound files generated by Messenger Plus! and saved in the Documents & Settings directory. You must also fill the data structure wilththe exact same information as contained inthe file (ID, category, Name, etc...). Failure to do so will result in the expulsion of the sound pack by Messenger Plus!.

Have fun :)
Patchou


//Sound Pack - File Header
struct SNDPACK_FILEHEADER
{
    char sTag[13]; // = "PLUS_SND_PACK"
    int nHeaderSize; //Starting after this variable
    int nSoundsCount;

    //SNDPACK_SOUND - sound packs, one after the other
};
#define SNDPACK_FILEHEADER_SIZE_V1 4

//Sound info block
struct SNDPACK_SOUND
{
    char sTag[3]; // = "SND"
    int nSoundInfoSize; //Starting after this variable
    __int64 nSoundID;
    int nCategory;
    int nFlags;

    char bIsNameUnicode;
    union
    {
        char sNameA[64];
        wchar_t sNameW[32];
    };

    int nSoundDataSize; //Size of the file
    //LPBYTE - sound file data - that's simply the whole mp3 file as stored by Messenger Plus! in its Data directory.
};
#define SNDPACK_SOUND_SIZE_V1 85


RE: .plp Files by CookieRevised on 05-30-2005 at 12:24 AM

Never saw this thread before, how could I miss it :O



Anyways, this is a "paper" which I created before, which explains the Messenger Plus! Sound Pack format in more detail. Since Patchou has given his go, I can put this in public thus I created a PDF out of it...

Note that I approached the file structure in a slightly different (but still logical) way. This is because at the time of writing I hadn't the info which Patchou has provided in this thread for example, nor did I had the names of structures he used, etc, etc. I wanted to find everything out on my own.

Thus, everything in the document comes from my own investigations and testing. And nothing has been changed or added in the document since I got feedback from Patchou because apparently I got it all right the first time (even the names of some variables I used are the same without knowing it :D)...

It was only later, when I finished it and showed it to Patchou that I got some feedback like the structure posted above (since I already found it out anyways :P).

So... Enjoy...

PS: I also have described the Custom Sound Format itself in detail in the same way.

-------

Please do not republish this ZIP or PDF's anywhere else without my knowledge.

EDIT (20-06-05): attachment updated with both PDF's.
EDIT (05-12-05): custom sound format PDF updated to 2nd draft (was long overdue)

The files within this archive are password protected, to get the password simply drop me a note.
(Previous version was downloaded 30 times)


RE: .plp Files by brian on 06-30-2005 at 03:25 AM

Sorry for bumping this thread, but when I found this, thanks Cookie, your post helped a lot! (not much of a c++ coder, i am =p)