Author Topic: [XP] DREAM for Music Files  (Read 8598 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19930
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] DREAM for Music Files
« on: January 08, 2008, 07:14:12 PM »
DREAM for Music Files
Authors: Blizzard
Version: 1.03b
Type: Encrpytor / Decryptor / Audio File Player
Key Term: Game Utility

Introduction

This script will allow you to encrypt audio files into the .dea format which can be read from within the Data folder and from within the .rgssad archive.

This work is protected by the following license:
Quote
Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
( http://creativecommons.org/licenses/by-nc-sa/3.0/ )

You are free:

to Share - to copy, distribute and transmit the work
to Remix - to adapt the work

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

- For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

- Any of the above conditions can be waived if you get permission from the copyright holder.

- Nothing in this license impairs or restricts the author's moral rights.

Features

  • encrypts your Audio files in a way, so you can encrypt them together with Data Files and decrease the chance of music theft
  • decrypts and plays the .dea files
v1.0b
  • rewritten conditions using classic syntax to avoid RGSS conditioning bug
  • now beta
v1.01b
  • compatible with StromTronics CMS v5.0b and higher
v1.02b
  • improved coding
v1.03b
  • fixed a bug caused by a typing mistake

Screenshots

N/A for this sort of script

Demo

N/A

Script

Just make a new script above main and paste this code into it.
Script Download

Instructions

Inside the script in the first comment.
Download this file:

DREAM files

and extract it into the Data folder of your game.
The Download file includes:
DREAM.dll
DREAM_ext.rb
DREAM Readme.txt

Compatibility

98% compatible with SDK 1.x. 90% compatible with SDK 2.x. 99% compatible with everything else. WILL corrupt your old savegames. Can cause incompatibility issues with custom CMSes that change music playing methods in Game_System. NEEDS DREAM of the provided version or higher. Files will be saved into "DREAM Encrypted Audio" format with .dea extension.

Credits and Thanks

  • Blizzard

Author's Notes

This script will encrypt audio files and save it into .dea format. A file in .dea format can't be played by any normal media player anymore, so be don't delete your old files in case you want to edit them or anything similar. If you use this script without having encrypted all your music into .dea files, your game will eventually crash when trying to play them.

That's it! N-Joy! =D
« Last Edit: February 21, 2009, 12:47:45 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Memor-X

  • Ethereal Devastator
  • ****
  • Posts: 428
  • LV: 8
  • Gender: Male
  • "The Otherworld Awaits you"
    • View Profile
    • MHO Ultra Mega
Re: [XP] DREAM for Music Files
« Reply #1 on: February 27, 2008, 02:03:07 AM »
hay Blizzard, just wondering if you ended up fixing this problem i found with this script that i posted on the old forum

Quote
the files encrupted, that's good, the intro played at the main menu, also good, but when i go to chnage my selection, i get an error message

in Game_Temp at line 0, Errno::EACCES, Permission denied - tmp.wav

any idea what the hell is going on

and as i said on the old forum the only thing that comes close to tmp.wave is Temp Var Rusola-One Winged Chaos Angel-(Fire and Ice, Lighting Cross Fusion).wav

Trish: hay Angela, you should take the role, you always wanted to be an actress
Angela: yeh but what about you
Trish: i'll become one too
Angela: what? but about you being a Doll Turner
Trish: first, i'm 500 years old in a 19 year old body, i deserve a rank higher than other tuners, like Miester or something, second, i want to help you since you mean a lot to me
Angela: *imagine kissing scene between them and blushes* thank you
Trish: why are you going red? you should know i can only fix Dolls, not humans

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19930
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM for Music Files
« Reply #2 on: February 27, 2008, 04:20:01 PM »
Are you using Vista? There is a problem with file permissions as you can see. Have you tried to "run RMXP as Administrator"? Right click on RPGXP.exe and you should have an option that says "Run as...".
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline Gabbergon

  • Trained Member
  • *
  • Posts: 42
  • LV: 3
  • Gender: Male
  • I can't find a better PT
    • View Profile
Re: [XP] DREAM for Music Files
« Reply #3 on: April 15, 2009, 02:45:26 PM »
a question:
if I encode some music and eventually publish as a .dea file
someone else who knows how can simply decode it, right?
so, can't you let people encode the file with a key(that can be edited by the script user)
than the encoded file can't be riped by anyone else cause they don't know
how the encryption is done... :???:
I could be wrong...

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19930
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM for Music Files
« Reply #4 on: April 15, 2009, 04:26:22 PM »
The thing is that the .dea files are encrypted into the .rgssad file. .dea is more like a wrapper so it can actually be put into the .rgssad since it won't work properly if you use .mp3. It's true that .dea can be decoded easily, but people won't even have access to the .dea files.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.