mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user