Map Folders – Managing Unlimited Maps

This script allows you to manage more than 999 maps in a single project.
It allows you to place extra maps into separate sub-folders in your Data
folder.

For example, suppose you have 2500 maps in your game. You might have 999 maps in your Data folder, and then another 999 maps in “Map1” folder, and maybe 502 maps in “Map2” folder. It is easy to change maps across different folders when developing your maps by using simple script calls in the transfer events.

This script allows you to quickly swap maps that you are currently editing: simply take all of the maps in the Data folder and place them in a subfolder, and then move the maps from a subfolder into the Data folder and reload your project.

Download

Script: download here

Installation

Place this below Materials and above Main.
You should place this script above other custom scripts.

Usage

Understanding maps in RM

There are two components to map management in RPG Maker.

  1. The maps themselves. These are stored in Map001.rvdata2, Map002.rvdata2, etc.
  2. Information about the maps. These are stored in MapInfos.rvdata2

The map information contains things like the map tree structure, the map ID’s, and so on. In order to correctly load your maps when you open a project, you need to have both the maps and the map info file in the Data folder.

Setting up map folders

Create folders with the name

Maps#

For example, Maps1, Maps2, Maps234, etc.
You can change the naming scheme in the configuration section. The name scheme must take exactly one number, which represents the folder ID. For example

Chapter %d

Will allow you to use the folder names

Chapter 1
Chapter 2
Chapter 3

You can then place maps into these folders. Remember to move your mapInfos.rvdata2 file as well, since the editor uses that to build the map tree as explained in the previous section.

You will use script calls to change to different folders in the game.
You should place these script calls before the actual map transfer command.

change_map_folder(x)
$game_system.change_map_folder(x)

If you want to switch to maps in Map1, then you will use

change_map_folder(1)

You can specify the position you want the player to be transferred to in case the position on your new map is not available in the editor.

You can pass in the x, y coordinates in the script call

change_map_folder(id, x, y)

Maps directly under the “Data” folder are said to be located in the “zero folder”, and you would change to folder 0.

Note that changing folders is only necessary if you are load a map from a different folder. You don’t have to do it all the time, although it may be good practice in case you are transferring to maps from many different folders in a single map.

Due to how the default scripts work, if you transfer to a map with the same ID, the game won’t actually setup a new map! This can be solved easily but for compatibility reasons it has not been changed. The simplest way to get around this problem at the moment is to just avoid transferring to a map in another folder with the same ID.

You may also like...

50 Responses

  1. Hola! I’ve been following your blog for a long time now and finally got the bravery to go ahead and give you a shout out from New Caney Texas! Just wanted to mention keep up the great work!

  2. Grsdqw says:

    clozapine 50mg drug – buy coversyl for sale order pepcid 40mg without prescription

  3. Fzrikn says:

    retrovir usa – glucophage 500mg ca allopurinol 100mg pills

  4. Efsdhh says:

    buy glycomet 1000mg pills – buy cheap glucophage buy lincomycin 500mg online cheap

  5. Bbtltq says:

    cheap furosemide 100mg – order coumadin 2mg cost captopril 25 mg

  6. Ctcykc says:

    flagyl pills – zithromax 500mg price order azithromycin 250mg sale

  7. Wtmmap says:

    buy ampicillin tablets where can i buy penicillin buy amoxil without a prescription

  8. Good website! I really love how it is easy on my eyes and the data are well written. I am wondering how I could be notified whenever a new post has been made. I’ve subscribed to your RSS feed which must do the trick! Have a nice day!

  9. Sgpfpr says:

    purchase valtrex pill – cost zovirax zovirax brand

  10. Ulhrwt says:

    ivermectin pills – co-amoxiclav tablets order sumycin 250mg online cheap

  11. One more thing. I do believe that there are quite a few travel insurance sites of reliable companies that let you enter your vacation details and acquire you the insurance quotes. You can also purchase an international travel insurance policy on the internet by using your credit card. Everything you need to do will be to enter all travel information and you can start to see the plans side-by-side. Merely find the plan that suits your budget and needs and then use your credit card to buy it. Travel insurance on the internet is a good way to start looking for a reliable company for international holiday insurance. Thanks for discussing your ideas.

  12. Ihcicn says:

    buy flagyl 200mg sale – buy oxytetracycline 250mg pills cheap zithromax 500mg

  13. KAYSWELL says:

    Hello, Neat post. There is a problem along with your site in internet explorer, could test this?IE still is the marketplace chief and a good component to people will miss your fantastic writing due to this problem.

  14. Qgaxxc says:

    ciprofloxacin 500 mg usa – order doxycycline without prescription erythromycin pills

  15. Haircuts says:

    Howdy! Someone in my Facebook group shared this website with us so I came to take a look. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my followers! Wonderful blog and excellent design.

  16. KAYSWELL says:

    Thanks for sharing excellent informations. Your web site is very cool. I’m impressed by the details that you抳e on this website. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my pal, ROCK! I found simply the information I already searched all over the place and just could not come across. What an ideal web-site.

  17. Hairstyles says:

    Unquestionably imagine that that you said. Your favorite reason seemed to be at the net the easiest factor to have in mind of. I say to you, I certainly get annoyed whilst other people think about concerns that they just do not understand about. You controlled to hit the nail upon the highest as neatly as outlined out the entire thing without having side-effects , people could take a signal. Will likely be back to get more. Thanks

  18. KAYSWELL says:

    I was very pleased to search out this web-site.I needed to thanks in your time for this excellent learn!! I positively having fun with every little bit of it and I’ve you bookmarked to take a look at new stuff you weblog post.

  19. Brcsib says:

    oral ciprofloxacin – order bactrim 480mg without prescription cost augmentin 375mg

  20. Dayzwl says:

    cipro buy online – order keflex 500mg sale augmentin ca

  21. Jcveud says:

    order atorvastatin 10mg pills buy atorvastatin 20mg pill order lipitor

  22. Timsothyfen says:

    Why people still make use of to read news papers when in this technological world the whole thing is accessible on net?
    bcasino bonus

  23. Timsothyfen says:

    Hi there, its fastidious article concerning media print, we all understand media is a wonderful source of facts.
    trusted australian online casinos

  24. Hairstyles says:

    Please provide me with more details on the topic

  25. Shanesoodo says:

    Hi there it’s me, I am also visiting this site on a regular basis, this web site is actually good and the viewers are really sharing pleasant thoughts.
    reddit mbit casino usa players

  26. Great beat ! I would like to apprentice while you amend your web site, how could i subscribe for a blog site? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept

  27. Hairstyles says:

    I want to thank you for your assistance and this post. It’s been great.

  28. JseraldRic says:

    Viagra O Cialis Opiniones
    (Moderator)
    Cialis 5 mg prezzo prezzo cialis 5 mg originale in farmacia cialis 5 mg prezzo

  29. Hairstyles says:

    Thank you for your articles. I find them very helpful. Could you help me with something?

  30. Gahrenslair says:

    Script conflicts with Scene Interpeter:

    Script ‘Himeworks Map Folders’ line 193: NoMethodError
    occurred.

    undefined method ‘map_folder_transfer_x=’ for nil:NilClass

    I’m not sure if you still work on RGSS3 Scripts, but im just reporting it for any chance.

  31. Anonymous says:

    Does it works with Yanfly’s doodads mapping plugin?

  32. JayRay says:

    question, does this preserve the actual folder of maps a player is on when they save and load a game?

    For instance, say character is on map 120 of Folder “Maps 3”, will the system preserve that data upon saving, so that when he starts up game later, and clicks load, he goes back to that Maps 3?, or would I need to add that info to an event, pass to variables, in an event or something first, and then when loading game, bring it back?

    • Hime says:

      Yes, the current folder is stored with the save file. You should not have to do anything in particular when it comes to loading games.

  33. Anonymous says:

    where i need paste that change_map_folder (х)
    $ game_system.change_map_folder (х) ?

  34. Anonymous says:

    can i just click 'new folder' in the data section and name it?

  35. Anonymous says:

    should i just copy the mapinfos file and put it in the folder?

  36. grumpycatrules says:

    What do you mean by moving mapInfos.rvdata2? where should it go? Im confused. 😛

    • Hime says:

      Each set of maps needs to have the corresponding mapInfos file so the editor knows how to load them. If you ever move maps into a folder, you should remember to move the mapinfos file as well.

  1. March 30, 2015

    […] Maps in Subfolders […]

  2. February 22, 2024

    … [Trackback]

    […] Here you can find 8539 more Information on that Topic: himeworks.com/2013/02/map-folders/ […]

  3. March 3, 2024

    … [Trackback]

    […] There you will find 72486 additional Info to that Topic: himeworks.com/2013/02/map-folders/ […]

  4. March 7, 2024

    … [Trackback]

    […] Find More Info here on that Topic: himeworks.com/2013/02/map-folders/ […]

Leave a Reply to Hime Cancel reply

Your email address will not be published. Required fields are marked *