iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!
2 Pages V   1 2 >  
Reply to this topicStart new topic
> RVDATA Compression, Smaller, and harder to hack! :D
Rating 5 V
Jet
post Oct 2 2011, 03:07 PM
Post #1


He Who Jets
Group Icon


Type: Coder
Alignment: Lawful Neutral




RVDATA Compressor
by Jet

Introduction


So, this was part of my ReStaff release for Oct. 1. I saw a script for this in a different site, but it was coded a bit iffy, an incompatible wth some scripts. Plus, it could have been made more efficient.
So, I decided to make my own that is super cool and everything, to share with you all cool.gif
This will compress you .rvdata files in your Data folder to be a smaller size (I shaved 40KB off the RTP files alone!), and also makes it so those "decryption" programs won't give away your data files, since it won't be in the same format, the hacker will have to know how they are compressed, how to reverse it, and how to re-save them.

Features

- Saves Precious Computer Space
- Lowers download size
- Prevents easy decryption of data
- And more...

Script:

http://pastebin.com/raw.php?i=gL8WqVm3

Credit

Jet


--------------------
Go to the top of the page
 
+Quote Post
   
fmstwre
post Oct 2 2011, 05:21 PM
Post #2



Group Icon


Type: Designer
Alignment: Lawful Good




Dude thank you so much. We all needed this so much and no one made it. You keep soaring over our expectations.


--------------------

Go to the top of the page
 
+Quote Post
   
Nate Benton
post Oct 2 2011, 05:31 PM
Post #3



Group Icon


Type: Designer
Alignment: Chaotic Neutral




um jet, can it shave a few gb off my project? its like, a whole 5mb








No but really, congrats! This sounds really great!
Go to the top of the page
 
+Quote Post
   
Supergodjesus
post Oct 2 2011, 05:36 PM
Post #4



Group Icon


Type: Designer
Alignment: Unaligned




Very nice, Jet! Good work.


--------------------
Keep up-to-date with the greatest RPGs ever: Pioneer Valley Games

Need inexpensive art resources? Let me know!


Need AMAZING game music? Note by Note Studios
Go to the top of the page
 
+Quote Post
   
ShinGamix
post Oct 2 2011, 07:52 PM
Post #5


...now loading...
Group Icon


Type: Designer
Alignment: Unaligned




Jet is there anything you can't code?


--------------------
The Maker of Battle Dungeons!!


 

Go to the top of the page
 
+Quote Post
   
Jet
post Oct 2 2011, 08:09 PM
Post #6


He Who Jets
Group Icon


Type: Coder
Alignment: Lawful Neutral




Updated script instructions. There wasn't a bug, but i forgot to note that you should keep the original Scripts.rvdata file when compiling your games.

I've received testimonials from BizarreMonkey and CrimsonItsuki:

QUOTE
[13:56] <BizarreMonkey> wow, shite, down for 3.84 mb to 768 kilbytes.
[13:56] <BizarreMonkey> from"


QUOTE
[13:41] <CrimsonItsuki> JET I LOVE YOU
[13:41] <CrimsonItsuki> JET
[13:41] <CrimsonItsuki> 3.37 MP
[13:41] <CrimsonItsuki> *MB
[13:41] <CrimsonItsuki> TO 829 KB


Seems to fluctuate a bit depending on which files are bigger during compression.

QUOTE (ShinGamix @ Oct 2 2011, 12:52 PM) *
Jet is there anything you can't code?


You should see my Bacon Script.


--------------------
Go to the top of the page
 
+Quote Post
   
fmstwre
post Oct 2 2011, 09:12 PM
Post #7



Group Icon


Type: Designer
Alignment: Lawful Good




QUOTE (WarJet @ Oct 2 2011, 01:09 PM) *
You should see my Bacon Script.


It truly is incredible.
But yeah, everything runs fine and the extraction is a charm. This is a must-have. Really doesn't harm anything and just improves RMVX.


--------------------

Go to the top of the page
 
+Quote Post
   
Emmych
post Oct 2 2011, 09:26 PM
Post #8



Group Icon


Type: Artist
Alignment: Chaotic Neutral




Ahhhh, this looks like it'll make my life a million times easier. ;w;
Thank you, Jet~!
Go to the top of the page
 
+Quote Post
   
Anddy
post Oct 2 2011, 10:41 PM
Post #9



Group Icon


Type: Designer
Alignment: Lawful Good




This is Awesome happy.gif
Go to the top of the page
 
+Quote Post
   
Kaptain J
post Oct 3 2011, 12:12 AM
Post #10


Death says "Hi"
Group Icon


Type: Writer
Alignment: Lawful Evil




I've been waiting my whole life for this moment. You're a lifesaver, Jet T_T


--------------------


Come join Team Smash today!


Other stuffz:
Spoiler:






RPGMakerVX.net Awards:
Spoiler:




Check out my tutorial and articles:
How to Write a Story
The Kaptain's Article Dump

Go to the top of the page
 
+Quote Post
   
Jet
post Oct 3 2011, 01:10 AM
Post #11


He Who Jets
Group Icon


Type: Coder
Alignment: Lawful Neutral




Thanks everyone owo
I did not realize this was so widely wanted xD


--------------------
Go to the top of the page
 
+Quote Post
   
mitchi.exe
post Oct 3 2011, 02:27 AM
Post #12


Welcome to RMVX.net, B*tch
Group Icon


Type: Designer
Alignment: Chaotic Evil




QUOTE
- Prevents easy decryption of data


Best feature so far. ;3

Jet! xoxo
Can you make audio encryption, too?


--------------------


Spoiler:

CoA Playable Character Spr completion: 7/13 (~54%)
Spoiler:



Go to the top of the page
 
+Quote Post
   
Virus 9
post Oct 3 2011, 02:30 AM
Post #13


Evil is a virus that spreads!
Group Icon


Type: Writer
Alignment: Chaotic Evil




I am thinking Jet is having his fun in all of this. Seeing how he supply scripts everyone wants I never really care for it but it might help since I do want to keep my game a bit safe as well. But if you could make a script that makes MMORPG then you would get over a thousand rating in that (A little joke but if you can that still would be awesome.). Hahaha! Anyways I do like it and maybe I will look into more of your scripts. If can show me all the scripts you made so I can see what to add and to make my search quicker. I give you a thumbs up like always...Keep up the good work seeing how we need people like you around.


--------------------
EVIL RULES OVER ALL!
Spoiler:
After a great deal of a vote, I have been chosen to remain evil by the members of the forum! Now prepare for the 2nd stage of my plot!

I Support
Spoiler:






CODE
[img]http://i39.tinypic.com/ftklqq.png[/img]

Building
Spoiler:

Read if New or Beginner!
Spoiler:
Are you new to RPG Maker VX or the Forum? I will help you with some simple guides to understanding.
  1. If you are new to the forum then make your introduction known to the community. Also if you are leaving us we would like to hear you there.
  2. If you have experience something wrong with this Community Forum that is not working right you can contact the staff by visiting the Feedback and Support.
  3. People like us are willing to help anyone who is having any problems with RPG Maker VX Program down here in the Support / Help Forum. We do provide some provided answers in here to read.Or you can contact RPG_Lover or Akod for help through PM.
  4. Need some new images/audios for your game? We provide a wide range for your game development needs in our Resource Showcase. We also provide if you can not find what you need a request for something.
  5. If it's scripts you need. We can help you find what functions you want to add to your games in our Complete RGSS2 Scripts! As well we provide a request if you got something else in mind you need.
  6. Got a game developed and ready to show? You can provide any Completed Games or Under Developed Games with us to get a result from the community.
  7. Now you can also relax in our Off-Discussion of RPG Maker VX.

We do have a small support for RPG Maker VX ACE here. I recommend if your starting to use RPG Maker VX to go and fix your Game_Interpreter. Make sure to follow the Community Rules and you will be OK on your way.


Go to the top of the page
 
+Quote Post
   
???nOBodY???
post Oct 3 2011, 02:44 AM
Post #14


moogles + nightmares + coffee = Scripting Psychopathic Tendency
Group Icon


Type: Coder
Alignment: Chaotic Neutral




QUOTE
I saw a script for this in a different site, but it was coded a bit iffy, an incompatible wth some scripts.

Funny, I found this script posted here right after finding the aforementioned script... Indeedly so, it was a bit iffy... unsure.gif

QUOTE
You should see my Bacon Script.

Sounds tasty... when are your releasing it? mellow.gif



Seriously though, this incarnation of the script is much better; I like it. wink.gif

This post has been edited by ???nOBodY???: Oct 3 2011, 02:45 AM


--------------------
*The Master List Update Project is currently up-to-date with the latest scripts for that dream project!
*By entering the RGSS2/Ruby Scripting section, you are agreeing to abide by The Coder's Creed.

My Scripts
Spoiler:

ACK Script Requests
Spoiler:

Scripts
Stat Change Formulas
GTBS Ziifee's spin menu Submenus
GTBS Weapon Unleash
GTBS Enemy Status
Attack Command Submenu
Jump To (X,Y)
BGM/BGS Fadein
Window_Message - Pop Text
Spell Management Menu
Melee Mastery Management Menu
Ghost List
Save / Autoload
Some Popup v2.9 => v2.91
Scene_StringEntry v1.02
Scene_StringEntry: More Than 24-Character Input
Scene_StringEntry: Scrolling Character Input Window
Scene_StringEntry: Typing Input
MA's Quest Journal - Accept Quest Add-On (internal)
MA's Quest Journal - Accept Quest Add-On (external)
Easy-to-Add Extra Ziifee Spin Commands
Scrolling Battle Message
Non-Differentiating Enemies
Quest Item Drops
(VX) FP Conditional Drops
FFTA World Map HUD bugfix
RSSBS / SSS - Wereforms patch
Death Counterattack
Targetting Extension

My Heart (Resources)
Spoiler:

Projects
Project AMBROSIA
*something generically clever*

Support these:
Spoiler:







Awards:
Spoiler:

Go to the top of the page
 
+Quote Post
   
Supergodjesus
post Oct 3 2011, 06:45 AM
Post #15



Group Icon


Type: Designer
Alignment: Unaligned




Just a quick question: what precisely do you mean by "Before compiling your game, you should remove (DO NOT DELETE) the regular .rvdata files"? How does one remove a file without deleting it?


--------------------
Keep up-to-date with the greatest RPGs ever: Pioneer Valley Games

Need inexpensive art resources? Let me know!


Need AMAZING game music? Note by Note Studios
Go to the top of the page
 
+Quote Post
   
new
post Oct 3 2011, 08:11 AM
Post #16



Group Icon


Type: Designer
Alignment: Chaotic Evil




QUOTE (Supergodjesus @ Oct 3 2011, 06:45 AM) *
Just a quick question: what precisely do you mean by "Before compiling your game, you should remove (DO NOT DELETE) the regular .rvdata files"? How does one remove a file without deleting it?


it means to move all .rvxdata files into a new folder outside the project folder. it should be outside the project folder, else it will be included in the compression.
you only leave the .crvxdata and script.rvxdata in the data folder when you compress your project.


--------------------
download here
(Ask before using a bar from someone's sig -Touchfuzzy)
Go to the top of the page
 
+Quote Post
   
Jet
post Oct 3 2011, 01:43 PM
Post #17


He Who Jets
Group Icon


Type: Coder
Alignment: Lawful Neutral




QUOTE (Supergodjesus @ Oct 2 2011, 11:45 PM) *
Just a quick question: what precisely do you mean by "Before compiling your game, you should remove (DO NOT DELETE) the regular .rvdata files"? How does one remove a file without deleting it?


As new said, you can easily "cut" all the .rvdata files, other than Scripts.rvdata into somewhere else outside the game directory, compile, then put them back into the Data folder.

Thanks everyone for your feedback, I'd love to know some size differences in projects before and after if you want to post them biggrin.gif


--------------------
Go to the top of the page
 
+Quote Post
   
kyros2000
post Oct 3 2011, 02:35 PM
Post #18



Group Icon


Type: Coder




I found a compatibility issue with SwapXT. It was trying to look at the extra tiles folder for crvdata files which are where SwapXT stores its data files. The only files there were the rvdata files of course.
My work around was to copy and paste the rvdata files from extra tiles folder into the data folder and then test run the game to generate the crvdata files. I then copy the files back in the extra tiles
folder. The only issue with this is to repeat the process probably everytime I change something with the passage settings or tile settings etc with SwapXT.
Go to the top of the page
 
+Quote Post
   
Jet
post Oct 9 2011, 06:09 PM
Post #19


He Who Jets
Group Icon


Type: Coder
Alignment: Lawful Neutral




QUOTE (kyros2000 @ Oct 3 2011, 07:35 AM) *
I found a compatibility issue with SwapXT. It was trying to look at the extra tiles folder for crvdata files which are where SwapXT stores its data files. The only files there were the rvdata files of course.
My work around was to copy and paste the rvdata files from extra tiles folder into the data folder and then test run the game to generate the crvdata files. I then copy the files back in the extra tiles
folder. The only issue with this is to repeat the process probably everytime I change something with the passage settings or tile settings etc with SwapXT.


Should be fixed, grab the new version.
The new version SHOULD include files inside of folders inside of the data directory as well, so those files should be compressed now as well.


--------------------
Go to the top of the page
 
+Quote Post
   
Atoa
post Oct 10 2011, 10:22 AM
Post #20



Group Icon


Type: Undisclosed
Alignment: Unaligned




QUOTE
This script does not compress Scripts.rvdata, do not remove it when you release your game.
As the other script, this one is the reason that it don't increase security at all. it would be really easy to bypass it, anyone with average (it's not needed even to be a masteful) script skill can do it.
It would only deceive noob's that learned how to use RM yesterday, but anyone with BRAINS wouldn't be fooled by this.


--------------------
I don't need this
Go to the top of the page
 
+Quote Post
   

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th April 2014 - 02:38 AM

RPGMakerVX.net is an Privacy Policy, Legal.