Commit Graph

215 Commits

Author SHA1 Message Date
Matt Nadareski
741af21e72 [doc] update actual key definition 2016-05-13 22:53:17 -07:00
Matt Nadareski
e06701f08b [doc] remove old sorting algorithm because it's not useful anymore 2016-05-13 16:55:58 -07:00
Matt Nadareski
5f7252349c Wrong direction on logic. 2016-05-13 16:52:01 -07:00
Matt Nadareski
a10592ebf3 Maybe fixes the issue with source/system sorting? 2016-05-13 16:50:45 -07:00
Matt Nadareski
e5ebc52129 Second experimental attempt at improving merges 2016-05-13 16:18:50 -07:00
Matt Nadareski
6f1f65aedb Revert "Experimental flip of values"
This reverts commit 1b3cbf6796.
2016-05-13 16:17:03 -07:00
Matt Nadareski
1b3cbf6796 Experimental flip of values 2016-05-13 15:43:26 -07:00
Matt Nadareski
6f025b3dfa Undo part of a previous change because of sorting issues 2016-05-13 12:41:06 -07:00
Matt Nadareski
ec228fc499 Slight rearrangement, Some issues popped up with ordering 2016-05-13 12:16:03 -07:00
Matt Nadareski
f463f3b767 @tractivo: change comparison to better match uniqueness
He brought this to my attention because somehow some items are getting compared by CRC only. This is wrong on a lot of levels, but this should be a step in the right direction.
2016-05-13 10:13:46 -07:00
Matt Nadareski
81e5d90dd1 Fix expected DATFromDir behavior 2016-05-12 11:23:11 -07:00
Matt Nadareski
56c4a4b47c Add code to check for SHA-1 only situations with proper sorting 2016-05-12 10:25:20 -07:00
Matt Nadareski
5224b1dabe Change merging because blank CRCs can lead to problems 2016-05-11 15:02:33 -07:00
Matt Nadareski
c2b1cebe37 Invert the logic so that it actually makes sense 2016-05-11 12:08:17 -07:00
Matt Nadareski
2844bac565 Take advantage of new enum ordering 2016-05-11 10:57:00 -07:00
Matt Nadareski
889b265c4f Change order of enum to be more logical 2016-05-11 10:55:09 -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
d649988a04 Some hex hashes are short and need to be padded 2016-05-10 18:20:27 -07:00
Matt Nadareski
85fc63e6d0 Bump version number 2016-05-10 16:30:07 -07:00
Matt Nadareski
b37a3dce4c Make sure that the file gets written to 2016-05-10 16:05:23 -07:00
Matt Nadareski
f6010004d0 Make a log folder now 2016-05-10 16:01:32 -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
2d95c59a90 Fix confusion about priority by making sure sorting takes into account the entire number 2016-05-09 16:22:47 -07:00
Matt Nadareski
4365b86b98 Make the process in DATabaseTwo more akin to normal DATabase; add new switches 2016-05-09 11:58:17 -07:00
Matt Nadareski
dc641df92d Forgot an old addition to help 2016-05-09 11:46:15 -07:00
Matt Nadareski
f4678b8548 Add suggested feature for power users
Ignore is useful for users who don't particularly care about the source going into the system. This is especially useful in combination with norename enabled.
2016-05-09 11:44:53 -07:00
Matt Nadareski
3bf610517e Null really is an issue, but it's good now 2016-05-09 11:12:26 -07:00
Matt Nadareski
68aeee165b Case is a problem sometimes. 2016-05-09 10:31:15 -07:00
Matt Nadareski
ceec81a71c Slight change to output sorting 2016-05-09 10:02:01 -07:00
Matt Nadareski
07e41dba30 Blank games are still a pain 2016-05-09 09:53:56 -07:00
Matt Nadareski
5ad9a83b63 Fix issues with game naming and renaming 2016-05-09 09:35:07 -07:00
Matt Nadareski
010b0a1153 Empty game names are an issue 2016-05-08 20:57:14 -07:00
Matt Nadareski
e7ede7cca2 Even more fun with zero-byte files 2016-05-06 13:12:00 -07:00
Matt Nadareski
a7f97cc419 More 0-byte file shennanigans 2016-05-06 12:56:02 -07:00
Matt Nadareski
ced41c5cde Add skip on nodump 2016-05-06 10:59:05 -07:00
Matt Nadareski
53cfcd19ed Fix "-" crc, md5, and sha1 hashes 2016-05-06 10:53:42 -07:00
Matt Nadareski
afe719073f Trim the name, it causes issues 2016-05-05 11:17:22 -07:00
Matt Nadareski
1e1d247f4f Clarify comment at top of DATabaseTwo 2016-05-05 10:32:30 -07:00
Matt Nadareski
4e3e3f950c Add experimental DATabaseTwo and update 64-bit
DATabaseTwo is a standalone version of what will be replacing "Import" and "Generate" and thus eliminating the need for a complex import and export process. Custom DATs can be cared by Dir2DAT features and merging so there is no use to have advanced DB features. The new database, dats..sqlite, is a much lighter version, only holding the DAT information, systems, and sources.
2016-05-05 10:13:57 -07:00
Matt Nadareski
a074dd001c Have to make everything similar for inputs and flags 2016-05-04 15:09:31 -07:00
Matt Nadareski
231b576490 Make inputs explicit for OfflineMerge 2016-05-04 14:43:40 -07:00
Matt Nadareski
57e57151cf Make this message clearer 2016-05-04 12:41:18 -07:00
Matt Nadareski
411115083d Make merging more robust 2016-05-03 23:59:32 -07:00
Matt Nadareski
455c5c25e1 Add new output to OfflineMerge 2016-05-03 13:53:06 -07:00
Matt Nadareski
fc0e3b8577 Second attempt at making build selection automatic 2016-05-03 02:38:58 -07:00
Matt Nadareski
f1bd23847e Not all CMP DATs use the same whitespace 2016-05-03 00:51:11 -07:00
Matt Nadareski
51dbb6cf8f [doc] update comment 2016-05-02 15:30:39 -07:00
Matt Nadareski
dcf5aa7071 Forgot the other Parse 2016-05-02 14:08:50 -07:00