Commit Graph

28 Commits

Author SHA1 Message Date
Matt Nadareski
f7727ae4c6 Add markers for testing
These added markers show which code needs to be commented out for the new code to work properly.
2016-04-22 11:08:02 -07:00
Matt Nadareski
b600af5780 More commented code for possible change 2016-04-22 00:39:46 -07:00
Matt Nadareski
c576a4bc9b Add more test code in Import 2016-04-22 00:24:29 -07:00
Matt Nadareski
c0930bb11b Add more experimental code
This code can be enabled for local testing by uncommenting and running it in place of the current code. This is the first of  few commits with  similar theme
2016-04-21 23:56:59 -07:00
Matt Nadareski
dbbf297263 Field possible database changes
The current format of the database is good for small amounts of data. The truth is that the hashes and sizes of the files are what really determine if a file is different or not. After chatting with Obiwantje about this, I'm beginning some code tests with a hash-centric database model, instead of the game/rom centric. This means that each hash can have mutliple roms attached to it, similarly a given game can have multiple sources or systems attached. It's a much cleaner system, but demands a total rewrite and new databae structure.
2016-04-21 23:46:14 -07:00
Matt Nadareski
a2016870c6 Minor edit to hopefully make import faster 2016-04-21 20:10:43 -07:00
Matt Nadareski
8e78bd7b41 Unnecessary space removed 2016-04-21 17:34:11 -07:00
Matt Nadareski
38253bb062 [doc] clarify comment 2016-04-21 17:28:46 -07:00
Matt Nadareski
bcf263a5f6 Wrap rom insert into a transaction 2016-04-21 16:14:43 -07:00
Matt Nadareski
bae642d401 These should be warnings, not errors 2016-04-21 14:16:20 -07:00
Matt Nadareski
729a0fd71f Add skeleton for Good for @tractivo 2016-04-21 12:54:39 -07:00
Matt Nadareski
39b66ed8a1 Let's be Mono friendly
This is a massive overhaul that replaces System.Data.SQLite with Mono.Data.Sqlite. This should make it more compatible with Linux and Mac and has no known downsides for Windows.
2016-04-20 17:02:15 -07:00
Matt Nadareski
dab5bcc506 Make TrimMerge and DatSplit properly bool-returning 2016-04-20 02:40:01 -07:00
Matt Nadareski
f5b40b7c7c Change handling of files 2016-04-20 02:33:59 -07:00
Matt Nadareski
622832a086 More quote adding; remove unnecessary public var 2016-04-20 02:31:08 -07:00
Matt Nadareski
14d229bc1d Use centralized DAT parsing and manipulate data after
Though the change doesn't reflect this, RomManipulation is a renamed Sorting with an addtional method, Parse.
2016-04-19 01:11:23 -07:00
Matt Nadareski
1d129bfa18 Move Enums and Structs to central location 2016-04-12 15:03:47 -07:00
attractivo
c76ccf7d3a added defaultspecialpattern 2016-04-08 02:51:05 +02:00
Matt Nadareski
d5a8a7aaa6 Tab normalizing 2016-04-07 15:43:16 -07:00
attractivo
d7612662c8 NonGood pattern/mapping fixes 2016-04-08 00:31:53 +02:00
Matt Nadareski
66000609e7 Broadest matches should go last 2016-04-07 13:06:46 -07:00
Matt Nadareski
c19b5ba1b2 Add maybe-intro mappings 2016-04-07 12:37:23 -07:00
Matt Nadareski
42d6c7bf04 Add "autorename" to Zandro's DATs 2016-04-07 11:47:29 -07:00
Matt Nadareski
911ad165f6 Add preliminary support for NonGood 2016-04-06 15:45:33 -07:00
Matt Nadareski
f968141ee7 Clean up references 2016-04-06 00:45:57 -07:00
Matt Nadareski
0f0313d52b 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.
2016-04-06 00:01:54 -07:00
Matt Nadareski
3c740a3f6b Move core functionality to Core folder 2016-03-24 12:49:10 -07:00
Matt Nadareski
c4d94c9921 Change name of Importer to Import 2016-03-24 12:46:02 -07:00