Simple Audio Encryption


This script provides very simple audio encryption. It allows you to store audio files inside the rgss3a archive.

The data is decrypted and created outside of the archive when the game wants to play an audio file.

This means that while it is possible to easily copy the file once the game starts playing it, you can still protect files that they have not managed to unlock during the game.


Script: download here


In the script editor, place this script below Materials and above Main


Follow these steps to encrypt your audio files. You should do this when you are ready to distribute your project.

  1. Move the Audio folder into the Data folder
  2. Compress the project and create an encrypted archive as usual

You can verify that when you extract the game, your audio files are no longer visible until you need it.

To resume working on your project, simply move the audio folder back out.


This technique is sufficiently fast for music files around 5 MB. For larger files, you may notice some delay depending on your hardware, particularly your hard-disk. Write-access is required, so you won’t be able to play it off a CD.

You may also like...

11 Responses

  1. Kyuukon says:

    Hey, Hime. Is there a way to save the real time files into, let’s say, “APPDATA/MyGame/Audio” folder?

  2. Guest says:

    What does it mean to:

    Compress the project and create an encrypted archive as usual
    I know what compressing means, i just don’t get how to create an encrypted archive

    • Hime says:

      When RPGMaker compresses the project, it will create an encrypted archive for you. Don’t worry about that part; you just need to compress your project.

  3. henero says:

    Hello, may I know what’s the license on this?

    • Hime says:

      A commercial license will be required for commercial use. You can send me an email if you wish to discuss more about it

  4. Sughayyer says:

    Hi, Hime! I don't mean to bother you with what may seem a simplistic question, but does it compresses the data as well? Does it work with .mp3 files or must they be .ogg? Thanks!

  5. Shiori4me says:

    Since I wouldn't want scenes or characters to be given away with graphics but I'd want people to be able to make adjustments

  6. Shiori4me says:

    What if I wanted to encript my graphics without making the editor encripted as well?

Leave a Reply

Your email address will not be published. Required fields are marked *