RpgTypes and RmmzPluginSchema: RPG Maker MZ Development Helper Library

I am currently developing two helper libraries for development with Maker MZ. Both are written in TypeScript.

They are still in an unstable state, as some parts are incomplete and breaking changes occasionally occur. However, they do offer a variety of useful functions.

RpgTypes

The first one is RpgTypes. This library contains type definitions for almost all aspects of RPG Maker MZ.

It also provides a number of makeCommand**() functions for generating event commands, allowing you to create actions without dealing with the complexity of Maker MZ’s event commands.

RPG Maker MZ has many types, including actors, and this library provides helper functions to generate them.

This makes writing test code much simpler.

RmmzPluginSchema

This is a plugin analysis library.

It parses Maker MZ’s unique plugin annotations and converts them into dedicated data types.

It also includes functions to generate annotations from these dedicated data types, making it easier to write plugins in TypeScript.

8 Likes

lets go More spread of the TYPESCRIPT! :ghost:

good luck with them!

3 Likes

Interesting!
I’ve sent Add CI by take-cheeze · Pull Request #2096 · Sigureya/RpgTypes · GitHub for CI checking

1 Like

Thank you!

The reason for this post is your contribution. As fellow TypeScript users, let’s work well together.

Regarding this library, until two years ago, it was based on your library, niokasgami/Rpg-Maker-MZ-Typescript.

It was very convenient. The reason for separating it was the necessity to manage everything in-house.

1 Like

I have reviewed the pull request.

Due to our management policies, some revisions are necessary, but we intend to merge it.

We place immediate trust in contributions coming via cpprefjp. In general, though, caution is warranted when accepting pull requests from unknown individuals.

OH HAHAAH thank you! I am very happy you based off your work on mine!

am working on upgrading rpg maker MZ to V8! so I wasnt able to work on the MZ typescript d.ts! so it is always a pleasure to see someone else to want to contribute in the typescript d.ts!

1 Like

@ggg_kuroda I apologize for the ping!

I would invite you to pin this thread as it is a very helpful and amazing utility for us plugin developers
(it provides an entire mapping of the RPG Maker MZ codebase using TypeScript definition files), so it helps a lot of plugin developers when coding and getting IntelliSense.

This allows us to proceed with our work with peace of mind. I’m not very interested in the rendering side, so it’s a great help to have someone working on that.

In the future, we plan to completely replace the battle system and build a clean new one. The current system is highly coupled and suffers from numerous issues.

1 Like

oh yehhhhhh I had this issue too. I am working on decoupling the battle system to make it easier.

like that infamous

Window_BattleLog.js

cough