This is my first post at SC2Mapster, but I am reading the tutorials very often and search for problems, so that I think that I have to contribute something.
Which maps do you mean?
I mean the custom maps that you download when you play a custom game on Battle.Net.
Why should I read the downloaded maps?
If you don't know how to create an ability or something, but you know someone has something similar to your idea, you can take a look at his Effects, Actors, etc...
What do I need for this tutorial?
You have to download an MPQ Editor. In this case I used the first hit at Google.com:
http://www.zezula.net/en/mpq/download.htmlImportant: Choose the "MPQ Editor with listfiles ..."
After downloading, you have to install it anywhere you want.
I downloaded the program, next?
The files of the custom maps are very hidden, but there are not very much possibilitys.
Windows Vista / 7
C:\ ProgramData \ Blizzard Entertainment \ Battle.net \ Cache
Windows XP
C:\ Users \ YOUR PC USER \ AppData \ Local \ Blizzard Entertainment \ Battle.net \ Cache
When you enter these folder you will get a shock first, but don't worry, we have a solution.
The files for which we search have the ending:
*.s2ma
Type this into you search and look through the hole Cache folder. All these files have a crypted filename and I don't know the algorithm. There are two possibilities.
Method 1
Download the chosen map once and then look at the dates of the files. Compared the file time and choose the latest one.
Method 2
Delete all cryptic files with the ending *.s2ma.
Then go to the folder:
C:\ ProgramData \ Blizzard Entertainment \ StarCraft II \ Maps \ Cache
Delete all folders with the *.s2ma ending.
ATTENTION!
Do not delete the folders that are not cryptic!
Such as: "RushDefense.SC2Map" (They all end with *.SC2Map)
Delete only the folders that end on *.s2ma !
You have to close Starcraft II now!
Return to Method 1 and you will only have one *.s2ma file.
So now we have located the map, that we want to spy.
Copy the map and save it on the desktop. (Or another location where you can find it fast.)
If the map is unprotected:!
Just rename the *.s2ma file to *.SC2Map. DO THIS ONLY IF THE MAP IS UNPROTECTED!
Create a Dummy Map
Now open the Galaxy Editor. Create a empty map, duplicate one effect of your choise. This will cause the map to create an internal Base.SC2Data folder. Also you have to enable the dependency to the Campain and Story Mode. (This will prevent .dds and .m3 errors!). Save it at the desktop too.
You dont have o copy it, it has just one destination: Show us the extracted data.
Open the MPQ Editor
At this point it will get interesting. Open the MPQ Editor.
Step 1
Click at Open MPQ(s) with Options ...
Step 2
Go to your desktop and choose the Dummy Map.
Step 3
Click at Add MPQ ...
Step 4
Choose the copy of the choosen custom map.
Step 5
Make sure you have checked MultiMPQ mode
Then press OK
Prepare the copy
Go to the MPQtree of the custom map.
Open the folder named Base.SC2Data and then go into the folder GameData. You should see different *.xml now.
Make a right click on the folder GameData and press "Extract ...". Now chose the desktop or an other folder where you can find it again.
Go to the same folder GameData at you Dummy Map and delete all files in there by selecting every file and pressing del.
The Copy
Make a right click on your GameData folder of you Dummy Map. Click at "Add File(s) ..." and search you extracted folder on your desktop.
Select all files in the folder and then press "Open". Then just press OK again.
This should appear now:
I spy with my little eye!
Close the MPQ Editor. You don't have to save anything because the MPQ Editor does that automatically.
Now finally start the Galaxy Editor and open the Dummy Map. Maybe you get some alerts of not found .dds and .m3 files, but nevermind.
Now you can browse the actors, effects, etc...
The results
What's up with the triggers?!
Until now i couln't find the trigger data in a protected map. Maybe it's saved at Battle.Net, because we don't need the trigger data to play the game.
How can I fix the names?
This is surprising easy. You only have to do one thing. Copy ;)
First go to the custom map you are copying of. Open it in the MPQEditor.
Now Extract the folders named "xyXY.SC2Data". Extract them all to your desktop.
The next step is easy. You have to import the folders into you Dummy Map. It's important that you put the extracted files in the folders %root% \ xyXY.SC2Data \ LocalizedData
Put the right files into the right xyXY.SC2Data. xyXY can mean koKR, enGB, enUS, deDE.
You notice: xyXY is the synonym for the language.
Why can't I just rename the file?
I tried this a lot of times and it never worked. You get some errors and a black screen appears. I am trying to copy the terrain too. But now it's early in the morning and I am tierd.
Final Words
I hope you won't use this method to copy hole abilities and units or even steal .m3 models or .dds files.
Please remind that this should only be a source of food for thought!
Please do not flame my English. I am German and have bad marks at school :D
I believe this method should be used to export models as long as credit is given since often the original sources of the models can have been lost. This was a problem that often occured in WC3 where the site where the models were originally posted was deleted.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I know this is shady af, but is there a way to get a locked map's triggers and libraries? The author of one map that I'm interested in stopped updating it years ago and has stopped playing. I'm desperate to update it and reinvigorate the game's player base. I hate to see it die.
Greetings!
This is my first post at SC2Mapster, but I am reading the tutorials very often and search for problems, so that I think that I have to contribute something.
Which maps do you mean?
I mean the custom maps that you download when you play a custom game on Battle.Net.
Why should I read the downloaded maps?
If you don't know how to create an ability or something, but you know someone has something similar to your idea, you can take a look at his Effects, Actors, etc...
What do I need for this tutorial?
You have to download an MPQ Editor. In this case I used the first hit at Google.com: http://www.zezula.net/en/mpq/download.html Important: Choose the "MPQ Editor with listfiles ..."
After downloading, you have to install it anywhere you want.
I downloaded the program, next?
The files of the custom maps are very hidden, but there are not very much possibilitys.
Windows Vista / 7
C:\ ProgramData \ Blizzard Entertainment \ Battle.net \ Cache
Windows XP
C:\ Users \ YOUR PC USER \ AppData \ Local \ Blizzard Entertainment \ Battle.net \ Cache
When you enter these folder you will get a shock first, but don't worry, we have a solution. The files for which we search have the ending:
*.s2ma
Type this into you search and look through the hole Cache folder. All these files have a crypted filename and I don't know the algorithm. There are two possibilities.
Method 1
Download the chosen map once and then look at the dates of the files. Compared the file time and choose the latest one.
Method 2
Delete all cryptic files with the ending *.s2ma.
Then go to the folder: C:\ ProgramData \ Blizzard Entertainment \ StarCraft II \ Maps \ Cache Delete all folders with the *.s2ma ending.
ATTENTION! Do not delete the folders that are not cryptic! Such as: "RushDefense.SC2Map" (They all end with *.SC2Map) Delete only the folders that end on *.s2ma !
You have to close Starcraft II now! Return to Method 1 and you will only have one *.s2ma file.
So now we have located the map, that we want to spy. Copy the map and save it on the desktop. (Or another location where you can find it fast.)
If the map is unprotected:! Just rename the *.s2ma file to *.SC2Map. DO THIS ONLY IF THE MAP IS UNPROTECTED!
Create a Dummy Map
Now open the Galaxy Editor. Create a empty map, duplicate one effect of your choise. This will cause the map to create an internal Base.SC2Data folder. Also you have to enable the dependency to the Campain and Story Mode. (This will prevent .dds and .m3 errors!). Save it at the desktop too. You dont have o copy it, it has just one destination: Show us the extracted data.
Open the MPQ Editor
At this point it will get interesting. Open the MPQ Editor.
Step 1
Click at Open MPQ(s) with Options ...
Step 2
Go to your desktop and choose the Dummy Map.
Step 3
Click at Add MPQ ...
Step 4
Choose the copy of the choosen custom map.
Step 5
Make sure you have checked MultiMPQ mode Then press OK
Prepare the copy
Go to the MPQtree of the custom map. Open the folder named Base.SC2Data and then go into the folder GameData. You should see different *.xml now. Make a right click on the folder GameData and press "Extract ...". Now chose the desktop or an other folder where you can find it again.
Go to the same folder GameData at you Dummy Map and delete all files in there by selecting every file and pressing del.
The Copy
Make a right click on your GameData folder of you Dummy Map. Click at "Add File(s) ..." and search you extracted folder on your desktop. Select all files in the folder and then press "Open". Then just press OK again. This should appear now:
I spy with my little eye!
Close the MPQ Editor. You don't have to save anything because the MPQ Editor does that automatically. Now finally start the Galaxy Editor and open the Dummy Map. Maybe you get some alerts of not found .dds and .m3 files, but nevermind. Now you can browse the actors, effects, etc...
The results
What's up with the triggers?!
Until now i couln't find the trigger data in a protected map. Maybe it's saved at Battle.Net, because we don't need the trigger data to play the game.
How can I fix the names?
This is surprising easy. You only have to do one thing. Copy ;) First go to the custom map you are copying of. Open it in the MPQEditor. Now Extract the folders named "xyXY.SC2Data". Extract them all to your desktop.
The next step is easy. You have to import the folders into you Dummy Map. It's important that you put the extracted files in the folders %root% \ xyXY.SC2Data \ LocalizedData Put the right files into the right xyXY.SC2Data. xyXY can mean koKR, enGB, enUS, deDE. You notice: xyXY is the synonym for the language.
Why can't I just rename the file?
I tried this a lot of times and it never worked. You get some errors and a black screen appears. I am trying to copy the terrain too. But now it's early in the morning and I am tierd.
Final Words
I hope you won't use this method to copy hole abilities and units or even steal .m3 models or .dds files. Please remind that this should only be a source of food for thought!
Please do not flame my English. I am German and have bad marks at school :D
Slikey
arn't the data.xml files not protected in any way if the map is locked?
Actually not, only thing you cant open are banks. It is possible to open the triggers, my brother does it all the time.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Just FYI, the Triggers file gets deleted when the map is locked. They are still accessible through Galaxy Scripting in MapScript.galaxy.
I believe this method should be used to export models as long as credit is given since often the original sources of the models can have been lost. This was a problem that often occured in WC3 where the site where the models were originally posted was deleted.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
actually there is a way to get the triggers.. the MapScript.galaxy in the root folder
but avery variable is hashed and the trigger names are deleted.. so if you like to do it.. have fun ;D
drsuperevil: yes i said that its not a method to steal the data.. i wish everyone would use this fair and give credits
I know this is shady af, but is there a way to get a locked map's triggers and libraries? The author of one map that I'm interested in stopped updating it years ago and has stopped playing. I'm desperate to update it and reinvigorate the game's player base. I hate to see it die.
You can get the map script but the GUI is ruined. You can recreate it by reading the script but it requires you to understand triggers.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg