Commit Graph

1575 Commits

Author SHA1 Message Date
Matt Nadareski
40de13ac3d [doc] minor update to description 2016-05-16 15:19:38 -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
d2e96a8f24 Use DatData for everything; read header elements
Reading the header elements will come in handy for when built-in parse and generate code will take care of converting from any format to any format.
2016-05-16 14:28:23 -07:00
Matt Nadareski
d5b5a9a30b More changes using DatData objects 2016-05-16 13:42:21 -07:00
Matt Nadareski
a5682454b1 Include more information in notes and add extra fields ot DatData 2016-05-16 11:59:33 -07:00
Matt Nadareski
564e44f71d Get framework in place for XML to RomCenter 2016-05-16 11:55:38 -07:00
Matt Nadareski
8e7e435afd Add experimental RomCenter to XML conversion
This is currently not hooked up anywhere and is untested
2016-05-15 21:19:57 -07:00
Matt Nadareski
7facc8e89b Pre-emptively add RomCenter output 2016-05-15 20:42:15 -07:00
Matt Nadareski
220706e8cc Change some logic based on new system 2016-05-15 20:15:18 -07:00
Matt Nadareski
75c40cc906 [doc] add descriptions to enums 2016-05-15 20:15:05 -07:00
Matt Nadareski
6dc0c07b4a [doc] remove note from remarks 2016-05-15 14:36:09 -07:00
Matt Nadareski
b895b06029 Add comment field output 2016-05-15 14:35:45 -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
d753b796fe [doc] put more development notes in source 2016-05-15 14:02:25 -07:00
Matt Nadareski
67473bd4a0 [doc] more notes for DATabaseTwo 2016-05-15 13:54:30 -07:00
Matt Nadareski
f101ee7758 [doc] notes about missing features in DATabaseTwo 2016-05-15 13:51:55 -07:00
Matt Nadareski
b23710c814 Consolodate the key variables since there's no need for separate ones. 2016-05-15 13:45:41 -07:00
Matt Nadareski
c723033273 Implement continue/ignore flag for software lists 2016-05-15 13:23:29 -07:00
Matt Nadareski
5448d86cc2 This caused more issues than before. Commenting out for the time being until a better solution is found. 2016-05-15 12:17:11 -07:00
Matt Nadareski
c5564a3219 [doc] minor logging update 2016-05-14 20:50:50 -07:00
Matt Nadareski
9f0f9bda94 dataarea didn't work, let's try offset 2016-05-14 19:41:07 -07:00
Matt Nadareski
f3b3b4c915 Fix new SL dats
New SL dats have the size in the dataarea tag and NOT the rom tag. This should fix the issues from that.
2016-05-14 14:59:40 -07:00
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
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