Overhaul Headerer and bump version

Headerer now does both deheadering and reheadering. When a file has a header detected, it puts an entry in the database with the header, unheadered sha1, and the rom type. Reheadering tries to find a matching sha1 in the database and then adds it if it's found.
This commit is contained in:
Matt Nadareski
2016-03-30 02:36:23 -07:00
parent a47a809019
commit 2a5ea06ea5
6 changed files with 263 additions and 38 deletions

View File

@@ -15,7 +15,7 @@ namespace SabreTools
private static Logger logger;
private static string _dbName = "DATabase.sqlite";
private static string _connectionString = "Data Source=" + _dbName + ";Version = 3;";
private static string _version = "0.2.0.0";
private static string _version = "0.2.2.0";
private static string _header =
@"+-----------------------------------------------------------------------------+
| DATabase " + _version + @" |