Commit Graph

142 Commits

Author SHA1 Message Date
Matt Nadareski
1b4727c618 [DATabase] Move DATabaseTwo functions to DATabase 2016-05-28 16:36:39 -07:00
Matt Nadareski
07db29cfbf Create and implement IGenerate, IImport 2016-05-28 16:15:47 -07:00
Matt Nadareski
36979cfd17 Remove unused references 2016-05-28 15:39:56 -07:00
Matt Nadareski
b9d6a15a08 Individual files need the correct base path 2016-05-27 12:15:39 -07:00
Matt Nadareski
61bc2984ad Possibly allow for output redirection on mergediff
I'm making the executive decision to NOT include this in the menu for now because it's too cramped
2016-05-27 11:57:00 -07:00
Matt Nadareski
44fdcc3b16 Fix path issue for outputted inplace DATs 2016-05-27 11:06:14 -07:00
Matt Nadareski
de5fb1df94 Let stats have their own logs 2016-05-27 10:58:34 -07:00
Matt Nadareski
ce12700cb1 Further fixes to logging and SL read 2016-05-27 10:55:21 -07:00
Matt Nadareski
4f854a05b2 Fully integrate stats into DATabase 2016-05-27 09:38:25 -07:00
Matt Nadareski
b38efc3546 Get framework for Stats into DATabase 2016-05-27 09:28:33 -07:00
Matt Nadareski
d54328dbbf Enable inplace diffing for cascaded output only 2016-05-26 21:57:36 -07:00
Matt Nadareski
c0fb12682c Create locked version of inplace diffing, currently no flag is set 2016-05-26 21:35:45 -07:00
Matt Nadareski
1ae690d3c7 Get inplace variable ready for use 2016-05-26 21:18:32 -07:00
Matt Nadareski
562ff44d56 Fix pathing issues again 2016-05-25 11:38:22 -07:00
Matt Nadareski
0cdc4f3363 Output filename fixes 2016-05-25 11:35:34 -07:00
Matt Nadareski
fa7c2e69eb Shift in thinking about output name 2016-05-25 11:33:38 -07:00
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