MZ (Browser-Based Database Auditor & Script Extractor)

Hey everyone,

I wanted to share a free, browser-based utility suite I’ve been building to help developers audit their project databases, protect against hidden script crashes, and optimize load order layouts for RPG Maker MZ. It runs 100% locally in your browser with zero server uploads required.

Here is a breakdown of what the suite handles:
Key Features:
  • Database QA Audit: Automatically parses project database assets to instantly diagnose invalid JavaScript syntax, missing closing braces, or broken damage formulas in notetags before they cause runtime game crashes.
  • Load Order Optimizer: Scans active plugin arrays to visually map out method overwrite conflicts and flag structural tier placement violations.
  • Global Script Extractor: Processes dialogue, speaker names, and choice prompts from your data files into an interactive preview table or clean CSV export for seamless proofreading or localization.
  • 1-Click Sandbox Demo: No files on hand? The workspace features a Load Demo Sandbox trigger so you can test and simulate the entire diagnostic engine instantly from any browser or mobile device.
Haven't spent much time looking into your stuff, but just a quick note:

MK_Core is no longer a plugin. It's MK_RNGMaps_Core for a while.
Yes, putting it below YEP&VS usually is the better way, but this is only a recommendation and not a must. Putting plugins below VS is something I recommend for every plugin anyway.

By the way, I actually avoid the term "ecosystem" for my plugins. All of my plugins are stand-alone (except for addons, of course); people can use another Random Maps but still use my Minimap, or they can use my Random Maps but with a Minimap from a different author. This is actually something that I invest a lot of time in, and I'm very proud of.

If not too much to ask, please avoid using the term "ecosystem" in conjunction with my plugins, as it can give people a false impression.
I'd actually be happy to have this as a non-browser, local config. That's how impressed I am.
Haven't spent much time looking into your stuff, but just a quick note:

MK_Core is no longer a plugin. It's MK_RNGMaps_Core for a while.
Yes, putting it below YEP&VS usually is the better way, but this is only a recommendation and not a must. Putting plugins below VS is something I recommend for every plugin anyway.

By the way, I actually avoid the term "ecosystem" for my plugins. All of my plugins are stand-alone (except for addons, of course); people can use another Random Maps but still use my Minimap, or they can use my Random Maps but with a Minimap from a different author. This is actually something that I invest a lot of time in, and I'm very proud of.

If not too much to ask, please avoid using the term "ecosystem" in conjunction with my plugins, as it can give people a false impression.
Wow Aerosys, I didn't expect to get a response from you. I bought a few of your plugins by the way.

I appreciate the correction on the naming convention. I'll update the scanning array from MK_Core to MK_RNGMaps_Core right away to reflect the current framework.

I completely understand and respect your point about avoiding the term "ecosystem." I’ll adjust the wording in the documentation and future updates to emphasize that your plugins are built as standalone.

I really appreciate the insight and the feedback!
I'd actually be happy to have this as a non-browser, local config. That's how impressed I am.

Thanks for the feedback! I'm glad the tool made a strong first impression. I went with a browser-based setup so anyone can run audits quickly without installs or security prompts. But now that you mentioned a local desktop version... I may have to consider it in the future. But for now this is still a work in progress.
Okay, so I gave it a try by dropping in my recently-released game (I cloned the repository and opened index.html locally in my browser). I'd say I've found a few issues (with your tool, not my game). It also confused me a bit that the drop area was only in the top left (at first I tried to drop on the list area, then the report area), but that's not really a bug, at most a minor UX issue.

It did correctly identify three places where I overwrite a method without aliasing. Two of them were definitely intentional on my part; the other is in a 3rd-party plugin, but it was probably intentional too. I was a bit surprised it didn't find more cases, mind you (I thought I had quite a few more methods that were overwritten without aliasing). But it also identified one more place where a method was overwritten, in my Improved Pathfinding plugin (you can find it from my signature if you want to take a look). This one is a false positive. The plugin defines the method twice in different ways (based on whether the plugin is running in MV or MZ), but your tool detects it as a conflict with itself.

The next issue I see is that your damage formula check doesn't seem to account for the S and X parameters, nor for functions defined on the battlers. Here are some examples of perfectly valid formulas that the tool detected as an error (one formula per line):

JavaScript:
Math.floor(25 * b.pha ** 3)
a.pha * a.luk / 4
200 + a.mat * a.pha
10 * a.agi / b.agi * b.paramBuffRate(3) * b.paramBuffRate(5)
(50 + (a.mat + a.luk + b.luk) / 2) * +!a.isStateResist(67)
$gameSwitches.setValue(260,true); 110 + a.mat * 2 - b.def

I could understand if it doesn't understand custom functions define by plugins, and maybe it's fine to not support access to globals like $gameSwitches (I don't imagine that's super common), but I'd expect it to at least understand the core, built-in functions.

I also checked the 3 cases of unbalanced angle brackets that your tool detected in my game. 2 of them are a < placed inside the value of a note tag, something like <noteTag:something < somethingElse>. This does not cause problems as far as I am aware (though a > in such a location would definitely cause a problem). The other was a > in a JS code block from Hime's Effect Conditions plugin. So, they were all false positives. I'm not sure how useful this check is; I imagine unbalanced brackets do cause problems sometimes, though, and I could totally see that > in the JS block causing a major problem if there happened to be an unbalanced < a bit earlier and a : somewhere as well.
Nice.

Thanks for testing it with a real project. Your feedback helped surface a few issues, and I’ve pushed updates to address them. I really appreciate the input.
Cool!

I do believe you misunderstood one little thing though. Your new test case for balanced brackets is:

Code:
<Custom Note: value < 5>
<Range: a.hp > 50>

In this case, Custom Note should be fine, while Range would ideally raise an error – though it depends on the plugin, that'll typically give the note tag a value of a.hp rather than the intended a.hp > 50. The case where a greater-than in a note-tag should usually be fine is this kind of situation:

Code:
<JS>
if(a.hp > 5) {
// do something
}
</JS>
Ahh I see.

I reviewed extractMetadata again and updated the validator to follow the engine’s exact parsing order. It now strips JS blocks first, handles inline tags the same way the engine does, ignores valid operators, and only counts the remaining brackets. With this change, your safe example passes and <Range: a.hp > 50> is correctly flagged.

Note: Even if a plugin supports something like <Custom Note: value > 5>, the tool will still mark it as invalid because the engine itself truncates the tag at the first >.
I just tested my project plugins.js from MV into it, mostly is yellow
of validation mismatch, as it can read the tiers I had in the desc on top.

but I do wonder, what does "need script" means behind the plugin name?
I know my own plugins, the order doesn't really matter here, but I categorize them
for what they do, but its a nice little tool.

Im not sure for what it could be used if it requires the plugins.js?

all I know from quick checking, it works, and looks cool ^^
Hey, thanks for giving it a test run.

“Need Script” just means you only dropped in plugins.js. The tool can read your load order and descriptions, but it can’t scan the actual code. That’s why you saw those yellow tier warnings—it was treating your custom category tags as strict load‑order tiers.

To get the full results, highlight your actual plugin .js files from js/plugins and drop them in together with plugins.js.

Note: Personally, I just drag in all the .js files from js/plugins even the disabled ones. The tool still works as expected.

You can also drop in your data/ (Skills, Items, Weapons, etc).JSON files to check for broken formulas or unclosed notetags.

Though I am still working on this as some of the .JSON data needs reviewing.

Original thread: https://forums.rpgmakerweb.com/threads/browser-based-database-auditor-script-extractor.183835/