The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Blizzard on September 18, 2006, 12:12:00 PM

Title: [MISSING] DREAM for Save Files 2.0
Post by: Blizzard on September 18, 2006, 12:12:00 PM
lol, gone
Title: Re: DREAM for Save Files
Post by: Zeriab on September 18, 2006, 01:54:05 PM
You didn't change the introduction like I told you :X
Change the introduction to something fitting for v1.0 and not v0.3.

>_>

You already know my opinion on this so...
Great job  :D
Title: Re: DREAM for Save Files
Post by: Blizzard on September 18, 2006, 02:01:54 PM
*smacks his forehead*

Thanks. :=
Title: Re: DREAM for Save Files
Post by: Arrow on September 18, 2006, 02:06:14 PM
The link died.
Title: Re: DREAM for Save Files
Post by: Blizzard on September 18, 2006, 02:28:31 PM
My bad. I forgot to upload it again. Since the site crashed I´m reposting (the last few hours... :=  ) my scripts here, so I just forgot it, lol. I uploaded it again.
Title: Re: DREAM for Save Files
Post by: Arrow on September 18, 2006, 02:30:40 PM
Thank you.

EDIT: All right, now what do I do about this? I can't save or load, under any circumstances...

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg133.imageshack.us%2Fimg133%2F7799%2Ferrorav3.png&hash=f9a0600d458ddb6ce3d4a38a260f60d2abb7522d)
Title: Re: DREAM for Save Files
Post by: Blizzard on September 18, 2006, 06:17:03 PM
Not my script that causes this (my script has no marshal_dump command). Also it should be Marshal.dump . RGSS is case sensitive. Do you use a secondary save/load? Because that could be conflicting with my script. There is a possible solution in the FAQ in my script. Try it out.
Title: Re: DREAM for Save Files
Post by: Arrow on September 18, 2006, 06:28:04 PM
Thank you very much Blizzrd. I've only just started using scripts, and I'm afradi to touch very much of anything. :D
Title: Re: DREAM for Save Files
Post by: SexualBubblegumX on October 09, 2006, 09:19:22 PM
I'm rather pleased. It's too late to add this to Darkwurld, but This will see use in Soul Refrain Complete. Also This is going to see use in a little joke Game I'll make right after DW. I'm not going to spoil anything on the joke game, but uh, where was I? Oh yes, basiclly everygame I make after DW will have this script, I might as well save it as a .txt file, but only if I get your permission Bliz.
Title: Re: DREAM for Save Files
Post by: Blizzard on October 10, 2006, 11:38:11 AM
Save what as a .txt file? If you mean the script, I'll gladly appreciate if you share it around as much as you can. :) The only one who can hack these savefiles for now is me. =P Although I would need to make a "reversing code".
Title: Re: DREAM for Save Files
Post by: Zeriab on October 10, 2006, 12:26:25 PM
Save what as a .txt file? If you mean the script, I'll gladly appreciate if you share it around as much as you can. :) The only one who can hack these savefiles for now is me. =P Altough I would need to make a "reversing code".
You sure you are the only one?  ^-^
Nah, I am too lazy to hack it.

Also I got an idea. What about creating a little script where people can encrypt old saves and thus use them?
Title: Re: DREAM for Save Files
Post by: Nightwolf on October 10, 2006, 01:31:11 PM
Nice script Blizzy boy lol
Title: Re: DREAM for Save Files
Post by: Blizzard on October 10, 2006, 02:32:21 PM
Also I got an idea. What about creating a little script where people can encrypt old saves and thus use them?

It would made sense in case of savegame updating. But it will require a script that updates it.

*has an idea*

I will make an RMXP program, that just converts old savegames. :scripter:
Title: Re: DREAM for Save Files
Post by: Zeriab on October 10, 2006, 02:47:25 PM
(...)

I will make an RMXP program, that just converts old savegames. :scripter:

That's what I meant >_<
Title: Re: DREAM for Save Files
Post by: Blizzard on October 10, 2006, 03:15:10 PM
INO
Title: Re: DREAM for Save Files
Post by: Naphe on October 11, 2006, 09:25:52 PM
Quote
Inside the script in the first comment.
Download this file:
DREAM v2.0

Download Link Is Down
Title: Re: DREAM for Save Files
Post by: Blizzard on October 12, 2006, 11:35:25 AM
It works for me. I added a mirror for you and I added a download link to a save file converter. (I've had some free time yesterday. :) )
Title: Re: DREAM for Save Files
Post by: samamanjaro on November 28, 2006, 05:24:54 AM
Sorry for necroposting but could this be used to encrypt any of the .rxdata data?javascript:void(0);
Huh?
Title: Re: DREAM for Save Files
Post by: Blizzard on November 28, 2006, 01:02:49 PM
No. I made is specifically for save files. And no prob about necroing. If you have something useful to add or ask or report a problem, this is the right place. :)
Title: Re: DREAM for Save Files
Post by: samamanjaro on December 07, 2006, 01:24:25 AM
I was thinking of making a system that updates the database using a save file. Just so if there is a critical error in your game you wouldn't have to download the entire game again.
Title: Re: DREAM for Save Files
Post by: Blizzard on December 07, 2006, 09:03:31 AM
First somebody needs to hack the Marshal.dump format and the rgssad file. You can't make updates if you don't know how.
Title: Re: DREAM for Save Files
Post by: Me™ on December 12, 2006, 09:49:33 AM
Well, you can actualy hack the DLL, but whatever.

Erm, wel apart from this being a great use of the DRE Algorithm, I don't think this will suite MMO. I am the Main Developer #1 of Netplay Plus (you know the module to create online games with RMXP) and I think youd better save on server, the using this.

But appart from that, great script!
Title: Re: DREAM for Save Files
Post by: Blizzard on December 12, 2006, 01:57:02 PM
Thanks. I know it's always a better idea saving on the server than on the HDD of the user, but this provides also an alternate solution, especially for normal RMXP games. :) I didn't make it for MMOs in the first place, but for normal RMXP games.
And I think hacking the .rgssad file would be easier. Just reverse-engineer it and ta-da. But it takes some time. I guess every file hacker will know what I mean when I say "Photoshop can be VERY useful...". ;D
Title: Re: DREAM for Save Files
Post by: samamanjaro on December 13, 2006, 12:41:33 AM
I plan to use the rubytoexe.rb and tartoruby.rb thing so its all in a .EXE. Could you extract the encrypter from RMXP and reverse it?
Quote
I guess every file hacker will know what I mean when I say "Photoshop can be VERY useful...". Grin
I dont understand one thing about what you just said, Photoshop?
Title: Re: DREAM for Save Files
Post by: Blizzard on December 13, 2006, 02:28:33 PM
I plan to use the rubytoexe.rb and tartoruby.rb thing so its all in a .EXE. Could you extract the encrypter from RMXP and reverse it?
Quote
I guess every file hacker will know what I mean when I say "Photoshop can be VERY useful...". Grin
I dont understand one thing about what you just said, Photoshop?

Reversing the .rgssad isn't easy. I haven't tried it yet, but I doubt that Enterbrain would have made it easy. Also it's actually illegal to do that...
And yes, Photoshop can be quite useful in hacking files. Rename the extension of any file to .raw and open it with Photoshop. It will show you the entire file as black/white picutre. If you know which bytes exactly need to be modified it provides a good solution in just "painting" them in Photoshop. But you need at least intermediate knowledge about ASCII code, as well as machine and the CPU command codes.
Other than that get a Hex Editor.
Title: Re: DREAM for Save Files
Post by: Me™ on December 13, 2006, 05:29:51 PM
Just a little more off-topic ness  :police:
For RMXP, get both an hex and an octal editor. Then get the ZLib Ruby module and download ruby. The RGSS ad is actually compressed with a modified ZLIB inflate method. However, reversing the RGSSAD is not illegal if it wher meant to be on backup purpose, but I do recommend not to try. They even meant it in the license and help file.

Quote
Could you extract the encrypter from RMXP and reverse it?
Well, it is not like 'extract' it. RMXP uses part compiled, part interpreted scripts (you know the DLL, the program and the script editor) Now, the .exe was compiled, you would need to actually re-create it by decompiling to re-structuate the codes. Almost anyone knows that is like... not-easy.

On to the script. You used the DRE A with RMXP, but how exactly does it work? I mean, it randomly subsitutes characters? (With key offcourse, or you could not turn itback) or is it a bitwise conversion, with switching bits around?

I would appreaciate if you could tell me, but if you don't know, dont bother, ill look it up myself.
Title: Re: DREAM for Save Files
Post by: Blizzard on December 13, 2006, 05:33:46 PM
You can read in the DREAM Readme how it works. If you want the code, just hax the DREAM.dll as it is no real .dll, but just slightly encoded RGSS code. That shouldn't be a problem for you although.
BTW, the code is a quite hard one. :tpg: When I didn't look at it for a month even I need a few minutes to understand what I typed there. :tpg:
Title: Re: DREAM for Save Files
Post by: Me™ on December 13, 2006, 05:57:52 PM
I will go trhough it. I mean, I used some windows DLL to make a musci encryption that actually PLAYS in RMXP! (and not in WMP or some other program) And tested it with this, ad it did not work, so I might go into even a stronger encryption when I figured out how to..

Thanks anyway!
Title: Re: DREAM for Save Files
Post by: samamanjaro on December 22, 2006, 06:06:29 AM
Strange, can you post up the zlib module, I can only find a .dll (If that is it tell me.) I opened the .rgssad as .raw and saw the black 'n white and edited a few pixels and I launched the game again and it said, failed to load scripts! I also updated my SciLexer.dll v1.5.1 somthing with the 1.7.1 version!

-Edit- The new SciLexer.dll updates the script editing thingo in RMXP, I'll attach the file for everyone.
Title: Re: DREAM for Save Files
Post by: Blizzard on December 22, 2006, 10:58:22 AM
Oh shit, the colors get messed up~ :=

j/k

I use 1.5.8 of the SciLexer.dll and it works fine. It could be that something in the 1.7.1 doesn't allow the decryption I used for my ".dll". Here are the files again.
Title: Re: DREAM for Save Files
Post by: Me™ on December 22, 2006, 03:16:36 PM
Don;t go higer then 1.6.X, the colors get really weird, things like a = b = c = true are not possible anymore, even though there are more modules we don;t use availeble. Also, No i will not give you the ZLIB module you can find it on rubylang.org as well as rubycentral. But I will not help you crack the thing  :tpg:
Title: Re: DREAM for Save Files
Post by: Blizzard on January 03, 2007, 12:55:28 PM
That's really dumb. =/
I also noticed that decimal numbers are displayed wrong in colors. :( I just won't use it.
Title: Re: DREAM for Save Files
Post by: feildmaster on January 11, 2007, 03:17:57 AM
@ blizz directly... Holy crap man... How many ppl do i know that made that their avatar at around the same time... -_-

oh and oi... how do i actually have it display the info of the save file it encrypts like have it show the stuff it used to show before the DREAM encrypter(yes i know thats not a word...) is added... >.>
Title: Re: DREAM for Save Files
Post by: Blizzard on January 11, 2007, 11:30:54 AM
Maybe people started imposing me. ?_?

Anyway, about the problem, I don't think I understand. Do you mean the save file info in the window (characters, playtime, etc.)? The file is usually opened, decrypted and after that it can be used as a normal file.
If you mean to display data before the file is saved, you can just access the game data itself. You should take a look at the Window_SaveFile class, it might help.
Title: Re: DREAM for Save Files
Post by: feildmaster on January 14, 2007, 01:59:13 AM
Alright I will take a look... >.>
Title: Re: DREAM for Save Files 2.0
Post by: Blizzard on January 25, 2007, 01:26:04 PM
Awesomely updated to v2.0 to support the new .dream3 format that is far more advanced than .dream2. I wonder... IS it even possible to hack save files now?! (j/k, of course it IS possible, but insanely hard. ;))