Matt Nadareski
0fc2538508
[MergeDiff] Add more catches for empty/null lists
2016-06-11 19:08:02 -07:00
Matt Nadareski
b7cda5f342
[DatTools] Rename RomManipulation to DatTools
2016-06-11 15:08:24 -07:00
Matt Nadareski
e78135f5a3
[MergeDiff] Make main method less monolithic
2016-06-10 16:59:02 -07:00
Matt Nadareski
ab094118cb
[MergeDiff] In cascade, only output the affected files
2016-06-10 13:42:56 -07:00
Matt Nadareski
3880f43587
[MergeDiff] Enable keep flag by default
2016-05-29 14:34:37 -07:00
Matt Nadareski
922b4287e8
[MergeDiff] Add "clean" as a parameter
2016-05-29 14:04:06 -07:00
Matt Nadareski
f9cc461100
[RomManipution] Add logging support to Merge
2016-05-29 00:57:17 -07:00
Matt Nadareski
673d6d5481
Wrong place
2016-05-27 13:12:46 -07:00
Matt Nadareski
aa887a46fc
Change the other place too
2016-05-27 13:10:56 -07:00
Matt Nadareski
25f34733da
Make output redirect act like inplace for cascade
2016-05-27 13:09:57 -07:00
Matt Nadareski
9d855e23ac
Rename games in diff (dupes/nodupes) and help fix output redirect
2016-05-27 13:04:53 -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
df5374d7dc
Fix merging in MergeDiff
2016-05-27 09:48:36 -07:00
Matt Nadareski
430536dfca
Fix quirks in inplace outputs
2016-05-26 21:43:28 -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
eb1c25f125
Set filename explicitly
2016-05-26 17:39:10 -07:00
attractivo
daa4ec54dd
undeleting needed lines
2016-05-22 22:28:56 +02: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
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
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
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
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
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
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
Matt Nadareski
2ac01545e1
Output should be deuped according to the user spec
2016-04-28 11:32:19 -07:00
Matt Nadareski
ae2b8fd44d
Add more code for dictionary based merging
2016-04-28 11:31:35 -07:00
Matt Nadareski
a202dc3dbb
More changes to enable Dictionary merging
2016-04-28 11:06:27 -07:00
Matt Nadareski
9672a5962d
Add dictionary-based file output
2016-04-28 10:57:32 -07:00
Matt Nadareski
820097a2ec
Rename since this is a permanent method now
2016-04-27 20:57:05 -07:00
Matt Nadareski
4458fd2ce0
Minor output name change
2016-04-27 20:44:17 -07:00
Matt Nadareski
d8864084d1
Commit to using the DB approach for merging
2016-04-27 20:37:28 -07:00
Matt Nadareski
ba5581af63
Fix AB output from new database
2016-04-27 18:29:29 -07:00
Matt Nadareski
18369e89df
More code changes to accustom diff and AB
2016-04-27 16:57:03 -07:00