Major changes to structure and code

First is the inclusion of two new projects: SabreHelper and SingleGame. SabreHelper is a DLL that contains anything that might be in common between programs (converters, db tools, logging). SingleGame is an experimental program to minimize a DAT for server usage, requested by Kludge.

The new structure represents a cleaner approach to having helper functions in a DLL, making each individual executable smaller and more well-defined.
This commit is contained in:
Matt Nadareski
2016-04-06 00:01:54 -07:00
parent 762c80d280
commit 0f0313d52b
26 changed files with 469 additions and 23 deletions

View File

@@ -16,10 +16,9 @@ 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.3.0.0";
private static string _header =
@"+-----------------------------------------------------------------------------+
| DATabase " + _version + @" |
| DATabase " + Build.Version + @" |
| |
| Programming: Matt Nadareski (darksabre76) |
| Testing: @tractivo |
@@ -656,9 +655,9 @@ or 'b' to go back to the previous menu:
fs.Close();
Console.WriteLine("Converted file: " + Path.GetFileNameWithoutExtension(filename) + ".new.dat");
}
catch (XmlException ex)
catch (XmlException)
{
logger.Warning("The file " + filename + " could not be parsed as an XML file.");
logger.Warning("The file " + filename + " could not be parsed as an XML file");
}
}
else