Author Topic: [XP] DREAM for Save Files  (Read 10002 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 Save Files
« on: January 08, 2008, 07:08:04 PM »
DREAM for Save Files
Authors: Blizzard
Version: 3.0b
Type: Encryptor / Decryptor
Key Term: Game Utility

Introduction

This script provides high protection of savegame hacking and i.e. leveling up all characters to level 99. Maximum possible safety was applied to create this script.

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

  • uses the Double Random Encryption Algorythm Module (DREAM) to encrypt important save data every time it is saved
  • makes it harder to hack saved files (even experienced hackers will have a hard time hacking important data from save files encrypted with DREAM)
  • great for RMXP MMORPGs
v2.0
  • uses DREAM 3.0 which is far more powerful than DREAM 2.0, because the .dream3 format is a format in which ALL the saved data is encrypted
  • your savefiles will be saved into files with .dream3 extension
v3.0
  • uses the even more powerful DREAM v4.0
  • faster, better, safer:

     -> new, much faster algorithm which's speed doesn't depend on the chosen encryption pattern anymore
     -> re-coded to avoid the built-in RGSS bug with conditioning
     -> new additional encryption of encrypted data
  • your savefiles will be saved now into files with .dream4 extension
  • displays "File corrupted!" instead of crashing when files are corrupted
  • can decode dream2 and dream3 format
v3.0b
  • now uses DREAM v4.1 or higher
  • direct implementation into DREAM
  • now beta


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 save screens. NEEDS DREAM of the provided version or higher. Files will be saved into dream4 format with .dream4 extension. Cannot decode dream2 and dream3 files where extra data was added, but normal dream2 and dream3 files can be decoded.

Credits and Thanks

  • Blizzard
  • Special Thanks to the makers of the XVI32 Hex editor (without it, I couldn't have tested this script)

Author's Notes

This script will encrypt all save data and render them 100% unusable by any earlier version of your game that DOES NOT have this script. If you are using save-game update of earlier versions, this script will make further updates of old savegames IMPOSSIBLE, because they can't be loaded at all. Please use a DREAM save file converter to convert usual save files into a DREAM readable format. Note that this version of this script can also READ save files encrypted in dream2 and dream3 format only if their extension is being changed to .dream4 and their names are changed like configured below. Note that any extra data from dream2 and dream3 files will not be read. This script will save any files into .dream4 format. Changing this script can easily destroy your savefiles and it is not recommended.

DREAM Save File converter (converts files into .dream2 format)

That's it! N-Joy! =D
« Last Edit: February 21, 2009, 12:51:40 PM by shdwlink1993 »
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 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 Save Files
« Reply #1 on: October 19, 2008, 03:16:20 PM »
Nobody cares about their games being hacked anymore. ._.
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 Juan

  • Ethereal Devastator
  • ****
  • Posts: 409
  • LV: 47
  • Gender: Male
  • Evil Twin
    • View Profile
Re: [XP] DREAM for Save Files
« Reply #2 on: October 19, 2008, 03:17:49 PM »
Actually some do.
Dropbox Who need luck when you can make your own.
(click to show/hide)

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 Save Files
« Reply #3 on: October 19, 2008, 03:24:28 PM »
Yeah, NAMK complained about me hacking Insanity. 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 Mightylink

  • Transcended Spirit
  • ***
  • Posts: 216
  • LV: 6
  • Gender: Male
  • There is no spoon...
    • View Profile
    • ZVC Studio's
Re: [XP] DREAM for Save Files
« Reply #4 on: October 19, 2008, 03:42:32 PM »
this was something i was planning to look at near end development of my game, but i'll get it anyway, never know what could happen in the next few years

ALiCES_EMOTiON

  • Guest
Re: [XP] DREAM for Save Files
« Reply #5 on: February 14, 2009, 06:45:56 PM »
Sorry to necropost, but when I save with this script I get this:



It generates the save file, but it doesn't call it the name I have set it (it just calls it Save1.dream4). The save file it creates is also corrupt. Am I doing something wrong? Thanks.


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 Save Files
« Reply #6 on: February 14, 2009, 07:04:29 PM »
Quote from: Once again Blizz-ABS Manual saves the day! Chapter 1.2. - Compatiblity
DREAM for Save Files
Version: 3.0b
Compatible: No.
Tested: Yes.
Notes: This issue will be fixed in the next DREAM release.
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.