From dfe08e3c9666e6b37f3a843bc4ff0db0b03418ba Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Fri, 18 Sep 2015 15:01:29 +0300 Subject: [PATCH] gameindex.dbf updater: slightly more verbose by default Now also summarizes regions by default and also lists compatibility improvements by default (both can be configured to be silent). --- tools/GameIndex.dbf-tool/pcsx2-GameIndex.dbf-updater.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/GameIndex.dbf-tool/pcsx2-GameIndex.dbf-updater.html b/tools/GameIndex.dbf-tool/pcsx2-GameIndex.dbf-updater.html index a6039063a2..853e026862 100644 --- a/tools/GameIndex.dbf-tool/pcsx2-GameIndex.dbf-updater.html +++ b/tools/GameIndex.dbf-tool/pcsx2-GameIndex.dbf-updater.html @@ -13,10 +13,11 @@ Quick and (very) dirty gameindex.dbf update tool from website compatibility db d - can import external html files with games info and compare the name/region to our own data */ var CONFIG_SKIP_SORT_1 = 0; // sort after initial dbf import -var CONFIG_SKIP_REGIONS_SUMMARY = 1; +var CONFIG_SKIP_REGIONS_SUMMARY = 0; var CONFIG_SKIP_IMPORT_CSV = 0; var CONFIG_SKIP_ADD_MISSING_FROM_CSV = 0; var CONFIG_SKIP_LOG_CSV_MISSING = 0; // files which have compat info at the dbf but not at the csv +var CONFIG_SKIP_LOG_IMPROVEMENTS = 0; // the common case of data.csv having better compat than the current dbf. var CONFIG_SKIP_SORT_2 = 0; // sort after adding entries from data.csv var CONFIG_SKIP_HTML_INDEX_IMPORTS = 1; @@ -278,9 +279,11 @@ function parseDbf(dbf, startLine) { if (com > dbcom) { updateSummary.better++ + if (!CONFIG_SKIP_LOG_IMPROVEMENTS) + logln("--> ++ Improving compat from " + dbcom + " to " + com + " for " + serPretty(ser) + ": " + game.Name); } else { updateSummary.worse++; - logln(":( Degrading compat from " + dbcom + " to " + com + " for " + serPretty(ser) + ": " + game.Name); + logln("--> -- Degrading compat from " + dbcom + " to " + com + " for " + serPretty(ser) + ": " + game.Name); } } else { updateSummary.same++;