Americas Army 2:Skins for your eh source (basic skincrafter tutorial)
By: SAMDestroy
this tutorial is for making skins to your evilhack source. You need to download and install the demo-version of Skincrafter. Website: http://www.skincrafter.com directlink: http://www.skincrafter.com/SkinCrafter_Demo.zip
examples: Here are some examples how evilhack will look like: http://img78.photobucket.com/albums/v243/SAMDestroy2/Skincrafter/
here we go...
- download and install skincrafter
- open your evilconfig project
Adding Skincrafter Reference
- click "Add Reference" from Project Menue
- select COM and doubleclick on "SkinCrafter 1.4.5 Type Library"
- click OK
Adding Class for Skincrafter
- click "Add Class" from Project Menue
- select "MFC Class From TypeLib" and click "Open"
- select "Add class from: Registry" and search "SkinCrafter 1.4.5 Type Library<1.0>" at "Available type libraries"
- doubleclick "ISCSkin" from "Interfaces"
- Classname is "CSCSkin" and Filename is "skincrafter.h"
- Click "Finish"
Editing evilconfig source
EvilConfig.cpp search for this:
BOOL CEvilConfigApp::InitInstance() {
add this:
// Skincrafter CSCSkin *m_pSkin = new CSCSkin; CoInitialize(NULL); m_pSkin->CreateDispatch("SkinCrafter.SCSkin"); m_pSkin->InitLicenKeys("0","SKINCRAFTER","SKINCRAFTER.COM","[email protected]","DEMOSKINCRAFTERLICENCE"); m_pSkin->DefineLanguage(0); m_pSkin->InitDecoration(1); m_pSkin->LoadSkinFromFile("GlaucousTrack.skf"); // here you can change the skin m_pSkin->ApplySkin(); // Skincrafter
EvilConfig.h search for this:
#include "EvilSettings.h"
add this:
#include "skincrafter.h"
search for this:
CEvilConfigApp(); public:
add this
CSCSkin m_pSkin;
you need to copy the skinfile (*.skf) to the folder where evilconfig.exe are. this is just an basic tutorial about Skincrafter... you can do really much more with this library... dropdown-menu to switch the skin for example.