MZ Help porting MOG_CharPoses into MZ

Hey everyone, I currently need some help with the MOG_CharPoses plugin. For those unaware, this is an MV plugin made by MogHunter, who also made the Chrono Engine, which allowed characters to have different animations during certain states. I've been working on a project called the Schala Z System which is a port of the Chrono Engine to MZ, particularly Chrono Mode (I have on interest in ABS mode).

I've been porting a lot of other MOG plugins alongside it to make sure they work with the system, but now I'm currently stumped with the CharPoses plugin. Anytime I tried to use it after renaming the files appropriately, I would get this. I tried it on an empty project to double check if the Schala Z System was doing something wrong, but no, the same result happens.

ErrorShowcase.gif


I figured it could be because it's taking the Actor 1's dashing sprite and treating it like a giant one, you know the one where it has multiple actors grouped into one, but get this, whenever I try putting the $ sign to make it read it as a single character sprite sheet, it errors out completely. And whenever I set the actor to the character those sheets are based on, whether I added the $ or not, it would still crash and say it failed "%24Actor1_dash.png", even when adding the %24 part.
Screenshot 2025-06-27 134525.png


I have no clue what the problem could be other than MZ having a different method of rendering and managing sprite sheets than MV, in which I don't know exactly where to look since I'm still somewhat an amateur when it comes to JavaScript in RPG Maker. If anyone knows any answers or hints, do let me know
I don't remember having any issue with MOG_CharPoses in MZ but I was using FOSSIL and Cross Engine. Do you still get issues when you use those? If not maybe there's a fix you can copy from.them.
I don't remember having any issue with MOG_CharPoses in MZ but I was using FOSSIL and Cross Engine. Do you still get issues when you use those? If not maybe there's a fix you can copy from.them.
Oddly enough, I also didn't get any issues when using the Cross Engine. It probably has the fix, but I'll check it out at a different time, and it's gonna be a bit tricky since it's mostly designed with Altimit in mind, so it's definitely gonna take me a while
Just ctrl+f the Cross Engine file and look for the CharPoses sections.
Just ctrl+f the Cross Engine file and look for the CharPoses sections.
I did start at a part of it, it's not gonna be that straightforward as it seems, I will have to tinker with it more at a different time
If it helps, The fix is likely in Fossil. As I can use MOG_CharPoses with MOG_ChronoEngine in MZ as long as fossil is being used.

Below is a pic of the included idle pose in action

Edit: Forgot to disable the extra plugins, GALV_CamControl and CrossGraphicsFix, but upon re checking with them disabled it still worked as expected.
Okay, I tried screwing around a little with the scripts and also the Chrono Engine directly ported to MZ, and I think I found the culprit, which is not something I expected. Whenever I try the plugin in the ported Chrono Engine regardless if I have Fossil on or off, it works just fine. However, this is because it's still an MV project and that it's running off of MV's corescript. If at any point you update the corescript to any of MZ's versions (which is the case by default with all of my tests in blank MZ projects), the plugin will break entirely. I confirmed that by making a duplicate of the ported Chrono Engine and updated the corescript from "Unknown" (definitely MV's) to 1.9.0, and the entire project would barely boot up, even when I was using Fossil (which I just learned it was updated recently).

So, my solution here is to rewrite the plugin's syntax and code to make it work with MZ's corescript, which is gonna be tricky.
The project I showed above was one that was started in MZ, and then the Cross engine resources were transferred in.
CoreScript.jpg


Just to check, I started a new project in MZ and added just the MOG_CharPoses.js and related img\characters files ($Hero01.png, etc). Also worked there, even without Fossil. So looks like I was wrong about Fossil being the key, sorry.
Poses_Dash.jpg


I then added the modified to work in MZ, MOG_ChronoEngine.js and the Fossil.js from https://github.com/Aesica/fossil-MV-MZ. Then a quick transfer over of the rest of the ChronoEngine img folder. Finally copied over the Database and Toolmap.

victory.jpg


Quick Fight with some imps. You can see the Victory Pose in Action.

So not sure why you're having issues with MOG_CharPoses.js. Maybe try a new MZ project? Wouldn't think it's any different than updating core scripts, but as you can see this is working for me.
The project I showed above was one that was started in MZ, and then the Cross engine resources were transferred in.View attachment 343887

Just to check, I started a new project in MZ and added just the MOG_CharPoses.js and related img\characters files ($Hero01.png, etc). Also worked there, even without Fossil. So looks like I was wrong about Fossil being the key, sorry.
View attachment 343888

I then added the modified to work in MZ, MOG_ChronoEngine.js and the Fossil.js from https://github.com/Aesica/fossil-MV-MZ. Then a quick transfer over of the rest of the ChronoEngine img folder. Finally copied over the Database and Toolmap.

View attachment 343890

Quick Fight with some imps. You can see the Victory Pose in Action.

So not sure why you're having issues with MOG_CharPoses.js. Maybe try a new MZ project? Wouldn't think it's any different than updating core scripts, but as you can see this is working for me.
Okay... believe it or not, I managed to get it to work, and it is a quirk I noticed with the plugin. Basically, the issue was the fact that the base MZ characters that I was using were part of MZ's default Actors sheet, those are one of the big sprite sheets that have 8 sprite sheets in one. Turns out, if you have one of them selected for your character(s), the plugin then starts considering the other states as part of a big sprite sheet and only goes for what it thinks is the first sprite sheet.

The only way I fixed it was to make sure I selected the standard ones that had a $ at the start. This never happened to me before when I was testing the battles with the Schala Z System, but I guess that makes sense now that I know what's happening. I still don't know why the battles wouldn't activate, though, probably screwed something up in my end
Okay last update here as I finally got everything working including the battles, and I figured I'd mention it here.

The reason why the battles wouldn't start was because the Chrono Engine was above the CharPoses, and it didn't take me until porting the CharPoses before the Chrono Engine for it to work. I've never seen anyone document this, so I'm gonna do it now
Cross Engine does say you have to have the plugins in a specific order. I don't think Chrono Engine vanilla ever explicitly mentions it but the demo project does have all the plugins in a specific order.
Cross Engine does say you have to have the plugins in a specific order. I don't think Chrono Engine vanilla ever explicitly mentions it but the demo project does have all the plugins in a specific order.
Cross Engine didn't mention anything about ordering the CharPoses, it just mentioned putting it between Altimit and Chrono Engine, so I assumed where CharPoses was put didn't matter as long as it's active.

And sure, you could argue that the demo project has a specific order made, but say someone didn't use the demo project as a basis and started off with a relatively blank project (like I did just so I can get a better idea of how the plugins worked) and someone else got a similar issue to mine. I never found anyone saying that the plugins needed to be in a specific order, so I feel like it should be known and mentioned at least.
Cross Engine didn't mention anything about ordering the CharPoses, it just mentioned putting it between Altimit and Chrono Engine, so I assumed where CharPoses was put didn't matter as long as it's active.
...
I never found anyone saying that the plugins needed to be in a specific order, so I feel like it should be known and mentioned at least.
The first post in the Cross Engine thread has a section called Plugin Order with a screencap of the plugins in order. Granted, Moghunter never mentions a plugin order for vanilla Chrono Engine probably because they assumed everyone would build off the demo project (even though it's not required)


I will update my Chrono Engine guide to emphasize the plugin order matters.

Original thread: https://forums.rpgmakerweb.com/threads/help-porting-mog_charposes-into-mz.178579/