• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 7 of 7

    Thread: Cham Helper

    1. #1
      Hacker
      shell toes yes
       
      Lagging
       
      squeenie's Avatar
      Join Date
      Mar 2013
      Posts
      717
      Thanks (-->)
      598
      Thanks (<--)
      221

      Cham Helper

      John Kittz
      Hey guys just thought I'd release this little tool I whipped up last night. You type the path to the file you want and it outputs a .txt file with a const BYTE array preformatted and everything.
      When you type in the name of the colour/array it adds a b to the beginning and capitalizes the first letter eg if you type in "red" it will output "bRed" just so it looks nice. Feel free to change it if you want.

      For best results use a 1x1 .bmp exported from paint to keep the file size down.

      Enjoy!

      Cham Helper

      Cham Helper

      You don't have to use a 1x1 bmp if you want. You can use anything so go wild!
      Here is a rainbow cham I made

      Cham Helper
      Attached Files Attached Files
      Last edited by squeenie; 12-08-2013 at 12:05 AM.

    2. Thanks NTvalk, Syperus, Marcus, Solaire thanked for this post
    3. #2
      Learning to hack games!
       
      Feeling Normal
       
      's Avatar
      Join Date
      Jan 1970
      Posts
      0
      Thanks (-->)
      294
      Thanks (<--)
      328
      Approved.

      Thank you for sharing!

    4. #3
      RTFM
      Shootin Pool!
       
      Coding
       
      Syperus's Avatar
      Join Date
      Oct 2012
      Location
      127.0.0.1
      Posts
      436
      Thanks (-->)
      101
      Thanks (<--)
      131
      Nice. I'll check this tool out later. Thanks
      Blacks Ops Zombies, BioShock Infinite Array of Bytes
      "People say I'm a bad influence. I say the world's already fucked, I'm just adding to it" -Eminem

    5. #4
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Sweet tool.

      You don't need to use all those long arrays of bytes though


      HRESULT D3Dhelpers::GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
      {
      if(FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)))
      return E_FAIL;

      WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)
      |(WORD)(((colour32>>20)&0xF)<<8)
      |(WORD)(((colour32>>12)&0xF)<<4)
      |(WORD)(((colour32>>4)&0xF)<<0);

      D3DLOCKED_RECT d3dlr;
      (*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
      WORD *pDst16 = (WORD*)d3dlr.pBits;

      for(int xy=0; xy < 8*8; xy++)
      *pDst16++ = colour16;

      (*ppD3Dtex)->UnlockRect(0);

      return S_OK;
      }

      Credits: GD (P47R!CK, and some other iirc)

      Can also use PS to generate shaders..
      Cham Helper

    6. Thanks NTvalk, squeenie thanked for this post
    7. #5
      Jr.Coder
      Somewhere Causing Trouble
       
      Hate Mailing
       
      Marcus's Avatar
      Join Date
      Jan 2013
      Location
      Sweden
      Posts
      99
      Thanks (-->)
      33
      Thanks (<--)
      12
      Thanks for sharing mate!

    8. #6
      Hacker
      shell toes yes
       
      Lagging
       
      squeenie's Avatar
      Join Date
      Mar 2013
      Posts
      717
      Thanks (-->)
      598
      Thanks (<--)
      221
      Another use for it:

      Little sprites. Works well once you figure out how scaling and shit works in directx.

      Cham Helper
      Last edited by squeenie; 12-14-2013 at 10:49 AM.

    9. #7
      Learning to hack games!
       
      Feeling Normal
       
      's Avatar
      Join Date
      Jan 1970
      Posts
      0
      Thanks (-->)
      294
      Thanks (<--)
      328
      Cheats'n'Trainers
      Quote Originally Posted by squeenie View Post
      Another use for it:

      Little sprites. Works well once you figure out how scaling and shit works in directx.

      Cham Helper
      Looking good mate.

    Similar Game Hacker Threads

    1. Which Cham is cooler?
      By vikingtiger911 in forum CS:GO Hacks
      Replies: 4
      Last Post: 08-04-2015, 01:33 PM

    Tags for this Thread