PDA

View Full Version : [Program] [Encryption & Installer] Happy Birthday to me


Pia Carrot
August 12th, 2013, 04:50 PM
Well, today happens to be my birthday, and like so many before me have done on special occasions, I am contributing to the community. I've met some great people here over the last 3 years, and many have helped me when I couldn't help anyone at all. So today I am re-uploading a lost gem to the encryption world: CollosalPokemon's Encryption method, with a twist!

First off, CollosalPokemon's website, collosalnetwork, has been down for some time, and alas his great encryption method was lost. Well, I recently found it saved on my hard drive, so, yeah...I cried tears of joy. Anyway, this is the original thread: http://www.pokecommunity.com/showthread.php?t=239535

Now, along with this I am also going to show you how to turn your game into an installable .exe, with InnoSetup.

The downloads:
CollosalPokemon's Encryption - https://www.dropbox.com/s/8ibbyxzhzv69xne/RGSS%20Encrypting.rar
InnoSetup - http://www.innosetup.com/isdl.php

Encryption Directions
Project Encryption
For RPG Maker XP and RPG Maker VX

Parts:

I - Knowing your encryption
II - Encryption
III - The Drawback
IV - Credits

I: Knowing your encryption

It's always good to know about your encryption to know what it does and why it works. This encryption is based on vgvgf's DRGSS encryption and is much, much stronger than RPG Maker's encryption. It uses your own personal magic key, plus checksum protection, debugging detection, and several other safety features for your game. In essence, this is really what protects the game (after the tutorial) because it locks away your magic key, and without a magic key no rgssad extractor will be able to open it.

II: Encryption

First, you'll need the following:

DRGSS - http://vgvgf.com.ar/varios/drgss/DRGSS-v1.1.exe
ASProtect SKE - http://www.aspack.com/
FRHED - http://frhed.sourceforge.net/en/
RGSS102E Unpacked (IF YOU ARE USING RPG Maker XP) - http://www.fileden.com/files/2007/2/10/757733/RMXP%20Others/RGSS102E-uncompressed.rar
RGSS202E Unpacked (IF YOU ARE USING RPG Maker VX) - http://www.fileden.com/files/2007/2/10/757733/RMXP%20Public/RGSS202E.rar

WARNING: ASPROTECT SKE COSTS $194.65 (USD)
NOTE: I DO NOT OWN THE ASPROTECT COMPANY SO DON'T COMPLAIN TO ME ABOUT THE PRICE

Once you get what you need then follow these easy steps, they should take less than 10 minutes to finish: (Note: Depends on your game size and experience with computers)

Step 1) Using FRHED go to offset: (CTRL + G)

39628 - If your using the unpacked RGSS102E.dll
43063 - If your using the unpacked RGSS202E.dll

And modify the offsets (EF AC DA ED) to your own magic key. Note that it is written backwards, so write your own magic key (make one up) in reverse typing. (ie ABC = CBA) REMEMBER YOUR MAGIC KEY THAT YOU JUST MADE UP BECAUSE YOU'LL NEED IT LATER.

Step 2) Use ASProtect SKE to pack your new RGSS102E (Or RGSS202E if you're using RMVX) DLL and KEEP IT IN YOUR GAME FOLDER. If you want to encrypt Game.exe you can too, it won't affect gameplay so it's really optional but provides additional protection for your game)

Step 3) Open up your game using DRGSS and compress. MAKE SURE YOU WRITE YOUR MAGIC KEY IN THE MAGIC KEY SPACE. This time you can write your magic key in normally (ie ABC AND NOT CBA)

Step 4) Play the game.

III: The Drawback

The main drawback is the price of ASProtect SKE. Although you can encrypt your games and have all of the encryption features without purchasing ASProtect SKE it will show a message saying your game is protected by ASProtect SKE. If you don't mind them having that small copyright at the start of your game, don't buy ASProtect SKE. If you do mind having a popup message at the beginning of your game, then buy ASProtect SKE. Either way works.

IV: Credits

vgvgf - DRGSS, original encryption concept, and unpacking the RGSS DLLs for use
ASProtect Company - Providing a wonderful packer/cryptor

InnoSetup Directions
1. Install InnoSetup
2. Encrypt or compress game with preferred method
3. Run the InnoSetup Compiler
4. Open new project with wizard
5. Fill in appropriate information for your game
6. When it asks for main executable file, choose your Game.exe
7. "Add Folder" and select your project's folder.
8. Pick the installation folder and upload an .ico for your game.
9. Run the compiler, and it will create an installable .exe

Have a nice day!

Whitney's Shaymin
August 12th, 2013, 07:02 PM
I don't understand what this is.

Pia Carrot
August 12th, 2013, 07:06 PM
I don't understand what this is.

Encryption (http://en.wikipedia.org/wiki/Encryption).

RPG Maker XP and VX have had problems the last couple of years with people decrypting projects and stealing resources, such as events or scripts. This is to protect it.

The installer is so you can install the game on your computer like a normal PC game, for a more authentic feel to it. You could even put it on a CD if you really wanted to.

Milkvetch
February 16th, 2014, 09:27 PM
why i found a9 54 cb 0a in step1?
i tried this step at my friend's home this morning and did found EF AC DA ED

but i cannot find the same offset right now in my home