A question about RPG Maker VX Ace and its graphics API

Hi hi.

I have a question to ask after I came across this thread which I wasn't sure if I could revive. I didn't want to break the forum rules and those state that support threads should not be necropost'd.

So, @Dev_With_Coffee mentioned over there that every version of RPG Maker from 2000 to VX Ace (the one I use) make use of the DirectX API to render the visual assets and effects on screen.

I'd like to ask, is that really true though? Is there a page I can read more about that?

You see, normally, I use a program that injects itself into games and displays valuable information about how those games perform framerate and hardware usage wise. However, if RPG Maker VX Ace games truly did use DirectX, I feel that the program wouldn't fail to inject itself into them, but it does. Perhaps it's an ancient, worthless version of DirectX that is being used? That I don't know.

Now, sometime ago I came across an actual project that did reimplement things using the DirectX API. It's called RGDirect and it's been a bless for me, as it solves the god awful performance problems that RPG Maker VX Ace games has always had in my computers while playing on windowed mode. And surprise surprise, the program that I inject into games normally does work on RPG Maker VX Ace games that use RGDirect.

So, is it really true that RPG Maker VX Ace games use DirectX as the graphics renderer?

Thanks in advance for reading ^^!
As far as I know, it does use DirectX by default, but RGD was the first implementation that made use of DirectX on VX Ace while granting access to actual DirectX classes.

However, since it is not an open source library, I cannot confirm my claim.

EDIT: fixed error in my answer.
there are three different variants of your answer.

1) Originally VXAce used (like VX and XP) a closed-source graphics library that no one knew any details of.
I believe that this library did access the DirectX Libraries, but most likely an older version - Direct X changed massively since DirectX 1.0, and that includes the internal DX-API. If your injector program requires a modern version of Direct X then it is easily possible that Ace uses an older variant that is incompatible.
And the fact that this library was always limited to 640x480 indicates that it did use older DX versions and didn't give full scale access.


2) there was an alphatest-library that was also closed source and only available through this forum for a few months.
This library was a test to see if it could be used to support higher resolutions than the limited 640x480 of the original library.
Shortly before it could be considered officially stable the entire project was scrapped, probably in favor of MV programming.
But this is why there are several Ace-games out there that have higher resolutions than 640x480 without using window-zooms. But due to the EULA only those who originally downloaded it here are allowed to use it.

3) The directX implementation for VXA you mentioned is basically a fanproject that tries to rebuild the original graphics library to break its limitations without breaking the EULA.
DirectDraw is the thing that displays the fullscreen-mode, game-rendering in every version at least up to Ace is done through GDI or anything similar without use of hardware-acceleration (in case anyone ever wondered why zoomed and rotated sprites tend to be big framerate-killers).

Some versions check if e.g. Direct3D of DirectX8 is installed to assure that stuff like fullscreen which is the default in RPG2000 and old versions of RPG2003 will work as intended or maybe to cut support of any older OS that doesn't support e.g. DX8, but around nothing of the fancy stuff is really used by any RPG Maker software (at least up to Ace) by default.

~炬燵あ
  1. RGD uses Direct3D which is part of DirectX. RGSS doesn't use Direct3D but other DirectX APIs like DirectMusic for playing MIDI files.
  1. The used graphics library is actually open source: https://github.com/ain1084/nxlib

Original thread: https://forums.rpgmakerweb.com/threads/a-question-about-rpg-maker-vx-ace-and-its-graphics-api.146397/