PLEASE HELP! Core Script update ruined my game :(

I have been working on the same project for years (literally over 3000 hours), since RPG MV days and
eventually imported my project to RPG MZ two years ago.
I have never had any issues with all of the mv plugins I was using because I'm assuming it was running on the MV engine or some sort of hybrid. Today I accidentally updated the Core Script
in an attempt to get the Battle Test to work
and now my game will not start at all. I can open the project and edit things, but the actual game test will not work. I can't bring up the console in order to see what the exact issue might be either.
From experience and research, I'm assuming
an incompatibility with the plugins is the cause, now that I'm actually using the MZ engine...
Is there any way to revert my MZ core script back to the way it was
in it's "unknown" form from MV? I am really trying to avoid having to redo all my plugin work from over the years
as it's very specific and I'm not sure there are replacements for much of it
oh no! roll back to previous version (if you use steam).
or what exactly is messed up?
Just to clarify if you are just editing the MV project with the MZ editor? If so you should be able to open up a rpg maker MV project and copy over the MV corescripts I think.

Otherwise you can revert to earlier MZ core script versions with the drop down select when you update corescripts from the editor.
Yes, essentially I am just using the MZ editor for an MV project. I never updated the core script before. I've attempted to revert to all the different corescript versions in the dropdown and none of them will work. I also opened up a back up of the project from before the update and it was now at 1.0, instead of "unknown". So to clarify, the file I'm looking to copy from a new MV project to MZ is rpg_core.js ?
I sincerely appreciate the help!
no, you need to replace all the base scripts with their MV version. In this case the "core" does not mean the literally named core script, but the entire group of engine javascript files.
just not the plugin files...
MV core plugin for MV only, MZ core for MZ only.
even though you can open MZ project in MV and vice versa,
MV dont handle layers like MZ.
MV dont handle layers like MZ.
Wrong. It absolutely does, with the only difference being that you can't actively mess with them like you can in MZ's editor. You would get the same results by leaving the MZ editor's layer control on auto.
no, you need to replace all the base scripts with their MV version. In this case the "core" does not mean the literally named core script, but the entire group of engine javascript files.
just not the plugin files...
Could you please specify exactly which files need to be replaced and where? Do they go in the JS folder itself, but not Plugin folder?

oh no! roll back to previous version (if you use steam).
or what exactly is messed up?
reverting to the previous version doesn't seem possible as it was labeled as "unknown" and isn't available in the dropdown menu :'(
hard to know how to fix it by than as I use the stand alone version =)
so I cannot really help with steam as I cannot block it for NOT updating.
MV core plugin for MV only, MZ core for MZ only.
even though you can open MZ project in MV and vice versa,
MV dont handle layers like MZ.
Like Sword of Dusk said, you actually can control tile layers in MV, just not through the editor. If you use that iOS map editor, or manually edit the map JSON files, or use a MV tilechanging plugin like Shaz's or Ocram's you have layer control.
If you use that iOS map editor, or manually edit the map JSON files, or use a MV tilechanging plugin like Shaz's or Ocram's you have layer control.
I use neither of those, I do have TSR_MapOverlay, but without plugins, I don't have MZ,
so I couldn't use that, but it should be pure mapping through it, so I don't know how
the iOS exactly work though.

but good to know though =)
After copying the core scripts from a few different projects from mv back to my project, I am now getting this error when I try to test the game.
rpg help.png
I think you've done something wrong, since that function definitely exists in the core scripts of both MV and MZ. 😅

This announcement has precise instructions for updating an RMMV project's core script version, under Updating your Projects:
Note that the first step is to make a copy as a backup in case something goes wrong. This is good advice in general.
I'm pretty sure in order to undo my mistake with the core script update, I just need to know the exact files to copy and exactly where to replace them. I found a backup project from not long ago that still works fine.
Screenshot 2025-03-01 072425.png

In your project folder ---> js folder

Make sure you have the rpg_ files copied over from an MV project (6 files).

The MZ versions are called rmmz_core.js etc that won't work for your MV project
Here's the relevant part from the thread I linked in my previous post:
Archeia said:
Create a new project or go to the NewData folder in your RPG Maker MV root (where MV is installed) folder. Copy the following items and replace the ones in your existing project:
  • Copy the file "index.html" and "package.json" from NewData to your project
  • Copy the files libs folder, "rpg_*.js" (example: rpg_core) files from NewData/js to your project js folder
  • Do not replace your plugins.js !
  • Done!
In your case you can source the files from your working backup instead of NewData.
After copying the core scripts from a few different projects from mv back to my project

Why?

all of those files should always come from the SAME project.
because if those projjects were made with different core versions, then you now have a mix of incompatible different MV versions in your files.

why do something like that anyway? just open one functional project (or better make a new project with MV) and then copy all those files and nothiing else.
Why?

all of those files should always come from the SAME project.
because if those projjects were made with different core versions, then you now have a mix of incompatible different MV versions in your files.

why do something like that anyway? just open one functional project (or better make a new project with MV) and then copy all those files and nothiing else.
As in, I tried multiple different attempts at replacing those exact files from different backups of the project in batches... while looking for a project that was still compatible. I didn't mismatch files from different projects lol

For whatever reason, all these attempts at replacing the core script data from a previous backup has failed so far. BUT I've managed to copy over all my current map,plugin,system,global,save etc data into an old backup that still works and it seems like all my work from the last few weeks has transferred over, so hopefully this was A solution.
Since you said it's a big project, I suggest to create regular backups of your project in the future by zipping it and uploading it to your cloud service of choice (I don't recommend keeping it on a Hard Disk, since they are prone to fail. SSD are also good though!). Especially for big changes like updating js files! :LZSproud:
For whatever reason, all these attempts at replacing the core script data from a previous backup has failed so far.
I've just realised that for changing an MZ project to MV, you would also have had to copy files like main.js (which MV expects to be loaded after the core scripts, but MZ expects before, explaining the error you saw) and maybe the fonts folder, in addition to all the files mentioned in that announcement.
I've managed to copy over all my current map,plugin,system,global,save etc data into an old backup that still works and it seems like all my work from the last few weeks has transferred over, so hopefully this was A solution.
So that "reverse approach" you've used is probably the simpler option, i.e.
  • Everything from the data folder (database + maps);
  • All plugins and plugins.js (Plugin Manager config file);
  • All custom image, audio, etc resources.

Original thread: https://forums.rpgmakerweb.com/threads/please-help-core-script-update-ruined-my-game.175891/