mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Added merge driver for .dmm files.
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.dmm merge=merge-dmm
|
||||||
5
.gitconfig
Normal file
5
.gitconfig
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[merge "merge-dmm"]
|
||||||
|
name = mapmerge driver
|
||||||
|
driver = ./mapmerge.sh %O %A %B
|
||||||
|
recursive = text
|
||||||
|
|
||||||
BIN
MapPatcher.jar
Executable file
BIN
MapPatcher.jar
Executable file
Binary file not shown.
8
mapmerge.sh
Executable file
8
mapmerge.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
java -jar MapPatcher.jar -unpack $1 $1 > /dev/null
|
||||||
|
java -jar MapPatcher.jar -unpack $2 $2 > /dev/null
|
||||||
|
java -jar MapPatcher.jar -unpack $3 $3 > /dev/null
|
||||||
|
|
||||||
|
cp $2 original.dmm
|
||||||
|
|
||||||
|
echo "Map merge conflict, make sure to repack the map with MapPatcher -pack and clean it with MapPatcher -clean original.dmm"
|
||||||
|
exit 0
|
||||||
Reference in New Issue
Block a user