Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 09 Dec 1999
Offline Last Active Today, 11:11 AM

Topics I've Started

RPG Maker VX Ace data conversion utility

06 August 2013 - 07:21 PM

I picked up RPG Maker VX Ace in the Steam summer sale, and really my only complaint is that it stores the game data all in binary so using version control with it is highly annoying. While there are scripts to convert the data to YAML for VX and XP I couldn't find one that worked with VX Ace, so I wrote my own. (And as an exercise in masochism I tinkered with it until it would work with VX and XP.) Since I noticed some discussion about other people picking up RPG Maker during the Steam sale, I've decided to share it here.

I used cygwin's ruby 1.9.3 and the Psych 2.0.0 ruby gem, which appears to be the most recent version. However, Psych 2.0.0 has some bugs that impacted the generated YAML (one major and one minor) which I monkey patched, and since I was already rewriting the Psych code, I added some functionality to make the generated YAML prettier. Long story short, this code probably won't work with any version of Psych but 2.0.0.

Basic functionality: you point the RGSS.serialize function at the directory that contains the project file and it will read the contents of the Data/ directory and dump YAML for the data files in a new YAML/ directory and the scripts in a Scripts/ directory. It can also convert save files to YAML which will be in the same directory as the project file. And, of course, it can reverse all these operations.




Note that this is my first ruby program so some bits are written in a convoluted way just because I wanted to try out an interesting language feature.

Article formatting

30 December 2011 - 06:22 PM

I don't know if this is an again or a still, but there are articles that need to be reformatted. Ex: my article on exceptions seem to have had most of the new lines stripped out (edit: and most of the formatting and the footnote links are gone) and superpig's article on debugging cuts out in what looks like the middle of a header.

Code boxes should scroll vertically

30 December 2011 - 12:38 PM

Code boxes should scroll vertically as well as horizontally (or if they do currently scroll vertically the maximum height should be reduced a lot). Right now a code dump that has a lot of lines and a lot of characters per line requires scrolling the page up and down repeatedly in order to get at the horizontal scroll bar for the code box. And I'm running at 1920 x 1280 right now, so it's not as if my screen is particularly small.

Example of a box that should allow vertical scrolling: first code box in this post.

News comment profile lookup

30 December 2011 - 10:29 AM

So far there's seems to have been only one user comment on a news article since the new site went up, in this article, and clicking on the profile picture for that comment brings up an error page. Older comments from before the switch seem to link to profiles correctly.

tags you can't search for

28 December 2011 - 07:32 PM

It probably shouldn't be legal to add a tag that you can't search for. Admittedly this means you can't tag a post as C or HTML but since you can't search for it, using those tags doesn't seem have much of a benefit. Especially since clicking on the tag just sends you to the search. More to the point, it seems like a couple of posts so far have gotten tagged with either empty tags or spaces. [1] [2]