HOW TO BEAT THE MAP TREE BREAK (THE EASY WAY)!

A nice, easy, descriptive way to keep your project from being destroyed by the dreaded Map Tree Break.

  • trance2
  • 06/02/2007 12:00 AM
  • 24607 views
Ever hit the "Save Map" button and get a weird error about something called ".lmu?" Have you ever had to restart your project because you get the dreaded "Map Tree Break" error? Ever wanted to know how to beat it? Well, I have, and now I'm going to share with you the secret.

First of all, the FIRST thing you should always do BEFORE something like this happens is to back up your game/files. This will keep you from having to do too much work. If you don't have a backup, then you'll have a lot of work in front of you.

TERMINOLOGY
---------

RPG_RT.lmt - This is what gets corrupted in a "Map Tree Break" error. All it is is a complier that reads all the map data and translates it for the game and the program.
MAP####.lmu - This is what contains all the map data. It contains the layout, the Map Properties, and all events.
RPG_RT.ldb - This is the Database file. Normally, you don't have to do anything with this file, but if you have a huge database and you're not sure if fixing the map tree's going to work, at least you still have everything from the Database.

STEPS
-----

1. Create a new project. It doesn't matter what it's named, just create it. All we're going to use it for is the clean RPG_RT.lmt file, and as a place to store the RPG_RT.ldb if we need to.

2. This step is VERY VERY IMPORTANT. Create a new folder someplace safe, and copy ALL of your MAP####.lmu files into that folder. Why? Because when you create a new map in your game, it OVERWRITES the original, and we DON'T want that to happen.

3. Copy the RPG_RT.lmt file from the new project into the corrupted one and overwrite the original.

4. Now, if you have A LOT of maps, this is going to make your day. Go into your project, and then create new maps till you get to one that says "Map ID: ####" (#### being the number of your last .lmu file). The genius of this is that since the .lmt is just a complier, it doesn't know the difference between the maps; it just knows how many there are.

5. Close out of RM2k/3 and then copy all the maps you stored safely away into your project folder and overwrite the ones in there. When you open your project back up, all the maps will be there, at least what they look like and the events on them.

6. This is another fun part. Since you have your events and maps back, but they're all in the wrong order and aren't named. Now you have to name your maps again and place them in their original positions. Once that is accomplished, your project is back to its original state when you hit the "Save Map" button, and got the error.

Or, you can something even more simple. It's just TWO steps. ^-^

1. Do SOMETHING to your map; it doesn't matter what, just DON'T close your project.

2. Save your changes. This will overwrite the corrupt .lmt with a good one. That simple.

I hope this helps everyone, 'cause this error is the #1 leading cause of RM projects being dropped. Now, get back to your deserted games and fix 'em!

Posts

Pages: first 12 next last
wait in step no.4 in your old project or in your new project?
okay it did'nt work...hu hu hu....is there any more help?I can't play ay rm2k(3) games...i hate the map tree break!Any more answers i think i'm asking a lot.
well that's useful, too bad I already deleted the one that did that to me...
I remember finding this tutorial for the very first time and how it saved my project's life. Thank you.
This tutorial is going to save a lot of people's asses. Great job, man.
Craze
why would i heal when i could equip a morningstar
15170
trance.

I love you. This worked better than advertised~
First time I ever got this error. This tutorial saved my project.

Thanks!
comment=405
well that's useful, too bad I already deleted the one that did that to me...


That Must Suck Huh?

Makes Me Wanna Make A Time Machine.
:O
How does that even happen? it happened to me and i didnt even close out or anything, i just saved then went to bed, didn't even minimize it.

is it some sort of bug?
It won't even let me create a new project...
arcan
Having a signature is too mainstream. I'm not part of your system!
1866
Much easier way is to copy the whole corrupt project folder into a different location such as your desktop and open it from there. No work needed.
arcan
Having a signature is too mainstream. I'm not part of your system!
1866
Haha nevermind don't do this.
Hey, that's not the EASY way. It's the HARD way :)

The EASY way would be using Map Tree Creator: http://www.rpgrevolution.com/forums/index.php?showtopic=49088
didn't get any of this , just went over my head unless someone can make a youtube video of it ?
Odd, I always just made a new project and copied over all map, ldb and resource files to it (resources first, so the maps have something to look for). Seemed to work fine. :/
I am trying to fix someone else's game, Castlevania: Sonata in Red (it is already broken when you download it), using the above methods.
None worked, including the Map Tree Creator. This last one allows the project to be opened in the engine but it also erases all the mapping and events in the maps. Copying over .lmu files and the rest does not fix the problem either.

I'm trying to fix it myself because there are game breaking bugs in the game and the author is nowhere to be found.
Is there any other way to fix this?
Are you sure it's broken and not protected?
Aye, the error message that pops up says "The map tree data is corrupt".
You can try for yourself by downloading the game here: http://sonatainred.webs.com/download.htm

I don't care so much about fixing it now though. I managed to counter the major bugs by saving often and reloading when I get stuck.
Pages: first 12 next last