VX Ace to MV Converter

I am getting an error on line 837:
Screenshot_2.png

How do i fix this?
It means you have a Map###.rvdata2 in your data folder that is not in your game. You have copied a map file or saved one from somewhere else. Get rid of it, and the error should stop happening.

If you cannot figure it out, insert the following after line 834:
Code:
p "Map " + filename + " (" + map.display_name + ")"

and play with the console turned on. When the error appears, the map it failed on will be the last one printed to the console window.
I am getting an error on line 10:
erro1.png
erro2.png

How do i fix this?
How do i fix this?


You need to put the script in the correct location. Scripts go below the Materials section, not at the top of the list.
You need to put the script in the correct location. Scripts go below the Materials section, not at the top of the list.
thank you so much. my little angel. S2
Hi @Shaz, I was just wondering what does this error mean? I don't have any other scripts but this. I checked and Map81 does exist (I have it on BG) and for some reason it is where the error is happening? The name is Pier(Backup)

(Deleted Image)

EDIT:
Found out the issue! So it happens I deleted a bunch of maps and the converter thinks that they still exists (I have over 162 but I deleted a bunch in between during trimming). So the converter fails.
@Archeia, are they still in your data folder? Was it some error about $dataMapInfos element not being defined, on about line 837? The converter looks at everything in /data/Map*.rvdata2 and doesn't check to see if they're still in the hierarchy.

I can help you work through it and get you a solution if you like. It'll probably be just a one or two line change but I need to be sure what the situation is.
@Archeia, are they still in your data folder? Was it some error about $dataMapInfos element not being defined, on about line 837? The converter looks at everything in /data/Map*.rvdata2 and doesn't check to see if they're still in the hierarchy.

I can help you work through it and get you a solution if you like. It'll probably be just a one or two line change but I need to be sure what the situation is.

So basically, I had 162 maps. And the course of development, I deleted 82-161. Your plugin throws a null error if I have a case like that so I have to basically enter 82-161 empty maps so it would run properly.
It really shouldn't, because it's perfectly valid to have missing maps. And you shouldn't have to go and create them all just to avoid it.

I'm happy to take a look if you want me to.
It really shouldn't, because it's perfectly valid to have missing maps. And you shouldn't have to go and create them all just to avoid it.

I'm happy to take a look if you want me to.

Ah it's ok. I already did the workaround and finished ;w;
This thread makes me wonder if the new layering system coming back from old xp will help map conversions between XP and MZ. Surely we'll be able to work on new converters up to MZ, might be fun... or not ^^'
This thread makes me wonder if the new layering system coming back from old xp will help map conversions between XP and MZ.

The difficulty was never to do with the number of layers, or what went on each layer. That would be easy to convert. The difficulty is in the layout of the tileset, where XP's autotiles were in a different format, and an XP tileset included one image that could have hundreds, even thousands of tiles, while later versions were fixed.

Still, it would not be difficult to do a conversion of the map data itself. It was really the database changes that made conversion difficult.
Hi, made a game some time ago in VX.
I Converted it to VX Ace with the converter from FenixFyreX.
And then i converted it with your script to MV.
After some troubles with a "could not found formula" and "nil to string" error, i managed to convert it to mv.

But i could not load skills.json and item.json. Still no problem i took the standard one to open my file.
And i can just remake them, not that much work.

But,...
my world map did not transfer. The map with its name got transfered but it is an empty 17x13 map.
All the other maps with the events transfered without a problem.

Have you an idea, what i could do?

Thanks in Advance!
There is a known issue with the VX to VX Ace converter that puts invalid data into the skills. That was highlighted when any of those projects were converted to MV using my script. Not sure about items - I suspect there's something invalid in either a name, description or notetag on an item somewhere.

And I can't think of any reason why the world map would not go across.

Did you make any changes to the script to get around the errors you were having? Do you have the latest version of the script?

If you want to send me your Ace project I can try and run the converter and see what it does. If you want to do that, let me know the map # for your world map.
whats the difference between Ace MV Converter.rb <-Link and Ace to MV Converter.rb <-Link as i was going to use it to convert a 5 year old project to mv and confused to which one to use as both show up in my F:\SteamLibrary\steamapps\common\RPG Maker MV\dlc\RPGmakerWeb_plugins\Shaz
It looks like the JP team added some documentation in Japanese and made some corrections - wonder why they didn't add the corrections to the original version. Use the Ace to MV Converter.rb file, with the JP documentation.
What does "$game_map is not defined" mean?
Happens as soon as my intro is over in my now converted mv version and the game starts and the player are about to be controlled.
@SkottGaming did you start a new game on the MV version?
or was the Ace-Project already converted from a regular VX project?

That error should not happen on a new game, unless the conversion somehow failed or contained bad data. And in the past all conversions from VXAce were OK, but one of the converters from VX->VXA is known to create bad data that Ace ignores but that causes problem if converting again to MV.
@SkottGaming did you start a new game on the MV version?
or was the Ace-Project already converted from a regular VX project?

That error should not happen on a new game, unless the conversion somehow failed or contained bad data. And in the past all conversions from VXAce were OK, but one of the converters from VX->VXA is known to create bad data that Ace ignores but that causes problem if converting again to MV.

I found out what the problem was. I needed to put in the yep core plugin afterwards in the mv version. Now it seems to work
I needed to put in the yep core plugin afterwards in the mv version.
no, a correct conversion works without any plugin.
most likely that had nothing to do with your problem and was only accidentally done at the same time as you changed whatever you originally did wrong.

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-to-mv-converter.45296/