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