What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Smiley Saver?

Pages: (2): « First [ 1 ] 2 » Last »
Smiley Saver?
Author: Message:
BunnY_
New Member
*


Posts: 10
Joined: Jun 2006
O.P. Smiley Saver?
Is it possible to make a script that saves all your smileys as *.gif files (or w.e)
i would appreciate that very much because im planning to reinstall windows and then all of my smileys will be lost :O :(:(
08-01-2006 07:51 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: Smiley Saver?
I make a little C++ script to copy all smileys ( .dat files ) to a folder "huhu" ( in the exe path ). It works only on win xp.

Just compil it.

code:
#include <dirent.h>
#include <fstream.h>
#include <sstream>

std::string stringify(int x){
   std::ostringstream p;
   p << x;
   return p.str();
}

std::string getHomePath(){
    system("mkdir huhu");
    system("echo %HOMEDRIVE%%HOMEPATH%\\Application Data\\Microsoft\\MSN Messenger>tmp.dat");
    std::string line;
    ifstream file( "tmp.dat" );
    getline( file, line );
    file.close();
    system("del tmp.dat");
    return line;
}

int main(){
DIR *pdir;
struct dirent *pent;
int i=1;
std::string homepath=getHomePath();
pdir=opendir(homepath.c_str());
if (!pdir)exit(1);
while ((pent=readdir(pdir))){
     std::string dd = pent->d_name;
     std::string url = homepath+"\\"+dd+"\\CustomEmoticons";
     if(opendir(url.c_str())){
        std::string com = "copy \""+url+"\\*.dat\" \"huhu\\"+stringify(i)+"_*.gif\"";
        system(com.c_str());
        com = "del \"huhu\\"+stringify(i)+"_.gif\"";
        system(com.c_str());
     }
     i++;
}
closedir(pdir);
exit(0);
}

But i think there's already a script for msg plus, backup extrem ^o)


EDIT : smileys....

This post was edited on 08-01-2006 at 08:35 PM by Huhu_Manix.
08-01-2006 08:34 PM
Profile E-Mail PM Web Find Quote Report
BunnY_
New Member
*


Posts: 10
Joined: Jun 2006
O.P. RE: Smiley Saver?
ehm.... and.. how do i use that code? :P

there is still a lot of smileys in the post..
08-01-2006 08:54 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: Smiley Saver?
Nevermind...

> http://www.msgpluslive.net/scripts/browse/index.php?act=view&id=106
08-01-2006 09:15 PM
Profile E-Mail PM Web Find Quote Report
BunnY_
New Member
*


Posts: 10
Joined: Jun 2006
O.P. RE: Smiley Saver?
Thx :D

Edit:
It doesnt save smileys :(:( it only saves settings, chat logs (that is really easy to do on your own) and custom sounds.. :/

This post was edited on 08-01-2006 at 09:51 PM by BunnY_.
08-01-2006 09:42 PM
Profile E-Mail PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: Smiley Saver?
Alright, you don't know how to compile my C++ script so i give you the EXE file.

Launch it, it'll create a batch wich copy all your smiley on a new folder.

.zip File Attachment: huhu smiley backup.zip (138.3 KB)
This file has been downloaded 195 time(s).
08-01-2006 10:40 PM
Profile E-Mail PM Web Find Quote Report
BunnY_
New Member
*


Posts: 10
Joined: Jun 2006
O.P. RE: Smiley Saver?
Thx a LOT :D
08-01-2006 11:22 PM
Profile E-Mail PM Find Quote Report
ombadboy
Junior Member
**


Posts: 30
Joined: Jun 2006
RE: Smiley Saver?
and is there a way to automatically install em back to MSN than havin to add em manually?
08-02-2006 12:20 AM
Profile PM Find Quote Report
BunnY_
New Member
*


Posts: 10
Joined: Jun 2006
O.P. RE: Smiley Saver?
i found some dp importer at www.mess.be ... look there ;)
08-02-2006 12:33 AM
Profile E-Mail PM Find Quote Report
ombadboy
Junior Member
**


Posts: 30
Joined: Jun 2006
RE: Smiley Saver?
not dp.. smiley importer :P
08-02-2006 01:28 AM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« 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