diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/map_extractor/System.cpp | 7 | ||||
-rw-r--r-- | src/tools/vmap4_extractor/vmapexport.cpp | 5 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index c8d5c105af3..4f300f0ef0e 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -1019,7 +1019,9 @@ void ExtractDBCFiles(int l, bool basicLocale) uint32 count = 0; if (listFile) { - std::string outputPath = "./dbc/"; + std::string outputPath = output_path; + outputPath += "/dbc/"; + CreateDir(outputPath); if (!basicLocale) { @@ -1063,7 +1065,8 @@ void ExtractDB2Files(int l, bool basicLocale) uint32 count = 0; if (listFile) { - std::string outputPath = "./dbc/"; + std::string outputPath = output_path; + outputPath += "/dbc/"; if (!basicLocale) { outputPath += Locales[l]; diff --git a/src/tools/vmap4_extractor/vmapexport.cpp b/src/tools/vmap4_extractor/vmapexport.cpp index a1fd4e8321a..1582f9d0b25 100644 --- a/src/tools/vmap4_extractor/vmapexport.cpp +++ b/src/tools/vmap4_extractor/vmapexport.cpp @@ -59,7 +59,7 @@ HANDLE WorldMpq = NULL; HANDLE LocaleMpq = NULL; -uint32 CONF_TargetBuild = 15595; // 4.3.4.15595 +uint32 CONF_TargetBuild = 14545; // 4.2.2.14545 // List MPQ for extract maps from char const* CONF_mpq_list[]= @@ -517,6 +517,7 @@ bool processArgv(int argc, char ** argv, const char *versionString) break; } } + if(!result) { printf("Extract %s.\n",versionString); @@ -524,6 +525,7 @@ bool processArgv(int argc, char ** argv, const char *versionString) printf(" -s : (default) small size (data size optimization), ~500MB less vmap data.\n"); printf(" -l : large size, ~500MB more vmap data. (might contain more details)\n"); printf(" -d <path>: Path to the vector data source folder.\n"); + printf(" -b : target build (default 14545)"); printf(" -? : This message.\n"); } @@ -545,7 +547,6 @@ bool processArgv(int argc, char ** argv, const char *versionString) int main(int argc, char ** argv) { - getc(stdin); bool success=true; const char *versionString = "V4.00 2012_02"; |