Americas Army 2:Skins for your eh source (basic skincrafter tutorial)

From UnKnoWnCheaTs Game Hacking Wiki
Jump to: navigation, search

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...

  1. download and install skincrafter
  2. open your evilconfig project

Adding Skincrafter Reference

  1. click "Add Reference" from Project Menue
  2. select COM and doubleclick on "SkinCrafter 1.4.5 Type Library"
  3. click OK

Adding Class for Skincrafter

  1. click "Add Class" from Project Menue
  2. select "MFC Class From TypeLib" and click "Open"
  3. select "Add class from: Registry" and search "SkinCrafter 1.4.5 Type Library<1.0>" at "Available type libraries"
  4. doubleclick "ISCSkin" from "Interfaces"
  5. Classname is "CSCSkin" and Filename is "skincrafter.h"
  6. 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.

Source: http://www.unknowncheats.me/forum/134285-post1.html