Commit Graph

350 Commits

Author SHA1 Message Date
Matt Nadareski
ccdb809a44 Merge branch 'master' of https://github.com/mnadareski/wizzardDesktop.git 2016-05-22 13:32:44 -07:00
attractivo
daa4ec54dd undeleting needed lines 2016-05-22 22:28:56 +02:00
Matt Nadareski
66795c8b18 Create Constants class and consolodate 2016-05-22 13:15:13 -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
26a2511701 Revert "Minor change to be fully compatible with SuperDAT output"
This reverts commit 8b43e2ec79.
2016-05-19 13:37:05 -07:00
Matt Nadareski
e61fece944 Revert "Keep the names and don't trim if we're in SuperDAT mode"
This reverts commit db2bd98ce1.
2016-05-19 13:36:59 -07:00
Matt Nadareski
db2bd98ce1 Keep the names and don't trim if we're in SuperDAT mode 2016-05-19 13:15:12 -07:00
Matt Nadareski
8b43e2ec79 Minor change to be fully compatible with SuperDAT output 2016-05-19 13:14:17 -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
8180237144 Fix TrimMerge dictionary error 2016-05-18 12:25:10 -07:00
Matt Nadareski
cef669d948 Add "SuperDAT" to default name and desc 2016-05-17 23:31:12 -07:00
Matt Nadareski
6819f465ac Remove debugging output 2016-05-17 23:29:34 -07:00
Matt Nadareski
76c3ff567b Add SuperDAT output to merge/dedupe 2016-05-17 23:29:03 -07:00
Matt Nadareski
4efbc82f81 Fix incorrect output name 2016-05-17 12:56:33 -07:00
Matt Nadareski
a03b3735f6 Fix diffing 2016-05-17 11:49:09 -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
fc67d62fe5 Remove most of the outdated references and methods 2016-05-16 20:51:05 -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
d5b5a9a30b More changes using DatData objects 2016-05-16 13:42:21 -07:00
Matt Nadareski
ff48cddc9a Create a more extensible system for DAT creation for future additions 2016-05-15 14:34:06 -07:00
Matt Nadareski
ad7e8dceea A blank directory can cause issues 2016-05-12 10:24:42 -07:00
Matt Nadareski
11632ca111 Better naming 2016-05-11 14:32:06 -07:00
Matt Nadareski
2844bac565 Take advantage of new enum ordering 2016-05-11 10:57:00 -07:00
Matt Nadareski
f9656f73ff Ignore the _dedup value in checking because it doesn't matter 2016-05-11 09:51:20 -07:00
Matt Nadareski
21f15219e8 Make this logic a little more solid 2016-05-11 09:33:52 -07:00
Matt Nadareski
d38557d489 Make all-diff standard for diff 2016-05-11 09:16:46 -07:00
Matt Nadareski
382f74afaa An attempt to make diffing work the way I think it should
Basically, if a rom is a duplicate, it can be a duplicate within a system or source or across system or source, and by hash alone or by all data matching. The four combinations make an enum now and the diff function is the only one that uses them right now. If we're in dedup mode, we want to check hashes only in diff. Otherwise, we want to check against ones that match all information. This  needs field testing.
2016-05-10 20:55:51 -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
f3c4f233c9 Add 64-bit build output 2016-04-29 13:19:48 -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
fa519036ad Remove all traces of the outdated DB merge/import 2016-04-28 12:43:56 -07:00
Matt Nadareski
13ba806a59 Wrong dict name used 2016-04-28 12:01:54 -07:00