Difference between revisions of "Map Merger"
From NSV13
Jump to navigationJump to searchimported>Jordie0608 |
imported>CorruptComputer m (Updated) |
||
Line 14: | Line 14: | ||
|To test if Java is in your PATH, open Git Bash and type "Java". If it says "unknown command" you will need to add JAVA/bin to your PATH. See here for how: [https://www.java.com/en/download/help/path.xml] | |To test if Java is in your PATH, open Git Bash and type "Java". If it says "unknown command" you will need to add JAVA/bin to your PATH. See here for how: [https://www.java.com/en/download/help/path.xml] | ||
|- | |- | ||
− | |'''3. | + | |'''3. Prepare Maps''' |
− | | | + | |Run "Prepare Maps.bat" in the tools/mapmerge/ directory. |
|- | |- | ||
− | + | |'''4. Edit your map''' | |
− | |'''4 | ||
− | |||
− | |||
− | |||
|Make your changes to the map here. Remember to save them! | |Make your changes to the map here. Remember to save them! | ||
|- | |- | ||
− | |''' | + | |'''5. Clean map''' |
− | |Run | + | |Run "Run Map Merge.bat" in the tools/mapmerge/ directory. Don't worry if it says there are ~8000 differences, just ignore that for now. |
|- | |- | ||
|'''7. Check differences''' | |'''7. Check differences''' | ||
Line 31: | Line 27: | ||
|- | |- | ||
|'''8. Commit''' | |'''8. Commit''' | ||
− | |Your map is now ready to be committed, rejoice. | + | |Your map is now ready to be committed, rejoice and wait for conflicts. |
|} | |} | ||
− | |||
− | |||
− | |||
[[Category:Guides]] [[Category:Game Resources]] | [[Category:Guides]] [[Category:Game Resources]] | ||
{{Contribution guides}} | {{Contribution guides}} |
Revision as of 13:47, 26 July 2015
Before any change to a map, it is good to use the Map Merger tools. What these do is cut down the number of lines which Dream Maker thinks have changed, since it usually interprets any change to the map as a rewrite of all ~8000 lines.
The Map Merger tools presently only work for windows as they utilize .bat files.
If you have difficulty using these tools, ask for help in #coderbus
Using the tools
1. Install Java | If you don't have Java already installed it can be downloaded from: [1] |
2. PATH Java | To test if Java is in your PATH, open Git Bash and type "Java". If it says "unknown command" you will need to add JAVA/bin to your PATH. See here for how: [2] |
3. Prepare Maps | Run "Prepare Maps.bat" in the tools/mapmerge/ directory. |
4. Edit your map | Make your changes to the map here. Remember to save them! |
5. Clean map | Run "Run Map Merge.bat" in the tools/mapmerge/ directory. Don't worry if it says there are ~8000 differences, just ignore that for now. |
7. Check differences | Use your application of choice to look at the differences between revisions of your code. If it's reading ~8000 line differences then you've done something wrong, go back and try again. |
8. Commit | Your map is now ready to be committed, rejoice and wait for conflicts. |