Save ingame modifications
Once creating the escape ingame finished, because the map is finished or it's time to go to be, you have to save modifications, which means inserting them in the map, because these data are for the moment present only in the game, volatile.
If you are in a solo game (not connected to battle.net), here are steps to follow :
- Type command "-saveMapInCache" (-smic) and wait the message "SAVING MAP FINISHED" appears. Since this moment you can leave the game.
- Go to Warcraft III folder, then "save" and finally your profile (ProfileI). Si you have several folders "ProfileI", the good one is the one containing file "Campaigns.w3v" with the current date.
- Put the file "cacheConv.exe" (downloadable here) to this place if it isn't already done.
- Create a shortcut to "cacheConv.exe", still in this folder.
- Go into properties of the shortcut and modify target adding parameter "Campaigns.w3v". Then target shall look like to this : "C:\Jeux\Warcraft III\save\Profile2\CacheConv.exe" Campaigns.w3v. Click on OK.
- Execute the shortcut. The file "Campaigns.slk" shall appear or being updated. It contains data of your escape as text.
- Put the .exe file of jassGenerator still in the same folder, if it's not already done. Execute it.
- Folder "FichiersDeSortie" shall be appear or being updated.
- Close your map in the JNGP if it's opened.
- Open your map with MPQ master.
- Import file "war3map.w3e" present in "FichiersDeSortie", erasing the old one.
- Leave MPQ master and open your map in the JNGP.
- In trigger editor, find the folder "JASS GENERATOR" in section "TO CHANGE".
- Replace the total contents of each one of the three triggers it contains, by contents of the corresponding .j files in folder "FichiersDeSortie" (note : .j files open with a simple notepad).
- At last, save the map. Note : you have to save the map with JNGP after importing the new terrain with MPQ master, this for the minimap to update (during map saving).
- In your next game your will find your modifications again, like magic.
If you are in a multiplayer game, there are several more steps to follow, because of the command " -saveMapInCache" which doesn't work in multiplayer mode :
- First and foremost, know that in a multiplayer game every player can save only once, but that when someone saves, it saves for everybody.
- To be able to save modifications made to the map, you have to be administrator (be the first player in the list in the game), or the administrator must have given you admin rights with command "-beAdmin".
- Don't forget to type command "-saveTerrain" (-st) or all modifications made to the terrain in this game will be lost.
- If antisave is enabled, type "-canSave on".
- Save the game.
- Exit battle.net.
- Go to Warcraft III folder, then "save" and finally "Multiplayer.
- Make a copy of your save (.w3z file) and put it in the folder of your solo profile (ProfileI).
- In Warcraft III go in solo mode and load your game.
- The terrain must be back to the state of the beginning of the game. Don't panic, type command "-loadTerrain" (-lt). The terrain must have updated.
- Since now, follow solo mode steps.