Simple Audio Encryption

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

simpleAudioEncryption1

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.

Download

Script: download here

Installation

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

Usage

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.

Notes

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.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

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?

  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.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax