From cc32b07058edb1646c2cdc70156b50729a898023 Mon Sep 17 00:00:00 2001 From: artyfarty Date: Wed, 25 Jan 2012 00:59:52 +0400 Subject: [PATCH] Misc structure --- UniversalEmoticonPackBuilder/README.md | 49 +++++++++++++++++++ .../emoticon_build.csproj | 8 +++ UniversalEmoticonPackBuilder/license.txt | 1 + .../UniversalEmoticonPackBuilderLib.csproj | 5 ++ UniversalEmoticonPackBuilderLib/license.txt | 1 + qip_buildmap/license.txt | 1 + qip_buildmap/qip_buildmap.csproj | 5 ++ 7 files changed, 70 insertions(+) create mode 100644 UniversalEmoticonPackBuilder/README.md create mode 100644 UniversalEmoticonPackBuilder/license.txt create mode 100644 UniversalEmoticonPackBuilderLib/license.txt create mode 100644 qip_buildmap/license.txt diff --git a/UniversalEmoticonPackBuilder/README.md b/UniversalEmoticonPackBuilder/README.md new file mode 100644 index 0000000..7b5922c --- /dev/null +++ b/UniversalEmoticonPackBuilder/README.md @@ -0,0 +1,49 @@ +# UniversalEmoticonPackBuilder +UniversalEmoticonPackBuilder is a tool to build an emoticon packs for multiple clients + +For now QIP Infium/2010, Pidgin and Adium support is complete. + +Licence: [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-nc-sa/3.0/) + +## Solution projects +* UniversalEmoticonPackBuilder — console utility +* UniversalEmoticonPackBuilderLib — builder itself +* qip_buildmap — creates UniversalEmoticonPackBuilder map from qip smilepack _define.ini + +## Usage +First you need to create a pack to build. Check the *examplePack/* for a simple example. + +Basically you need a **mapfile** and a **build config**. + +### Mapfile +Mapfile defines which codes corresponds to emoticon images + +``` +imagefile:code[,alternativecode[,alternativecode[,alternativecode ... ]]] +``` + +### Build config +Build config defines a basic metainfo of the pack and sets the name of the mapfile. + +``` +{ + "name":"Example", + "version":"1.0", + "author":"artyfarty", + "map":"map.uemap", + "builders":["qip","adium","pidgin"] +} +``` +You can also select which builders (clients) to use. +You can look up more builders in the source or write your own. + +### Building +Now place mapfile, config and images in the same dir and point the console utility on the config: + +``` +uepackbuild "C:/blah blah/fooPack/config.json" +``` + +Or add **uepackbuild** to PATH and launch it from pack dir without params. + +Congrats! Now you have *example_1.0_by_artyfarty_for_adium.zip*, *example_1.0_by_artyfarty_for_pidgin.zip* and *example_1.0_by_artyfarty_for_qip.zip* in *C:/blah blah/fooPack/build/* dir, ready for distribution. \ No newline at end of file diff --git a/UniversalEmoticonPackBuilder/emoticon_build.csproj b/UniversalEmoticonPackBuilder/emoticon_build.csproj index c54e8ff..56cee6d 100644 --- a/UniversalEmoticonPackBuilder/emoticon_build.csproj +++ b/UniversalEmoticonPackBuilder/emoticon_build.csproj @@ -48,6 +48,9 @@ + + Always + Always @@ -58,6 +61,11 @@ UniversalEmoticonPackBuilderLib + + + Always + +