More than 999 maps and editing them technically possible?

I am considering for a personal project having more than 999 maps.

So far I have searched around for various solutions and found a few. One is plugins that allow for folders of maps that were made in separate projects, and calling them in the main project. But I wanted to be able to edit the additional maps in the editor for control and organization without hassle.

Notably, on a test project, I tried coping Map001.json, renaming it Map1000.json and adding an entry for Map 1000 in the MapInfos.json

This seemed to work! It appeared in the editor and was editable. Adding an event on Map 1 transfer to the map 1000 and playtesting that went well. Though one thing is, the map is not labelled as 1000 in the editor. It is labelled as Map 2, as if I had added the new map in the editor. This makes me wonder if once reaching the point of 999 maps and adding another one, this method wouldn't actually work? (as in, I wonder if the 1000th map would show up in the editor if there were already 999)

It's not a big deal to me to resolve this quickly, but I'm very interested. Thank you for reading.
I think you need to actually have 1000 maps to test if that'll work – it's possible the editor saw it was the second map in MapInfos.json and renumbered it to be map 2. I know it does this for database objects such as items if you manually edit the file, so it wouldn't be a stretch for it to do the same with maps.

Personally, I think your best bet for more than 999 maps is my extra map plugin and a little tool to quickly switch between map folders in the editor (though, that tool doesn't exist currently, as far as I know). You'll need to relaunch the editor when you switch folders, and the maps in each will actually be numbered from 1 to 999, so just a map ID is no longer enough to uniquely identify a specific map, meaning you may need to take more care with transfers.
I think you need to actually have 1000 maps to test if that'll work – it's possible the editor saw it was the second map in MapInfos.json and renumbered it to be map 2. I know it does this for database objects such as items if you manually edit the file, so it wouldn't be a stretch for it to do the same with maps.

Personally, I think your best bet for more than 999 maps is my extra map plugin and a little tool to quickly switch between map folders in the editor (though, that tool doesn't exist currently, as far as I know). You'll need to relaunch the editor when you switch folders, and the maps in each will actually be numbered from 1 to 999, so just a map ID is no longer enough to uniquely identify a specific map, meaning you may need to take more care with transfers.
Thank you. Do you have a link to your plugin?

By spamming the enter key and treating the editor like Cookie Clicker I was able to get 999 maps in my test project. Then I did the same thing as before editing the JSons.

IT WORKED!!!! The editor loaded the 1000th map, correctly ID'd it as 1000, and it was fully editable.

Then came the problems. There some noticeable lag in the editor with that many maps. Especially when you're doing something where the editor calls all those maps, like adding a transfer and you pick the map.

But the biggest problem was that transferring the player didn't work. For some reason, the transfer even though it was set up properly, led to a blank grass screen similar to the one you get when creating a new project. (But not the same map?)
My plugin is in the thread in my signature, but what the heck, here's a direct download link.

But the biggest problem was that transferring the player didn't work. For some reason, the transfer even though it was set up properly, led to a blank grass screen similar to the one you get when creating a new project. (But not the same map?)
Hmm. Was it an actual map that existed in the test project? Considering your methodology, it sounds like it probably just loaded a different map than you requested. There might be something in the core engine that breaks when the map ID is more than 3 digits…
My plugin is in the thread in my signature, but what the heck, here's a direct download link.


Hmm. Was it an actual map that existed in the test project? Considering your methodology, it sounds like it probably just loaded a different map than you requested. There might be something in the core engine that breaks when the map ID is more than 3 digits…
Sorry I was a dork to not notice your signature but thanks! Maybe if I can figure out a good workflow and methods, using multiple folders and projects with your plugin wouldn't be so bad.

The weird thing was, it wasn't an actual map that existed in the project. It looked almost the same as the default first map when creating a new game, but mine had been edited with things added and I saw none of those things were there on the mystery map. The rest of the maps in the project were blank.
This is the little script I used to switch map folders for my Localization plugin demo. It's probably not useful to you as-is (unless you, like me, are not working on Windows), but maybe someone could convert it into a batch file.

Bash:
cd data
if [ -d normal ]; then
	mkdir -p extra
	mv Map* extra
	mv normal/* .
	rmdir normal
else
	mkdir -p normal
	mv Map* normal
	cp extra/* .
fi

It's super simple in this case because I only have 2 folders. A real project might have more than 2 and want a way to select which one to switch to.

The way that works is basically, you drop it into the game's main folder, and then just double-click it whenever you want to switch (and then reload the game, if you're using MV; it'll reload automatically for MZ). An equivalent .bat file would basically work the same way.

Original thread: https://forums.rpgmakerweb.com/threads/more-than-999-maps-and-editing-them-technically-possible.183989/