Staredit Network > Forums > SC2 Assistance > Topic: Exporting data
Exporting data
Mar 22 2012, 10:55 pm
By: PunWisp  

Mar 22 2012, 10:55 pm PunWisp Post #1



How do you export data? I'm pretty much finished with most of the work I did, and I did it on one of blizzards melee maps, just to make things simple considering im only playing the map with a couple friends. However its not allowing me to publish it so I was just going to export the data and put it on one of my other maps I terrained myself.

However I'm not finding anywhere to export my data.. Only import..



None.

Mar 23 2012, 12:11 am DevliN Post #2

Woah

You can either save the map as an SC2Mod file and add it to the new map as a dependency, or you can copy all the XML data from the map with all the custom Data Editor work and copy it into the new map.

If you go with the XML route, do the following:
Download an MPQ Editor (like the one found at http://www.zezula.net/en/mpq/download.html ).
Open your map file using the MPQ Editor.
Find and open the Base.SC2Data folder. Then open the GameData folder. Here you'll find the XML files for all of your custom Data Editor work. Extract all the ones you want to transfer to the new map (i.e. if you created custom abilities, extract all the XML files that would be associated with them like the AbilData.xml and EffectData.xml, etc.).

Now open your new map in the MPQ Editor. Again, open the Base.SC2Data folder and then the GameData folder.

Next you can do one of two things:
1. If you have any Data Editor work in your new map already that you want to save, extract those files first. Then, compile any conflicting files into one (i.e. copy/paste the AbilData.xml code from one into the other). Now drag and drop the compiled XML files into the GameData folder and replace the existing ones.

2. If you don't have an Data Editor work on the new map, just drag and drop the XML files you extracted from the old map into the GameData folder for the new map.

And that's it.



:devlin: Currently Working On: :devlin:
Myself

Mar 23 2012, 2:04 am PunWisp Post #3



Thank you very much! I will keep that on my mind! For now I have a fix, I just redid all the stuff on a new map as a mod. It didn't take me too long considering I didn't have to go through all the same frustrations that made it drag along... The only downside is its harder to test. Currently I have "jackson's revenge" merc unit, his abilities don't show up ingame.. *sigh



None.

Mar 23 2012, 4:21 am DevliN Post #4

Woah

The only major drawback to using it as a mod like that is that you have to also upload the mod for the final released map. I guess now that isn't as much of an issue since we have so many upload slots to use.



:devlin: Currently Working On: :devlin:
Myself

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Ultraviolet