Is there a way to auto-generate a map from a black & white image?

I found out what the problem was with the blank 138x300

For some reason <gen: Argentina> was somehow removed from the notes after I saved the project before running the game.

Seems to be a bug because I have had things disappear or revert fairly often in RPG Maker VX Ace

Earlier today, I had to reassign a graphic to a previous boss


Edit: Is there a way to migrate my events and stuff from the rectangle map to the new Argentina map without copying and pasting them one by one?
That is a weird situation. So, the script is all good now?
What a lovely script Theo
Good job ^^
Yeah It seems to be good now.

It seems that the issue with the rectangle map is that there was already land and water so it did not generate anything. From the looks of it, the script only generates on blank tiles and does not overwrite existing tiles. I noticed this when the upper left corner remains a land piece when it is supposed to be water.
For some reason <gen: Argentina> was somehow removed from the notes after I saved the project before running the game.

Seems to be a bug because I have had things disappear or revert fairly often in RPG Maker VX Ace
are you saving to the steam cloud?
that is very not recommended.

Nothing in your game should be removed after you save, unless there is something literally causing an overwrite of previous data.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-auto-generate-a-map-from-a-black-white-image.157071/