Recently i was working on a map when all of a sudden units stopped loading. No matter what i did, they would not load. When I reopened the editor today they were complete gone from the map and data window, BUT they are appearing as blots on the Mini-Map.
Whenever I load the map now I get the following
Error: Error (XML: unclosed token) occurred while loading Units from game data file 'Base.SC2Data\GameData/UnitData.xml'
I won't pretend to know xml terminology, but "unclosed token" could possibly mean something like an "unclosed" tag? (imagine BBCode on a forum, you write [b] but you don't add [/b] at the end, so it's not "closed") In this case I'd recommend you install notepad2, save your map as sc2components and then open the UnitData.xml (It's somewhere in the folders where you saved your map as sc2components), make sure syntax highlighting for XML is on, and see if there is an incomplete/missing tag anywhere.
Also, have you tried using XML view? Check if you see incomplete tags there.
Let's hope someone who understand XML shows up and answers your question, cause I'm just throwing out a wild guess.
Try to open the map with an mpq editor, extract the file. Check out the tags around line 442, column 5. Maybe you can fix it and put the fixed xml file back into the map's mpq.
Make sure to make another backup copy before tinkering with files like that.
Recently i was working on a map when all of a sudden units stopped loading. No matter what i did, they would not load. When I reopened the editor today they were complete gone from the map and data window, BUT they are appearing as blots on the Mini-Map. Whenever I load the map now I get the following
Error: Error (XML: unclosed token) occurred while loading Units from game data file 'Base.SC2Data\GameData/UnitData.xml'
Warning: Base.SC2Data\GameData\UnitData.xml(442,5) : XML: unclosed token: Source: Untitled Map
What does this mean, and how do i get all my stuff back?
@eviltikiman: Go
I won't pretend to know xml terminology, but "unclosed token" could possibly mean something like an "unclosed" tag? (imagine BBCode on a forum, you write [b] but you don't add [/b] at the end, so it's not "closed") In this case I'd recommend you install notepad2, save your map as sc2components and then open the UnitData.xml (It's somewhere in the folders where you saved your map as sc2components), make sure syntax highlighting for XML is on, and see if there is an incomplete/missing tag anywhere.
Also, have you tried using XML view? Check if you see incomplete tags there.
Let's hope someone who understand XML shows up and answers your question, cause I'm just throwing out a wild guess.
Try to open the map with an mpq editor, extract the file. Check out the tags around line 442, column 5. Maybe you can fix it and put the fixed xml file back into the map's mpq.
Make sure to make another backup copy before tinkering with files like that.
I tried opening it in Ladiks MPQ editor but it keeps saying that it is an incorrect format.