Jump to content

[Patch] AD-extractor dbc files number output


Guest begemot

Recommended Posts

Small patch, just print to output wright number of dbc files.

For master branch, commit [d2ae28b9165a17cfa6047c2be496081dda2e8bba].

diff --git a/contrib/extractor/System.cpp b/contrib/extractor/System.cpp
index 3a9650c..b0cff97 100644
--- a/contrib/extractor/System.cpp
+++ b/contrib/extractor/System.cpp
@@ -974,10 +974,11 @@ void ExtractDBCFiles(int locale, bool basicLocale)
        string filename = path;
        filename += (iter->c_str() + strlen("DBFilesClient\\\\"));

-        if(ExtractFile(iter->c_str(), filename))
+        if (ExtractFile(iter->c_str(), filename)) {
            ++count;
+        }
    }
-    printf("Extracted %u DBC files\\n\\n", count);
+    printf("Extracted %u DBC files\\n\\n", count + 1);
}

void LoadLocaleMPQFiles(int const locale) 

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use