MV Crashes When Deleting Specific Map

Crazetex

Veteran
Veteran
Joined
Apr 26, 2012
Messages
105
Reaction score
88
First Language
English
Primarily Uses
I have a very strange bug.

Whenever I go to delete a certain map in my game project, the editor crashes. It doesn't matter if it's nested or not. The original map that it was duplicated from (and it's almost an exact duplicate -- the only difference is where the teleports go to and the addition of some chests) gives me no issues if I try to delete it.

Anybody else have this problem (a stubborn map)? There aren't any starting locations on it. Very odd.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Can you delete other maps without any problems? Take a look at the permissions on that particular file and see if something's been done to remove your write access to the file.
 

Crazetex

Veteran
Veteran
Joined
Apr 26, 2012
Messages
105
Reaction score
88
First Language
English
Primarily Uses
I have deleted many other maps within the same project today. There are no differences in permissions.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
If you copy that map and paste it to a new one, can you then delete the new one?


Any chance you have the "problem" map's .json file open in a text editor?
 
Last edited by a moderator:

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
785
First Language
English
Primarily Uses
RMMV
I had this exact problem once. I had duplicated a map, and would crash when I tried to delete the duplicated one. I Don't remember how I ended up fixing it, because I just ignored it and eventually I had gotten to delete it. I do remember things I did before though. I did make a copy of the whole project folder, to save as a backup. And because of some stuff I ended up deleting my original project folder and started working with copied folder. I may have deleted it then, but I can't recall. The other thing I did was create a new project because I deleted the img folder, thinking I wasn't going to use it. and instead of copying over the img folder, I just copied over my data and js folder into the newly created project.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
I'd also try rebooting, because sometimes Windows thinks I have a file open when I really don't.
 

Crazetex

Veteran
Veteran
Joined
Apr 26, 2012
Messages
105
Reaction score
88
First Language
English
Primarily Uses
If you copy that map and paste it to a new one, can you then delete the new one?

Any chance you have the "problem" map's .json file open in a text editor?
If I copy-and-paste it, I can delete it.

I just tried after a fresh boot with nothing but chrome and MV open -- no dice. 

I mean, I just can just hide the map in a nest somewhere, but it's kinda silly/annoying!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
Did you make any operation outside of the editor with that specific map? like copying the file instead of copying the entry in the editor's map list?


The only thing I can think of that might cause such a behavious is if either the mapfile itself or (more likely) the mapinfo file contains illegal data, and such illegal data is usually the result of operations outside the editor itself.
 

Crazetex

Veteran
Veteran
Joined
Apr 26, 2012
Messages
105
Reaction score
88
First Language
English
Primarily Uses
The only files i've edited are graphic files and some of the base javascript (rpg_objects, etc.).  haven't opened any maps or anything else in the data folder.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
If it really bothers you that much, can you zip up your project and give me a link? If I can take a look at it I might be able to find something.


But if you'd rather not go to the trouble and are semi-content to just hide it in an out-of-the-way spot ... it's up to you.
 

Crazetex

Veteran
Veteran
Joined
Apr 26, 2012
Messages
105
Reaction score
88
First Language
English
Primarily Uses
Without the separate RTP nowadays, it's such a hassle to share projects. I'll just hide it away and deal with it since I don't want to upload ~500 megs.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
I'd only need the Data folder, which are all text files.
 

Anime_Fusion

Veteran
Veteran
Joined
Oct 24, 2015
Messages
79
Reaction score
49
First Language
English
Haha. I just ran into this exact issue. I'm trying to reduce the lag of World Map. I even changed it to Area map. Reason i copy pasted the map was to see if the lag was due to "Map linking" Since I have about 12 maps within the world map. But I still had lag in the stand alone world map. Then I was like...okay, this wasn't the issue. But everytime I go to delete the copied map. CRASHHHHHHHHHHHH.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Can you please list the EXACT steps you follow from start to finish? I just copied/pasted a map and was able to delete it just fine. Please let me know every single click that you in order to make this happen.
 

Anime_Fusion

Veteran
Veteran
Joined
Oct 24, 2015
Messages
79
Reaction score
49
First Language
English
In editor, went to my world map: ALPHA. This map contains 12 other maps. In my ALPHA map, I created an event that transfers player to the copied world map that is a stand alone. Tested game. Issue still there. After I did test game I went and deleted copied map but got crash. Restarted RPG maker and tried again. Crashed. Then I went to original map and deleted the transfer player event and then attempted to delete my copied map. Still crashed. On start up, the copied map is still there.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
working fine for me. I cannot reproduce this following those steps. Maybe I need the exact steps you took to copy / paste, also info about where the player's start position is, did you load a saved game or start a new one? Did you save the game or just close it?
 

taarna23

Marshmallow Princess
Global Mod
Joined
Jul 20, 2012
Messages
2,402
Reaction score
4,969
First Language
English
Primarily Uses
RMMZ
Well, I'll be a monkey's uncle... or aunt, I suppose.

I have a project where I copied a map because I was making major event changes - that way I could still reference the old events, which I wanted to be able to do.

After reading this thread, I backed up my project and then went to delete said copied map (Right Click -> Delete) and it deleted, but then it crashed. All I did was open, delete, crash. Will tinker for a bit and see what I can do with a shiny new project and report back.

Some random thoughts on the map in question:

  • It is a copy of a map that has sub-maps
  • It was copied to the same "tree level" as the main map (directly under the main project)
  • It has a number of events
  • It has no start locations, player or otherwise
[Edit] Forgot to note - by it was deleted, I mean it was removed from the list - it still exists after reopening the project.
 
Last edited by a moderator:

Anime_Fusion

Veteran
Veteran
Joined
Oct 24, 2015
Messages
79
Reaction score
49
First Language
English
Okay so solution. Thanks to taarna23. The map was linked to my project cube. So I threw it into another map, then it allowed me to delete it. It won't let you delete the map if the map is set inside of the project name if that makes any sense. So drag and drop the map you want to delete into another map. Worked for me. :D
 

taarna23

Marshmallow Princess
Global Mod
Joined
Jul 20, 2012
Messages
2,402
Reaction score
4,969
First Language
English
Primarily Uses
RMMZ
Well, I'm glad you found a solution... I can't seem to replicate the behaviour with a new project. Seems very odd.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top