When I went to load my map, I got the following error:
Unable to load file (XML: not well-formed (invalid token)): ComponentList.SC2Components
In addition, under the map version it says MapCore: invalid or unexpected object format, and the description, author, name, etc fields are all blank.
When I went to look in the Component Lists, in all the files every string is deleted. The files are completely empty. Did I just lose all progress on my map, or is there still hope?
Sounds like what the error says, you have a XML file that is not well-formed (does not follow XML syntax).
Use a MPQ Editor and open your map, then drag ComponentList.SC2Components out of the map file and onto, say, your desktop. Now, open it with Notepad. Unless you know how to edit XML to make it well-formed, paste everything here and we'll help correct it for you.
Most of the other files in my folder (GameStrings, ObjectStrings, TriggerStrings, ActorData, CameraData, Effect Data, Light Data, ModelData, and UnitData) are blank.
You miss the </Components> closing tag at the end.
Quote:
Most of the other files in my folder (GameStrings, ObjectStrings, TriggerStrings, ActorData, CameraData, Effect Data, Light Data, ModelData, and UnitData) are blank.
For the sake of maybe helping future people with this issue, I just got the same issue and solved it. Using an MPQ editor (link at bottom of post) I tested it with an XML validator and everything was fine. So I looked to what I last changed with the UNIT tab in the data editor and found a comment I made. I named a unit after a historical person and copied his name from wikipieda into the editor. The guys name had an accented e. I opened up the map in an MPQ editor and replaced the accented e with a normal one and tried to open the map again normally. The map opened without a hitch and all my work was back.
I thought this was important enough to necro post this for any future issues anyone may encounter. Just watch out for any abnormal characters when editing any text fields.
You don't use auto backup? Sure its annoying as F when it decide's to save in middle of typing but it saved few hours of my work already.
set it to 2 files every 10 minutes and you won't lose anything next time ;)
When I went to load my map, I got the following error:
Unable to load file (XML: not well-formed (invalid token)): ComponentList.SC2Components
In addition, under the map version it says MapCore: invalid or unexpected object format, and the description, author, name, etc fields are all blank.
When I went to look in the Component Lists, in all the files every string is deleted. The files are completely empty. Did I just lose all progress on my map, or is there still hope?
sorry, but that signature and that profile picture made me spill my drink and roll on the floor in infectious laughter
Sounds like what the error says, you have a XML file that is not well-formed (does not follow XML syntax).
Use a MPQ Editor and open your map, then drag ComponentList.SC2Components out of the map file and onto, say, your desktop. Now, open it with Notepad. Unless you know how to edit XML to make it well-formed, paste everything here and we'll help correct it for you.
Hope is not lost.
Most of the other files in my folder (GameStrings, ObjectStrings, TriggerStrings, ActorData, CameraData, Effect Data, Light Data, ModelData, and UnitData) are blank.
@thepumaman1: Go
TROLLOLOLOLOL
You miss the </Components> closing tag at the end.
This sounds bad, do you have any backups?
My backup is blank as well, but I have an untainted version of the map from when it was just starting. There's no terrain or triggers D:
Whoops, sadly the components tag is in there.
<?xml version="1.0" encoding="us-ascii"?>
<Components>
<DataComponent Type="info">DocumentInfo</DataComponent>
<DataComponent Type="mapi">MapInfo</DataComponent>
<DataComponent Type="trig">Triggers</DataComponent>
<DataComponent Type="terr">t3Terrain.xml</DataComponent>
<DataComponent Type="plob">Objects</DataComponent>
<DataComponent Type="gada">GameData</DataComponent>
<DataComponent Type="text" Locale="enUS">GameText</DataComponent>
<DataComponent Type="regi">Regions</DataComponent>
</Components>
Would you mind uploading the map?
I can't upload it because it's in a folder form, and you can't upload folders for some reason.
Any way to take screenshots of things with fraps outside of a game? It only seems to work in games.
@yopeasants: Go
For the sake of maybe helping future people with this issue, I just got the same issue and solved it. Using an MPQ editor (link at bottom of post) I tested it with an XML validator and everything was fine. So I looked to what I last changed with the UNIT tab in the data editor and found a comment I made. I named a unit after a historical person and copied his name from wikipieda into the editor. The guys name had an accented e. I opened up the map in an MPQ editor and replaced the accented e with a normal one and tried to open the map again normally. The map opened without a hitch and all my work was back.
I thought this was important enough to necro post this for any future issues anyone may encounter. Just watch out for any abnormal characters when editing any text fields.
http://www.sc2mapster.com/forums/resources/third-party-tools/4421-ladiks-mpq-editor/
You don't use auto backup? Sure its annoying as F when it decide's to save in middle of typing but it saved few hours of my work already.
set it to 2 files every 10 minutes and you won't lose anything next time ;)
Dude... I have my map auto-saved every 5 minutes...