If you get the following error when attempting to activate your night vision goggles (pressing "N") in the AHK program:

"Error: Failed" --- "051: SoundPlay(SoundsFolder . "nvgOn.mp3""

Then you can try the following fix:

  • Close out of the AHK program.
  • Go into the SOUNDS folder.
  • Double-click one of the .mp3 files, let's use "nvgOff.mp3" for this example.
  • Windows should ask you "What program do you want to use to run this file?"
a) If Windows does not ask you this, right click the .mp3 file and go to properties.
b) In the General properties tab, beside "Opens with:", click "Change..."
  • Select something like, Windows Media Player, VLC, something that can actually play .mp3 files.
  • Listen to see if you hear the sound effect when running the .mp3 in this player, if you do, great! If not, try another player.
  • Finally, close out of the media player.
  • Re-Open the AHK program.
  • Press "N" to play the "nvgOn.mp3" sound effect.
  • You should now hear the sounds. Test out the other sound effects as well and make sure they are working.

That's it, I hope this helps!


I will be updating the readMe shortly to reflect this for troubleshooting with pictures.

Article information

Added on

Written by

Akabane101

0 comments