The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: game_guy on June 06, 2010, 01:29:13 AM

Title: Database Breaker
Post by: game_guy on June 06, 2010, 01:29:13 AM
Database Breaker
XP Version: 1.0
VX Version: 1.0

Introduction

(If this is in the wrong section please move, I didn't know where to place it)
Database Breaker is a simple GUI ruby app designed to break RMXP's database limits. For example, you just happen to need more then 999 items, RMXP won't let you. So you can use a script to change the items or you can use this.

God knows why I'm releasing this or why anyone would need over 1000 items or weapons etc. but it gets the job done. I made it mainly for practice and I don't expect anyone to use it.

Features


Screenshots

Video: http://www.youtube.com/watch?v=f7xfk7IzvEs

Loading up the GUI
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Fscreen1.png&hash=e08598e6e31b4a2825de1bec29f217253c9490d1)
Editing a few things
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Fscreen2.png&hash=b04a5122dbd013cc9d759886dbf55adfa61fecae)
Saving
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Fscreen3.png&hash=d710a014499b1e02096944e421cc1c52fe12e9e0)
Proof of Variable and Switch changing
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Fscreen4.png&hash=738bf90a5f7c1afd5b10719032973a7f81a0f4f3)
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Fscreen5.png&hash=b15b198c12e09c8deb16e567c6dcd86ca71f3a71)

Download

Database Breaker download comes with the program and a data.rb file. It needs the data.rb file in order to edit your data properly.
Download the program, extract both files to your project folder and then run DBEditor.exe.

Mirror 1: RMXP Version Download (Size: 4.7MB) (http://decisive-games.com/ggp/dbeditor_release.zip)
By downloading the above program you agree that I or this program is not responsible for any loss of data. There are instructions and you should follow them to avoid any loss of data.

Mirror 1: RMVX Version Download (Size: 4.7MB) (http://decisive-games.com/ggp/dbeditor_release_vx.zip)
By downloading the above program you agree that I or this program is not responsible for any loss of data. There are instructions and you should follow them to avoid any loss of data.

Instructions

NOTE: These instructions work for both the XP and VX version.
Step 1:Download and Placing Files
Okay so scroll up a little for the download. You can save or just open the zip. Extract the two files into your Projects folder. In the end it might look something like this.
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Ftut1.png&hash=640904ac803b596466ad759717d5d33f334c1bf6)

Step 2:Backing up your Data (Optional)
Okay you don't have to do this but its recommended if you plan on using a very large number. The only time you need to worry about the program corrupting your game data is when you close the program while its dumping the game data. Okay so just copy and paste your data folder. Maybe something like this.
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Ftut2.png&hash=4e6debcba826245ea0c3fe5e1b595c4663c2e015)

Step 3: Running and Editing
Okay run DBEditor.exe and a window and console will pop up. The console is for your needs telling you what its doing and when its done doing that. This is so you know for sure when its done editing your data.
The window shows you the size of everything in the database. The number of actors, classes, skills, items, weapons, armors, enemies, troops, animations, tilesets, common events, states, elements, switches, and variables.
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Ftut3.png&hash=217690d5077385e626565401e80467979423db88)
Okay so you only want to edit one thing. The program is made so it only makes changes when changes have been made. For example, you leave everything the same except items. It will change the number of items and save it but it will not edit any other data. Okay for this example we'll change Items to 2000
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Ftut5.png&hash=c6aaf519149c08d03d926d6880c85ff503b6ef06)
When you're ready just click Save Data. Now if you look at the console it'll say Editing Current Data. Then you'll see Dumping Game Data... You will want to wait until it says Saving is Complete! This is to avoid any data corruption. Here's the console
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Fscreen3.png&hash=d710a014499b1e02096944e421cc1c52fe12e9e0)

Step 4: Seeing the Proof
Open up the project, and go into Items. You should see 2000. Click Change Maximum and try to go over 999 and you'll see it doesn't allow it.
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi678.photobucket.com%2Falbums%2Fvv143%2FGameGuysProjects%2Ftut4.png&hash=442d18a22fb3850105eb5f40578caee5dae6bf70)

Notes

A VX version is on its way. As of right now there's only one  version and its for RPG Maker Xp. Its not recommended to change anything over 10000. If you do it takes a little for RMXP to load up the project.
NOTE: DBEditor.exe and data.rb must be in the projects folder before being able to run.

Credits and Thanks


Author's Notes

Enjoy! If you happen to run into a bug or an error, the console will tell you what the bug is and what line its at. Please post the error if you happen to bump into one.

NOTE: I don't expect anyone to use this. This was made for experience and practice. It was a fun project to make and enjoyed making it.
Title: Re: Database Breaker
Post by: cozziekuns on June 06, 2010, 01:35:31 AM
Awesome, though I'm a bit worried that having 99999 items in my inventory will lag things a bit.

NOTE: I don't expect anyone to use this. This was made for experience and practice. It was a fun project to make and enjoyed making it.

I do things like that sometimes. I hope that it was a fun experience and you got a lot out of it!
Title: Re: Database Breaker
Post by: game_guy on June 06, 2010, 03:06:52 AM
Awesome, though I'm a bit worried that having 99999 items in my inventory will lag things a bit.

NOTE: I don't expect anyone to use this. This was made for experience and practice. It was a fun project to make and enjoyed making it.

I do things like that sometimes. I hope that it was a fun experience and you got a lot out of it!


Yea, I like reading those game info's saying it has thousands of weapons or whatever yet there isn't nearly 1000. I'd still like to see a game with thousands of weapons.

The experience was great, it took me about 6 hours to make, I enjoyed every bit of it except running into the occasional bugs.
Title: Re: Database Breaker
Post by: modern algebra on June 07, 2010, 10:26:51 PM
pretty neat game_guy. You also might be surprised by what people want: http://rmrk.net/index.php/topic,38945.0.html
Title: Re: Database Breaker
Post by: game_guy on June 08, 2010, 12:33:04 PM
Haha thanks wow. xD Glad someone's gonna find it useful. legacyblade also mentioned that it could be good for games like oblivion with all the useless items laying around.
Title: Re: Database Breaker
Post by: shintashi on June 08, 2010, 05:18:02 PM
i think this kind of practice could be very fruitful. someday you or someone else might figure out a way to make a "new attribute" maker for the database, since all four attributes use virtually identical code and the subtle differences could probably be handled with short scripts. 
Title: Re: Database Breaker
Post by: Mitsarugi on June 18, 2010, 12:28:33 PM
Tile sets = 10 , what's that suppose to change?
Title: Re: Database Breaker
Post by: game_guy on June 18, 2010, 05:17:56 PM
The number of Tilesets in the database. If you click Database, go to the Tilesets tab, it'll change the number of those.
Title: Re: Database Breaker
Post by: Mitsarugi on June 18, 2010, 08:34:10 PM
thats for vx? or xp?
Title: Re: Database Breaker
Post by: game_guy on June 18, 2010, 10:40:24 PM
xp