MV Shaz Tile Changer but it works with MV3D

Hello fellow game devs, I'm looking for a plugin/wondering if anyone could modify shaz's to work with MV3D. I know that MV3D renders tiles from the map and not how MV renders tiles which is why they're not exactly compatible, but does anyone know of a way to make this work? I have found a solution but it's not very convenient so if we can make the two play well together that'd be great. Thanks in advance!

MV3D: https://forums.rpgmakerweb.com/index.php?threads/mv3d-3d-rendering-for-rmmv-with-babylon-js.114971/

Shaz Tile Changer: https://forums.rpgmakerweb.com/inde...opy-tiles-and-change-tiles.90437/#post-843176
you should post links to the plugins that you want help with.

that said, depending on how MV3D works it might be easier to make changes to the MV3D-data directly, completely bypassing Shaz' tilechange.
@Andar, sorry, I'll get that edited.

That might possibly be easier, but I'd need to do a deep dive into how mv3d works. Not very hard, but long and monotonous, and although I'm fine with going through that process, I'd rather edit Shaz's plugin.
the problem with that idea is the question of "where does MV3D get its data from". If that plugin gets its data directly from the mapfile, then nothing of shaz plugin will ever get through.

I haven't checked the tilechange plugin, but there is no way that that plugin saves directly to the mapfile. Because if it would do that, the changes would be present in the next new game from the beginning, and that would defeat the plugins purpose.
So most likely Shaz keeps track of the changes in a different data section, and whenever a map is loaded that data is cross-referenced.

And getting that cross-referenced data from two different datastructures, one of which is completely unknow to the MV3D, will likely require changes to MV3D because I consider it extremely unlikely that MV3D simply loads the regular map completely before transposing it.

As I said above I haven't taken the time to check either plugin myself, but unless I'm very wrong I don't think it will be as easy as you assume.
@Andar, yeah I'm pretty sure that's how it works... Yeah now that I think about it it seems very tricky
shaz patches into onMapLoaded to change the tiles in memory to restore any permanent changes that you made using his plugin when you reenter the map.

If it's just an order of operations thing you might be able to move the map patch to be just before mv3d reads the tile data.
Aha! I've got it! 😤 It's a combination of the two highlighted things in the event; remove any of the highlighted ones and it ceases to work:
1619752949173.png

Original thread: https://forums.rpgmakerweb.com/threads/shaz-tile-changer-but-it-works-with-mv3d.135977/