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
081e1a04ea
Order matters in cleaning rom names
2016-05-13 14:45:17 -07:00
Matt Nadareski
fb4abe5dc6
Minor addition to output
2016-05-13 14:42:41 -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
ad7e8dceea
A blank directory can cause issues
2016-05-12 10:24:42 -07:00
Matt Nadareski
5224b1dabe
Change merging because blank CRCs can lead to problems
2016-05-11 15:02:33 -07:00
Matt Nadareski
11632ca111
Better naming
2016-05-11 14:32:06 -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
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
970331c2b2
Missed a place where dupe was being used
2016-05-10 21:03:41 -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
364cdb10c9
Remove menu options for logging
2016-05-10 16:04:12 -07:00
Matt Nadareski
f6010004d0
Make a log folder now
2016-05-10 16:01:32 -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
42e1d5a8ea
Accidental copy/paste
2016-05-10 15:42:26 -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
37253b8c91
Filename is a bad indicator
2016-05-10 13:03:53 -07:00
Matt Nadareski
f626cae2b1
Missed another place for LowerInvariant
2016-05-10 12:32:56 -07:00
Matt Nadareski
d0dd7c89c7
Noticed that if a source is added, it can never be matched with the current logic
2016-05-10 12:09:43 -07:00
Matt Nadareski
188cb047ea
Try-catch is the best solution, since people might be using a blank dats.sqlite instead of the prepopulated one
2016-05-10 09:14:10 -07:00
Matt Nadareski
b6ba03eabe
Pull some strings to make it work
2016-05-09 19:39:59 -07:00
Matt Nadareski
e0de3fe665
Forgot one location for capitaliation
2016-05-09 19:24:04 -07:00
Matt Nadareski
78f3b2f70d
capitalization is a nightmare
2016-05-09 18:55:08 -07:00
Matt Nadareski
962d23c7e9
...forgot to actually make the default "Default".
2016-05-09 16:46:07 -07:00
Matt Nadareski
facdac4ea5
Need to add the default
2016-05-09 16:38:47 -07:00
Matt Nadareski
b10bd30d4e
Forgot to actually get source ID from the source name...
2016-05-09 16:25:10 -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
f5cf9cb802
I accidentally ignored ALL sources, not just new ones
2016-05-09 15:53:37 -07:00
Matt Nadareski
186b85a6b0
[doc] Import documentation updates
2016-05-09 15:49:34 -07:00
Matt Nadareski
f56bfcabed
Remove unnecessary references
2016-05-09 15:47:38 -07:00
Matt Nadareski
e9558280f0
Forgot to migrate this one variable
2016-05-09 15:47:10 -07:00
Matt Nadareski
ee4c06a745
These should be separated according to the original, logical separations. DATabase would be too cluttered and unusable otherwise.
2016-05-09 15:45:38 -07:00
Matt Nadareski
f4d874f01a
..needs to be after it's used for naming
2016-05-09 15:16:15 -07:00
Matt Nadareski
2d6be19e14
Default should be the last thing checked
2016-05-09 15:14:44 -07:00
Matt Nadareski
a8b4c6d899
Make all folders on the first run so that there's no confusion if the user doesn't perform import first.
2016-05-09 12:02:42 -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