Commit Graph

52 Commits

Author SHA1 Message Date
Matt Nadareski
ae01adfc6e [DatFile, DatItem] Proper cloning of machines to avoid dupe issues 2017-10-06 16:33:05 -07:00
Matt Nadareski
ca2d863227 [DatFile] Reame some parsing methods and re-sort 2017-10-06 16:18:18 -07:00
Matt Nadareski
801308266a [DatFile] Be consistent 2017-10-06 16:10:38 -07:00
Matt Nadareski
a4108df553 [DatFile] Make hashfile parsing cleaner 2017-10-06 16:09:57 -07:00
Matt Nadareski
6fa2a376d2 [DatFile, Machine] Create and use clone method 2017-10-06 15:55:54 -07:00
Matt Nadareski
a20be6fc43 [DatFile] Use DatHeader and DatStats 2017-10-06 15:49:32 -07:00
Matt Nadareski
eb1d1ba618 [InternalStopwatch] Add an internal stopwatch and use it kinda 2017-10-06 00:52:26 -07:00
Matt Nadareski
680b3dec38 [DatFile] Rename helper method 2017-10-05 23:36:45 -07:00
Matt Nadareski
74f27f6030 [DatFile] Refactor bucketing code 2017-10-05 23:35:53 -07:00
Matt Nadareski
6d25997981 [DatFile] Wrap intial bucketby in an if-statement 2017-10-05 15:22:55 -07:00
Matt Nadareski
95d6d9829b [DatFile] Dictionary methods reorg + rename 2017-09-25 14:28:55 -07:00
Matt Nadareski
67e7d12d63 [DatFile] Rely on count 2017-09-25 13:16:16 -07:00
Matt Nadareski
7797b668ee [DatFile] Fix sorting issue 2017-09-25 12:55:38 -07:00
Matt Nadareski
260a6c5851 [DatFile] Rename _files to _items to better reflect use 2017-09-25 12:38:13 -07:00
Matt Nadareski
231cc6141f [DatFile] Use wrapped functions; add Remove overloads 2017-09-25 12:21:52 -07:00
Matt Nadareski
739cb2d6c4 [DatFile] Yes, I seriously forgot a parenthesis 2017-09-05 15:26:43 -07:00
Matt Nadareski
00349e1ff2 [Globals, DatFile, Traverse] Seriously fix parallelization again 2017-09-05 14:56:05 -07:00
Matt Nadareski
dfa755d170 [DatFile] Fix hash-verify a little 2017-08-31 23:48:40 -07:00
Matt Nadareski
3a4f930a58 [DatFile] Missed parers for flag change 2017-08-29 11:48:58 -07:00
Matt Nadareski
e7683ec0fb [ALL] Add game dedupe 2017-08-29 11:46:01 -07:00
Matt Nadareski
66524bf034 [DatFile] Split should remove ALL copies of the rom, not just the first 2017-08-29 10:42:48 -07:00
Matt Nadareski
29c503b9ec [ALL] Add device non-merged option
This is a special merging mode that counts on newer versions of MAME not respecting the romof tags, leaving parents with files that are not actually required by the children. This new merging mode ignores those romof and cloneof tags, using devices only to add more required roms.
2017-08-26 23:57:33 -07:00
Matt Nadareski
08a8ee67ad [Logger, DatFile] Minor fixes to ordering and logging 2017-08-26 14:16:35 -07:00
Matt Nadareski
47f70838f1 [ALL] Use params variant for logging 2017-08-26 14:11:10 -07:00
Matt Nadareski
06d9980b9b [DatFile] Wouldn't it be nice to add these? 2017-08-26 00:28:54 -07:00
Matt Nadareski
b423cdca9e [DatFile] Fix listroms format read 2017-08-26 00:17:52 -07:00
Matt Nadareski
e4776cb43a [DatFile, Machine] Fix description-to-name 2017-07-17 13:47:51 -07:00
Matt Nadareski
a5ef8aeb0e [DatFile] Fix CSV/TSV read and write 2017-07-13 17:23:58 -07:00
Matt Nadareski
181716fb41 [All] Change threading to be global 2017-07-13 17:03:38 -07:00
Matt Nadareski
b59bcd7c20 [DatFile] Make Machine a struct for memory usage 2017-06-16 16:24:26 -07:00
Matt Nadareski
1500875822 [DatFile] Take care of more unnecessary nested threading 2017-06-14 12:49:55 -07:00
Matt Nadareski
b348cb5065 [DatFile] Try to manage memory 2017-06-14 12:35:23 -07:00
Matt Nadareski
2b3b7097a1 [DatFile] Threading and output fixes for diff against 2017-06-14 10:17:28 -07:00
Matt Nadareski
aeb799d5a2 [DatFile] Statistics overhaul 2017-06-13 13:18:41 -07:00
Matt Nadareski
529ae9cbfc [DatFile] More fixes and stuff 2017-06-12 17:28:20 -07:00
Matt Nadareski
9ae8cdf883 [Datfile] Logging? Logging 2017-06-12 17:26:59 -07:00
Matt Nadareski
0b440fe08b [DatFile] Use the stuff I coded 2017-06-12 10:16:30 -07:00
Matt Nadareski
7e8a8a0342 [DatFile] Fix outdir handling in diff 2017-06-06 15:20:57 -07:00
Matt Nadareski
e43124057c [DatFile] Ensure roms are separated for diffing 2017-06-06 14:59:16 -07:00
Matt Nadareski
0e4fea9d20 [ALL] Add read/write support for MAME Listrom format 2017-06-06 00:41:16 -07:00
Matt Nadareski
945d5a24e0 [DatFile] Fix "forcenodump" 2017-06-03 11:07:28 -07:00
Matt Nadareski
e0688bf4c6 [DatFile, FileTools] Revert some natural sorting stuff 2017-06-02 16:06:52 -07:00
Matt Nadareski
20b6208211 [DatFile, NaturalComparer, Style] Fix current directory; fix sorting order
If we find stuff that's "identical" then we should really compare to see if it's ACTUALLY identical or not, or else this can make some things REALLY weird
2017-06-01 18:03:37 -07:00
Matt Nadareski
250dca39bf [DatFile] Fix debug build 2017-06-01 13:40:36 -07:00
Matt Nadareski
5f8cfc418e [DatFile] File ordering should use Natural comparisons 2017-06-01 13:09:34 -07:00
Matt Nadareski
47ce3999c6 [DatFile] Add "against" diffing
This is the same diffing that is used by Romba to output its diffs. It is currently untested. Basically, this will take a set of base DATs as an input, and then diffs all of the individual DATs against that combined base and then outputs accordingly.
2017-06-01 11:19:54 -07:00
Matt Nadareski
c65dd866d6 [DatFile, DatItem] Fix desc-to-name replacements
Previously, sets that had multiple items would trigger issues because of shared information in the items, mostly the Machine parts. By making all of it a clone, it takes a little more memory but ends up resolving all issues in desc-to-name mapping and replacement.
2017-05-14 23:53:03 -07:00
Matt Nadareski
bad61d1ed1 [DatFile] Safer code to ensure better description-to-name remapping 2017-05-14 20:03:31 -07:00
Matt Nadareski
2b4831e297 [DatFile] A couple of places for deep hashes to be omitted for the time being 2017-05-14 19:02:45 -07:00
Matt Nadareski
63110a1000 [DatFile] Make sure single and in-directory DATs are treated the same 2017-05-14 16:43:12 -07:00