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:
@@ -14,7 +14,6 @@ namespace DatSplit
|
||||
private static string extA;
|
||||
private static string extB;
|
||||
private static string filename;
|
||||
private static string _version = "0.3.0.0";
|
||||
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
@@ -36,7 +35,7 @@ namespace DatSplit
|
||||
{
|
||||
doc.LoadXml(File.ReadAllText(filename));
|
||||
}
|
||||
catch (XmlException ex)
|
||||
catch (XmlException)
|
||||
{
|
||||
doc.LoadXml(Converters.RomVaultToXML(File.ReadAllLines(filename)).ToString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user