Commit Graph

126 Commits

Author SHA1 Message Date
Matt Nadareski
24c7181bb0 Remove renaming based on description or vice versa 2016-05-25 11:31:11 -07:00
Matt Nadareski
8323464e49 Set FileName explictily where appropriate 2016-05-25 11:29:19 -07:00
Matt Nadareski
e0bad9eccf Add a couple new features
Added HashSplit to DATabase (commandline and menu)
Make DATFromDir properly use DatData objects
Add "Romba" option to DATFromDir to allow GZIP files to be read as archives
2016-05-22 12:45:20 -07:00
Matt Nadareski
235d43dc8b Shouldn't have to expicitly define an empty dictionary for parse.
Addendum to this fix is adding a Nodump output for HashSplit
2016-05-21 00:45:56 -07:00
Matt Nadareski
d8200433e0 Enable cascaded diffing of input files
Requested by @tractivo; allows for a series of DATs to be progressively pruned so that no dupes remain but the original info is intact.
2016-05-19 12:43:30 -07:00
Matt Nadareski
2befe495a5 Ooops, oversight in variable name 2016-05-19 09:08:00 -07:00
Matt Nadareski
3fd4332024 Allow users to specify Romba output without the Convert-Miss flag 2016-05-19 00:09:49 -07:00
Matt Nadareski
e0b4b13bcd Enable SabreDAT read-in and fix output
Additionally, fix the necessity for blank strings in DatData definitions for read-in. Now if it's null it'll try writing to it as well.
2016-05-18 23:51:54 -07:00
Matt Nadareski
1006e36712 SabreDAT!
This commit creates output that is compatible with the new SabreDAT format, created by me and inspired by Logiqx XML DATs and the SuperDAT format. It uses a file-folder structure instead of rom-game structure, making it more versitile.  It still cannot be read in currently, though it would be read in as a SuperDAT since it is the closest equivalent (so all non-file paths will be part of the game). Also, finding which type of XML DAT it is will be a bit difficult, so detection will have to improve.
2016-05-18 22:22:49 -07:00
Matt Nadareski
b08433cd52 Improve logging and Nodump handling 2016-05-18 16:37:39 -07:00
Matt Nadareski
3ee1753b21 Fix odd output naming for conversion dats 2016-05-18 15:34:49 -07:00
Matt Nadareski
ce1f895a9b Allow for a different output directory on convert; preserve file structure if in a folder 2016-05-18 14:19:02 -07:00
Matt Nadareski
611e13eedc Allow bulk conversions, and combine InitConvertX methods 2016-05-18 13:08:01 -07:00
Matt Nadareski
76c3ff567b Add SuperDAT output to merge/dedupe 2016-05-17 23:29:03 -07:00
Matt Nadareski
c1c9072649 Add file length check on MergeDiff 2016-05-17 10:46:49 -07:00
Matt Nadareski
9989c00ca9 Add Romba output to Miss files 2016-05-16 22:13:59 -07:00
Matt Nadareski
e3595ea384 More code cleanup
This change comprises of multiple smaller changes:
- Convert all WriteToDat to WriteToDatFromDict, including MissFile
- Change obsolete Import to use updated ParseDict
- Remove all references to Parse
- Rename all references to "Dict" specific code to shorter names
- Remove more unused methods rendered obsolete by other changes
2016-05-16 21:52:49 -07:00
Matt Nadareski
47e8f11f82 Add convert to RomCenter functionality! 2016-05-16 15:38:33 -07:00
Matt Nadareski
d90826b7a4 Use superior DAT creation tools instead of direct DAT conversion.
This change includes a few changes meant to keep the information from each DAT and have it retained in a single object which can then be written out in any format or added to other DATs with very little issue. This new system is much more versitile since all it needs is a way to convert each DAT to XML and then use the built-in output to output from the XML to the target format. This also gives the ability to clean a DAT by "converting" a DAT to the same format, removing any improper tagging or the such.
2016-05-16 15:17:11 -07:00
Matt Nadareski
d38557d489 Make all-diff standard for diff 2016-05-11 09:16:46 -07:00
Matt Nadareski
364cdb10c9 Remove menu options for logging 2016-05-10 16:04:12 -07:00
Matt Nadareski
e0d128ba3b Missed a couple spots 2016-05-10 15:57:09 -07:00
Matt Nadareski
969ea4a56d Because --merge --diff seems clunky 2016-05-10 15:56:05 -07:00
Matt Nadareski
1800ac6750 Logging overhaul!
This change brings about a few changes:
1) A new LogLevel called "User" that is used for non-verbose, non-error output
2) Only User and Error are output to console now, not all of them
3) All programs have log to file enabled by default and all flags for enabling logging have been removed
4) Some former Verbose statements have been converted over to User because of the shift in usage.
2016-05-10 15:41:33 -07:00
Matt Nadareski
a074dd001c Have to make everything similar for inputs and flags 2016-05-04 15:09:31 -07:00
Matt Nadareski
c9863f2b84 Clear vars on run from menu 2016-04-28 16:24:19 -07:00
Matt Nadareski
a2d9fd0402 I hate drag and drop 2016-04-28 16:10:22 -07:00
Matt Nadareski
4e73261987 Menu needs to have logging by default 2016-04-28 15:59:57 -07:00
Matt Nadareski
e7683235ba Wrong name on menu 2016-04-22 15:17:43 -07:00
Matt Nadareski
9123452d17 Enable AB mode
This mode outputs all necessary differences between two DATs, especially if combined with Diff mode.
2016-04-22 15:09:07 -07:00
Matt Nadareski
2d5bf0145b Add "AB" mode
Basically, this will output the information that's in each DAT but not in the merged and also the data that's only in every DAT. This needs testing, but it's a good start.
2016-04-22 13:51:37 -07:00
Matt Nadareski
606d7059ae Test and fix commented code. It works now! 2016-04-22 12:15:19 -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
b9115e66fe Change wording and default 2016-04-21 15:24:31 -07:00
Matt Nadareski
8e4f8e9fa6 Make -nr clearer in CLI and menu 2016-04-21 15:04:01 -07:00
Matt Nadareski
3185aa3fa6 noDate should be bare 2016-04-21 14:38:11 -07:00
Matt Nadareski
f2985b40cc Fix outputted DAT information 2016-04-21 14:35:11 -07:00
Matt Nadareski
20e96ae507 It always showed "imported" 2016-04-21 14:18:09 -07:00
Matt Nadareski
0390144419 Merge MergeDAT, part 6 2016-04-21 14:12:01 -07:00
Matt Nadareski
6483fd4772 Merge MergeDAT, part 5 2016-04-21 14:10:59 -07:00
Matt Nadareski
7f24f015c2 Merge MergeDAT, part 4 2016-04-21 14:09:21 -07:00
Matt Nadareski
e66e44f160 Merge MergeDAT, part 3 2016-04-21 13:46:39 -07:00
Matt Nadareski
c757bd1534 Merge MergeDAT, part 2 2016-04-21 13:32:35 -07:00
Matt Nadareski
1c4d7dab2c RV is not old-style CMP is 2016-04-20 21:55:28 -07:00
Matt Nadareski
7e818df8a8 Miscellaneous cleanup
Updated Help to include new commandline params, clean up naming across classes, further updates to help future merging
2016-04-20 21:17:23 -07:00
Matt Nadareski
07ce694ae3 Fix GAME prefix not DAT prefix 2016-04-20 17:45:39 -07:00
Matt Nadareski
4755345f70 Missed some renames, thanks @tractivo 2016-04-20 17:25:36 -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
f82152e0a6 Add DAT name prefixing 2016-04-20 15:30:56 -07:00
Matt Nadareski
24d81761f8 Add error on issue 2016-04-20 15:11:25 -07:00