aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenugh <venugh@gmx.net>2012-04-09 17:34:48 +0200
committerVenugh <venugh@gmx.net>2012-04-09 17:34:48 +0200
commitb970d31e078d57def97a22e71499f779d6d080f6 (patch)
treec5d1f544ee637746b5be0c3d12ab7e70b6e296f2
parentd06c09271295f8199fa45ae9b7d8e2eb600bbe26 (diff)
add extraction tools.
-rw-r--r--contrib/extract/extract_data.sh8
-rw-r--r--contrib/extract/libmysql.dllbin0 -> 2316288 bytes
-rw-r--r--contrib/extract/mapextractor.exebin0 -> 314368 bytes
-rw-r--r--contrib/extract/mmaps_generator.exebin0 -> 2224128 bytes
-rw-r--r--contrib/extract/only_extract_offmesh.sh14
-rw-r--r--contrib/extract/vmap4assembler.exebin0 -> 1427456 bytes
-rw-r--r--contrib/extract/vmap4extractor.exebin0 -> 321536 bytes
7 files changed, 11 insertions, 11 deletions
diff --git a/contrib/extract/extract_data.sh b/contrib/extract/extract_data.sh
index d44dd7d12fd..d28c7b7d7f5 100644
--- a/contrib/extract/extract_data.sh
+++ b/contrib/extract/extract_data.sh
@@ -22,7 +22,7 @@ NUM_CPU="2"
## ! Use below only for finetuning or if you know what you are doing !
-USE_AD="0"
+USE_MAPS="0"
USE_VMAPS="0"
USE_MMAPS="0"
USE_MMAPS_OFFMESH="0"
@@ -30,7 +30,7 @@ USE_MMAPS_OFFMESH="0"
if [ "$1" = "a" ]
then
## extract all
- USE_AD="1"
+ USE_MAPS="1"
USE_VMAPS="1"
USE_MMAPS="1"
else
@@ -42,14 +42,14 @@ else
if [ "$line" = "y" ]
then
## extract all
- USE_AD="1"
+ USE_MAPS="1"
USE_VMAPS="1"
USE_MMAPS="1"
else
echo
echo "Should dbc and maps be extracted? (y/n)"
read line
- if [ "$line" = "y" ]; then USE_AD="1"; fi
+ if [ "$line" = "y" ]; then USE_MAPS="1"; fi
echo
echo "Should vmaps be extracted? (y/n)"
diff --git a/contrib/extract/libmysql.dll b/contrib/extract/libmysql.dll
new file mode 100644
index 00000000000..36de6064f98
--- /dev/null
+++ b/contrib/extract/libmysql.dll
Binary files differ
diff --git a/contrib/extract/mapextractor.exe b/contrib/extract/mapextractor.exe
new file mode 100644
index 00000000000..ae6d150ba0e
--- /dev/null
+++ b/contrib/extract/mapextractor.exe
Binary files differ
diff --git a/contrib/extract/mmaps_generator.exe b/contrib/extract/mmaps_generator.exe
new file mode 100644
index 00000000000..8cd9ff65c26
--- /dev/null
+++ b/contrib/extract/mmaps_generator.exe
Binary files differ
diff --git a/contrib/extract/only_extract_offmesh.sh b/contrib/extract/only_extract_offmesh.sh
index 29beb3fdf18..700626856ee 100644
--- a/contrib/extract/only_extract_offmesh.sh
+++ b/contrib/extract/only_extract_offmesh.sh
@@ -26,9 +26,9 @@ EXCLUDE_MAPS=""
OFFMESH_FILE="offmesh.txt"
## Normal log file (if not overwritten by second param
-LOG_FILE="MoveMapGen.log"
+LOG_FILE="movemap.log"
## Detailed log file
-DETAIL_LOG_FILE="MoveMapGen_detailed.log"
+DETAIL_LOG_FILE="movemap_detailed.log"
## ! Use below only for finetuning or if you know what you are doing !
@@ -89,20 +89,20 @@ createMMaps()
continue 2
fi
done
- ./MoveMapGen $PARAMS $OFFMESH $i | tee -a $DETAIL_LOG_FILE
+ ./mmaps_generator $PARAMS $OFFMESH $i | tee -a $DETAIL_LOG_FILE
echo "`date`: (Re)created map $i" | tee -a $LOG_FILE
done
}
createHeader()
{
- echo "`date`: Start creating MoveMaps" | tee -a $LOG_FILE
+ echo "`date`: Start creating mmaps_generator" | tee -a $LOG_FILE
echo "Used params: $PARAMS $OFFMESH" | tee -a $LOG_FILE
echo "Detailed log can be found in $DETAIL_LOG_FILE" | tee -a $LOG_FILE
- echo "Start creating MoveMaps" | tee -a $DETAIL_LOG_FILE
+ echo "Start creating mmaps_generator" | tee -a $DETAIL_LOG_FILE
echo
echo "Be PATIENT - This will take a long time and might also have gaps between visible changes on the console."
- echo "WAIT until you are informed that 'creating MoveMaps' is 'finished'!"
+ echo "WAIT until you are informed that 'creating mmaps_generator' is 'finished'!"
}
# Create mmaps directory if not exist
@@ -140,7 +140,7 @@ case "$1" in
echo "Recreate offmeshs from file $OFFMESH_FILE" | tee -a $DETAIL_LOG_FILE
while read map tile line
do
- ./movement_extractor $PARAMS $OFFMESH $map --tile $tile | tee -a $DETAIL_LOG_FILE
+ ./mmaps_generator $PARAMS $OFFMESH $map --tile $tile | tee -a $DETAIL_LOG_FILE
echo "`date`: Recreated $map $tile from $OFFMESH_FILE" | tee -a $LOG_FILE
done < $OFFMESH_FILE &
;;
diff --git a/contrib/extract/vmap4assembler.exe b/contrib/extract/vmap4assembler.exe
new file mode 100644
index 00000000000..e5331a5f70e
--- /dev/null
+++ b/contrib/extract/vmap4assembler.exe
Binary files differ
diff --git a/contrib/extract/vmap4extractor.exe b/contrib/extract/vmap4extractor.exe
new file mode 100644
index 00000000000..4866904d04f
--- /dev/null
+++ b/contrib/extract/vmap4extractor.exe
Binary files differ