Author Topic: [XP] DREAM  (Read 14783 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] DREAM
« on: January 08, 2008, 06:53:06 PM »
DREAM (Double Random Encryption Algorithm Module)
Authors: Blizzard
Version: 4.4
Type: Scripting Tool
Key Term: Scripting Tool

Introduction

The DREAM can be used for encryption, decryption, randomisation etc...
If you have suggestions how to make DREAM better, post them.
If you have an idea for a script and would like to use DREAM for it, but the current DREAM version can't satisfy your need for special methods, post your ideas and the next version release may include these methods.

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

You are free:

to Share - to copy, distribute and transmit 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.

No Derivative Works. You may not alter, transform, or build upon this work.

- 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.
If you have any questions about this module, feel free to contact me:
http://forum.chaos-project.com

Features

  • Read it in the Readme

Screenshots

N/A for this sort of script

Demo

N/A

Script

N/A

Instructions

How to use DREAM for your own script:

1) Specifying the required DREAM version

You need to specify the required DREAM version for your script using
following syntax:

Code: [Select]
Required_DREAM_Version = 4.4

Be sure you specify the correct version. DREAM will recognize the required
version and give you a notification if its version is not high enough. Note
that you need to specify the REAL required DREAM version OR a higher version
if you are not sure, the lower version supports the methods your script uses.

2) Including the required DREAM files

Copy the DREAM.dll and DREAM_ext.rb files into the Data folder of your game.

3) Including the DREAM controller

The DREAM controller will allow you to extract the DREAM for the sake of
loading it into the memory. Copy this code into your script:

Code: [Select]
#==============================================================================
# DREAM_ext controller
#==============================================================================

module DREAM
 
  def self.self_extract
    data = load_data('Data/DREAM_ext.rb')
    file = File.open('DREAM_ext.rb', 'wb')
    file.write(data)
    file.close
    require File.expand_path('DREAM_ext.rb')
    self.load_DREAM
  end
 
end

DREAM.self_extract

4) Activating DREAM in your script

Very simple. You can refer to "DREAM.method_name(arguments)".

Further download this file:
DREAM files
and extract it into the Data folder of your game.
DREAM.dll
DREAM_ext.rb
DREAM Readme.txt

All the instructions about DREAM can be found in the Readme.

Compatibility

As compatible with anything as you make it to be. ;)

Credits and Thanks

  • Blizzard
  • Zeriab - for pointing out a piece of code that wasn't optimally coded

Author's Notes

That's it! N-Joy! =D
« Last Edit: February 21, 2009, 12:47:54 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 fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] DREAM
« Reply #1 on: March 01, 2008, 03:27:02 AM »
*warning* This has been proven extremely easy to hack to experienced scripters. Of course, they probably won't do anything with it anyway, but be aware it isn't 100% flawless. Ruby was never meant to be closed source (blam Matz, not me)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM
« Reply #2 on: March 01, 2008, 03:40:24 PM »
Well, I could redo it in C# as real dll library... :P
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 fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] DREAM
« Reply #3 on: March 01, 2008, 10:09:02 PM »
But I'd still have the algorithm. Unless you redid that. And that'd be a waste of time as no scripter would bother wasting their time on hacking a save file.

EDIT:

Plus, I'd still be able to see how you decrypt the save file  ;)
« Last Edit: March 02, 2008, 03:35:04 AM by WcW »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM
« Reply #4 on: March 02, 2008, 07:03:15 PM »
I bothered to hack the savefile. =X
We should thank Zenogias and his game Dark Eternal 1. It was too hard for me and I decided to hack my savefile since I was interested in th story. In the end I realized that I don't want people to hack CP's savefiles, so I made DREAM. Then I realized I could post DREAM as well. xD
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 fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] DREAM
« Reply #5 on: March 02, 2008, 09:38:54 PM »
Ah. But with enough patience, CP would be easy to hack, unless the DLL function you called just made a parallel loop that checked for save files and encrypted them without RGSS ever called a decryption method. That's the only way I can think of that this would ever really be "secure." But scripters don't really hack much for abuse but for messing around. And not many people have actually figured out how to hack DREAM yet, anyway. So, I guess it's still safe.

BTW, am I allowed to hack CP just so I can blow stuff up?  :P

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM
« Reply #6 on: March 02, 2008, 10:30:44 PM »
I thought I sent you the unencrypted CP long ago. (-_-')

Sure, hacking CP is only an offense against Enterbrain, not me, lol!
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 fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] DREAM
« Reply #7 on: March 02, 2008, 10:46:06 PM »
0_0

Uhm... why would i have an unencrypted CP  :o

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM
« Reply #8 on: March 02, 2008, 10:55:52 PM »
FTS and mumerus do. #_#
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 Fantasist

  • Lexima Warrior
  • *******
  • Posts: 2223
  • LV: 146
  • Gender: Male
    • View Profile
    • Blog
Re: [XP] DREAM
« Reply #9 on: March 03, 2008, 04:27:08 PM »
Quote
We should thank Zenogias and his game Dark Eternal 1. It was too hard for me and I decided to hack my savefile since I was interested in th story. In the end I realized that I don't want people to hack CP's savefiles, so I made DREAM. Then I realized I could post DREAM as well. xD
No fair, and I slogged for hours and frostration trying to beat it. The game's good, but the battle system imo is not really balanced. And just out of curiosity, is there a way to escape battles in DE11 other than using the skill and item? (was it Hash?)
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)

The best of freeware reviews: Gizmo's Freeware Reviews



Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] DREAM
« Reply #10 on: March 03, 2008, 05:09:39 PM »
... just uber-power ur charas...

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM
« Reply #11 on: March 04, 2008, 04:13:34 PM »
It takes ages.

@FTS: I didn't find any other.
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 Punn

  • Ethereal Devastator
  • ****
  • Posts: 493
  • LV: 9
    • View Profile
Re: [XP] DREAM
« Reply #12 on: March 04, 2008, 11:02:29 PM »
What about the DREAM for music? I dont really care about Save..

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] DREAM
« Reply #13 on: March 04, 2008, 11:32:25 PM »
BTW, does this use Zlib too?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM
« Reply #14 on: March 05, 2008, 10:03:31 AM »
Nope. And DREAM for music is safe. The idea is to encapsulate the music file into Marshal format so it can be dumped and loaded from and RGSSAD archive without problems. In other words: DREAM helps you to encrypt your music files with RMXP's encryption
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 Tazero

  • Blows jobs for custom titles
  • Chaos User
  • ******
  • Posts: 1180
  • LV: -45
  • Gender: Male
  • Asleep but flying high
    • View Profile
Re: [XP] DREAM
« Reply #15 on: January 11, 2010, 12:30:09 PM »
Are you EVER gonna update this again?


If you were a fish...

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20005
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] DREAM
« Reply #16 on: January 11, 2010, 01:13:14 PM »
Next century. :V:
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.