• 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
    1. #1
      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 (<--)
      492

      C++/CLI (.NET) - Make your trainer play .xm sound (music/chiptunes)

      Silent VPN
      This tutorial is intended to everyone who hasn't been able to make their programs play sound yet. We will be using free uFMOD library ( included as attachment ) for this tutorial, which lets us play .xm files.

      I will be using Visual Studio 2010 for this tutorial. It might be littlebit different for other compilers though.

      1) Start off by downloading the attachment

      2) Load up your project and extract the content which you downloaded to your projects folder. Then make sure you have those three files added to the projects 'solution explorer'

      3) Now open up your projects properties (ALT + F7) and go to Configuration Properties-&gt;Linker-&gt;Input and to the 'additional dependencies' add ufmod.lib and winmm.lib

      4) Now go to your form(.h), which you want to make playing the sound and add following:

      Code:
      #include &lt;windows.h&gt;
      #include &lt;mmsystem.h&gt; 
      #include "ufmod.h"
      5) Go to your projects resource view and do the following:

      5.1 Right click on your projects name and select add-&gt;resource
      5.2 Select 'Import' from the right hand side, and browse to your .xm file and choose it
      5.3 Set resources type as 10
      5.4 You should see that it was added to your resource view box. Find it and click on it.
      5.5 Now change it's ID in the properties box (on the right side by default) to 1

      6) Now go back to your form, which you wanted to make playing sound and add this line wherever you want it to start playing the sound:

      Code:
      uFMOD_PlaySong((char*)1, 0, XM_RESOURCE);
      7) Compile it and test it It should be working if you followed the steps

      If it doesn't somehow work, feel free to reply here (with compilers errors of course ), maybe I missed something and we can figure something out 8)


      Attached Files Attached Files
      C++/CLI (.NET) - Make your trainer play .xm sound (music/chiptunes)

    2. Thanks NTvalk thanked for this post
    3. #2
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      BlackPitchPL's Avatar
      Join Date
      May 2012
      Location
      POLAND
      Posts
      171
      Thanks (-->)
      1
      Thanks (<--)
      14
      Add VIRUS SCAN TO APPROVE

    4. #3
      Hacker
      Learning to hack games!
       
      Pawning
       
      Fleep's Avatar
      Join Date
      May 2012
      Posts
      626
      Thanks (-->)
      208
      Thanks (<--)
      743
      Great tutorial!, as BlackPitch said please put a virus scan up for that file, https://www.virustotal.com/

      Thanks for the addition

      Fleep

    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 (<--)
      492
      Sorry, my bad Here are the results for the virus scan https://www.virustotal.com/file/aab2...is/1342896980/

      It's as clear as it could be
      C++/CLI (.NET) - Make your trainer play .xm sound (music/chiptunes)

    6. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Starlive's Avatar
      Join Date
      Jul 2012
      Posts
      29
      Thanks (-->)
      0
      Thanks (<--)
      0
      thanks
      [glow=red,8,300]-...-[/glow]

    7. #6
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      BlackPitchPL's Avatar
      Join Date
      May 2012
      Location
      POLAND
      Posts
      171
      Thanks (-->)
      1
      Thanks (<--)
      14
      Approved nice work keep going :P

    8. #7
      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 (<--)
      492
      Silent VPN
      Thank you and no problem.

      And to add, if someone finds the sound playing too loud or too silent then simply adding:
      Code:
      uFMOD_SetVolume(x);
      and replacing x with any number ( 0 - .... , if I recall correctly ) changes the volume. Ufmod.h is highly commented and all of the other available instructions ( like changing the pitch for instance ) are found there
      C++/CLI (.NET) - Make your trainer play .xm sound (music/chiptunes)

    Similar Game Hacker Threads

    1. [VideoTutorial] How to Make a TRAINER C# LEARN TO HACK TUTORIAL DIFFICULTY [1/10]
      By Fleep in forum GH Hack Video Tutorials
      Replies: 29
      Last Post: 11-13-2015, 06:38 AM
    2. [Help] Headshot sound play
      By mcdeliver18 in forum Visual Basic
      Replies: 1
      Last Post: 06-04-2014, 11:27 AM
    3. [Off Topic] Would You Rather Play...
      By Crazywink in forum Off Topic
      Replies: 1
      Last Post: 04-19-2014, 05:56 PM
    4. [Off Topic] Free To Play, Weekly
      By Arickyy in forum Off Topic
      Replies: 17
      Last Post: 01-19-2014, 06:54 PM