mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-08 08:22:25 +00:00
Added bash versions of all the map preparing and merging scripts in 'tools/mapmerge2/'. (#6929)
* Added bash versions of all the map preparing and merging scripts in 'tools/mapmerge2/'. * Renamed all Linux map preparation bash scripts. * All Linux map preparation bash scripts now assume the file is being executed from the mapmerge2 directory, making the same assumption the .bat files make. * The map merge Linux bash script now assumes the script is being run from the mapmerge2 directory, making the same assumption the .bat file makes.
This commit is contained in:
11
tools/mapmerge2/PrepareMaps-Aurora.sh
Normal file
11
tools/mapmerge2/PrepareMaps-Aurora.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
cd ../../maps/aurora
|
||||
|
||||
for f in *.dmm; do
|
||||
cp -- "$f" "${f%.dmm}.dmm.backup"
|
||||
done
|
||||
|
||||
echo "All dmm files in the maps/aurora directory have been backed up."
|
||||
echo "Now you can make your changes."
|
||||
echo "---"
|
||||
echo "Remember to run mapmerge.sh just before you commit your changes!"
|
||||
echo "---"
|
||||
11
tools/mapmerge2/PrepareMaps-Exodus.sh
Normal file
11
tools/mapmerge2/PrepareMaps-Exodus.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
cd ../../maps/exodus
|
||||
|
||||
for f in *.dmm; do
|
||||
cp -- "$f" "${f%.dmm}.dmm.backup"
|
||||
done
|
||||
|
||||
echo "All dmm files in the maps/exodus directory have been backed up."
|
||||
echo "Now you can make your changes."
|
||||
echo "---"
|
||||
echo "Remember to run mapmerge.sh just before you commit your changes!"
|
||||
echo "---"
|
||||
11
tools/mapmerge2/PrepareMaps-RandomDungeons.sh
Normal file
11
tools/mapmerge2/PrepareMaps-RandomDungeons.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
cd ../../maps/dungeon_spawns
|
||||
|
||||
for f in *.dmm; do
|
||||
cp -- "$f" "${f%.dmm}.dmm.backup"
|
||||
done
|
||||
|
||||
echo "All dmm files in the maps/dungeon_spawns directory have been backed up."
|
||||
echo "Now you can make your changes."
|
||||
echo "---"
|
||||
echo "Remember to run mapmerge.sh just before you commit your changes!"
|
||||
echo "---"
|
||||
11
tools/mapmerge2/PrepareMaps-Runtime.sh
Normal file
11
tools/mapmerge2/PrepareMaps-Runtime.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
cd ../../maps/runtime
|
||||
|
||||
for f in *.dmm; do
|
||||
cp -- "$f" "${f%.dmm}.dmm.backup"
|
||||
done
|
||||
|
||||
echo "All dmm files in the maps/runtime directory have been backed up."
|
||||
echo "Now you can make your changes."
|
||||
echo "---"
|
||||
echo "Remember to run mapmerge.sh just before you commit your changes!"
|
||||
echo "---"
|
||||
11
tools/mapmerge2/PrepareMaps-SpaceRuins.sh
Normal file
11
tools/mapmerge2/PrepareMaps-SpaceRuins.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
cd ../../maps/space_ruins
|
||||
|
||||
for f in *.dmm; do
|
||||
cp -- "$f" "${f%.dmm}.dmm.backup"
|
||||
done
|
||||
|
||||
echo "All dmm files in the maps/space_ruins directory have been backed up."
|
||||
echo "Now you can make your changes."
|
||||
echo "---"
|
||||
echo "Remember to run mapmerge.sh just before you commit your changes!"
|
||||
echo "---"
|
||||
9
tools/mapmerge2/mapmerge.sh
Normal file
9
tools/mapmerge2/mapmerge.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
export MAPROOT="../../maps/aurora/"
|
||||
export TGM="1"
|
||||
python3 mapmerge.py
|
||||
|
||||
cd ../../maps/aurora
|
||||
|
||||
for f in *.dmm; do
|
||||
unix2dos $f
|
||||
done
|
||||
Reference in New Issue
Block a user