Some questions on VXAce databases...

Status
Not open for further replies.

Link

Hero of Slime
Veteran
Joined
Mar 13, 2012
Messages
227
Reaction score
11
First Language
English/Engrish
Primarily Uses
Now, I haven't honestly messed around with them, so bare with me here... I was wondering if there was any kind of documentation for opening the database files outside of VXAce? I plan on creating my own database file for a feature of a script I'm planning, but I want an interface to use with it which I'll be writing in C#. I don't even know where to begin with trying to figure out the databases >.> If it's allowed, how would one go about figuring out how to open it outside of VXAce? :3
 

Andov

Villager
Member
Joined
Jul 22, 2012
Messages
14
Reaction score
0
First Language
English
Primarily Uses
I understand your question. I do not have an answer. Instead I have a question: if editing your database outside the environment is NOT an option then how can you ask for help with what you want to do?

Are you able to seek advice on how to accomplish a specific goal? Your idea of editing the database might be only one of several ways to do it.

Good luck tho

-A-
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
rvdata2 files are just standard marshaled ruby objects (lol maybe not "standard)

Maybe the people that wrote the VX to VXA converter in C# (or C++) can send you some code.

I've been wanting to write my own tool for the files as well, but I've been kind of lazy on translating marshal.c to some other language.

I think you will need the rgss library though, since it needs to know what all of the different classes are.

A simple test using ruby 1.9.3:



Code:
filename = "Actors.rvdata2"
f = File.open(filename)
p Marshal.load(f.read)
Resulted in



Code:
undefined class/module RPG:: (ArgumentError)
Not sure why though.
 
Last edited by a moderator:

amerk

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,433
Reaction score
495
First Language
English
Primarily Uses
Beyond scripts that allows some flexibility with the program, I'm not sure what else you can do legally. It sounds like you want access to the code that makes the program function, namely the database, so that you can change it or add to it however way you wish. This is not possible (as far as I'm aware) without hacking into the program and breaking the EULA. Note, I'm not a scripter, so I don't know 100%, but my guess is if you can't change it or manipulate with scripts within the editor, then it can't be done.

If it were possible, people could have re-designed the database of the previous maker (VX) to be more like VX-Ace without spending the $90 on Ace.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
I think he just wants to be able to create custom rvdata2 files the same way the engine does it so that people using his app can just setup all of their data without to use silly workarounds like note tags or massive in-script arrays or other bad solutions when it comes to large amounts of data.
 
Last edited by a moderator:

Kilravok

Veteran
Veteran
Joined
Jul 18, 2012
Messages
73
Reaction score
4
First Language
English
Primarily Uses
RMMV
It would be quite useful if adding to the database was possible. For one game idea I have in mind, I would like to add a complete page to the database or an object type, but having not a clue about scripting in any language, I would not even know where to start, even if it was no violation of EULA.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
An external editor would be REALLY nice. When I add new stuff, I create the classes in script, and add an extra script to populate it and export to (in my case) an .rxdata file which I remove before distribution. Just a tad painful.

If you were not modifying the RTP database, but using this tool to create your own additional databases, that would not be a violation of the EULA.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
It would be quite useful if adding to the database was possible. For one game idea I have in mind, I would like to add a complete page to the database or an object type, but having not a clue about scripting in any language, I would not even know where to start, even if it was no violation of EULA.
I have written a simple proposal (here) for an external database editor which will extend the default editor to allow for customized fields, as well as a custom script which will load data in three steps:

1 - load default rvdata2 files

2 - load custom rvdata2 files and merge them with the existing data if necessary

3 - load custom save file data and add them to the data arrays

The external database will create the custom rvdata2 files described in step 2.

It will store extra data that is not available in the default RPG classes, and add them to the objects at runtime.

So for example, if you wanted to give your enemies some levels, you would use the external editor to specify enemy levels, save it as a Custom_Enemies.rvdata2 file, and then just have the game load up the data and merge them appropriately so that your enemies now have levels, AND you didn't have to bother with notetags.

The script will be an extension of my Custom Database script, which already handles loading custom data from save files.

However, we would need the information that Link has been asking for in order to actually create an external GUI.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
@Dary, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Closing
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top