Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Editing .rvdata?

Mechz

Member

I'm sorry for creating two topics in such a small amount of time. :0

But something's been bugging me about .rvdata--- particularly, is there a way to edit it? It doesn't seem like it would be illegal to do so. I imagine putting custom data into a .rvdata file would make it unreadable to the the visual database editor, but I don't think that would effect the the way RMVX compiles the program.
 

Mechz

Member

Bump

opening the rvdata with simple editor like notepad does nothing but bring up the variable names in between an incoherent mess of what I believe to be the variable data, which are strange ascii(?) symbols.

I thought "Hey, Japanese program == Japanese encoding?" so I opened it with three different Japanese text editors... Same thing. :/

This makes me wonder: Why do we have rvdata instead of a plain old text file? .rvdata doesn't seem to do anything but hold... data. The visual editor wouldn't recognize an edited file, but I don't think people would be editing the files unless they didn't need the visual editor.
 
...
You just opened up the serialized data in a text editor.  You need to make Ruby load up the data with Marshal.load(filePath).  This will make Ruby load the data into memory so it can do things with it.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top