Commit Graph

1575 Commits

Author SHA1 Message Date
Matt Nadareski
daa41d1923 Create a 0-byte file for formats that don't allow actual blank folders 2016-05-20 09:56:49 -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
41e7edcd72 Fix DATabaseTwo handling of DAT files
For some reason, a SuperDAT that was imported was emptying all game names.
2016-05-19 12:19:28 -07:00
Matt Nadareski
76ee0d116f Clean out debugging, useless, and commented code. 2016-05-19 11:00:10 -07:00
Matt Nadareski
2aabeefc5b Fix RomVault-style dir2dat
The previous version was skipping over all secondary directories because of poor previous programming. This fixes the issues found with those DATs.
2016-05-19 10:56:36 -07:00
Matt Nadareski
41063921f2 Handle blank folders in DATFromDir and output alike 2016-05-19 10:28:53 -07:00
Matt Nadareski
b10e5e9502 Slight tweak to accommodate RV Dir2DAT 2016-05-19 09:30:38 -07:00
Matt Nadareski
2befe495a5 Ooops, oversight in variable name 2016-05-19 09:08:00 -07:00
Matt Nadareski
3fd4332024 Allow users to specify Romba output without the Convert-Miss flag 2016-05-19 00:09:49 -07:00
Matt Nadareski
e0b4b13bcd Enable SabreDAT read-in and fix output
Additionally, fix the necessity for blank strings in DatData definitions for read-in. Now if it's null it'll try writing to it as well.
2016-05-18 23:51:54 -07:00
Matt Nadareski
1006e36712 SabreDAT!
This commit creates output that is compatible with the new SabreDAT format, created by me and inspired by Logiqx XML DATs and the SuperDAT format. It uses a file-folder structure instead of rom-game structure, making it more versitile.  It still cannot be read in currently, though it would be read in as a SuperDAT since it is the closest equivalent (so all non-file paths will be part of the game). Also, finding which type of XML DAT it is will be a bit difficult, so detection will have to improve.
2016-05-18 22:22:49 -07:00
Matt Nadareski
690b2628f6 Change an Error back to Warning 2016-05-18 20:12:58 -07:00
Matt Nadareski
780c9a6ab8 Descriptions might have forward slashes that AREN'T folder markers. Replace them with underscores. 2016-05-18 17:10:20 -07:00
Matt Nadareski
600ec5b4fc log if disk is found because some tools don't like it
I dunno, ask Obiwantje...
2016-05-18 17:06:13 -07:00
Matt Nadareski
5364f88c76 Let's support Nodumps for output as well 2016-05-18 16:59:34 -07:00
Matt Nadareski
b08433cd52 Improve logging and Nodump handling 2016-05-18 16:37:39 -07:00
Matt Nadareski
3ee1753b21 Fix odd output naming for conversion dats 2016-05-18 15:34:49 -07:00
Matt Nadareski
ce1f895a9b Allow for a different output directory on convert; preserve file structure if in a folder 2016-05-18 14:19:02 -07:00
Matt Nadareski
611e13eedc Allow bulk conversions, and combine InitConvertX methods 2016-05-18 13:08:01 -07:00
Matt Nadareski
8180237144 Fix TrimMerge dictionary error 2016-05-18 12:25:10 -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
5086d4ed5d Turns out it was broken and I didn't notice. Oops. 2016-05-17 18:49:13 -07:00
Matt Nadareski
4999649ee2 Final round of SuperDAT fixes (for now) 2016-05-17 17:30:41 -07:00
Matt Nadareski
74e347edd8 Remove debugging text 2016-05-17 17:21:49 -07:00
Matt Nadareski
2dc9e32353 Further improvements to SuperDAT handling 2016-05-17 17:21:31 -07:00
Matt Nadareski
8994cf6f4c More SuperDAT improvments 2016-05-17 16:53:02 -07:00
Matt Nadareski
4efbc82f81 Fix incorrect output name 2016-05-17 12:56:33 -07:00
Matt Nadareski
7eaabd538d Make deduping EVEN MORE accurate
With thanks to Obiwantje and EliUmniCk for testing and helping with the design update.
2016-05-17 12:55:29 -07:00
Matt Nadareski
a03b3735f6 Fix diffing 2016-05-17 11:49:09 -07:00
Matt Nadareski
fc78412162 Explicit numbering for DupeType 2016-05-17 11:33:40 -07:00
Matt Nadareski
48507e76b1 Add "type" to DatData for use with SuperDATs 2016-05-17 11:23:06 -07:00
Matt Nadareski
c1c9072649 Add file length check on MergeDiff 2016-05-17 10:46:49 -07:00
Matt Nadareski
17a2480f03 Properly implement SuperDAT functionality 2016-05-17 10:31:57 -07:00
Matt Nadareski
0ae52b9435 [doc] make note of how description is used 2016-05-17 00:38:51 -07:00
Matt Nadareski
3dc2d13431 Show the user the count, not just the log 2016-05-17 00:20:49 -07:00
Matt Nadareski
84f913fafc Fix reading from nonstandard headers 2016-05-16 22:25:03 -07:00
Matt Nadareski
09cf1a3553 [doc] remove Romba note 2016-05-16 22:18:01 -07:00
Matt Nadareski
3afc67e706 Forgot the newline 2016-05-16 22:14:48 -07:00
Matt Nadareski
9989c00ca9 Add Romba output to Miss files 2016-05-16 22:13:59 -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
fc67d62fe5 Remove most of the outdated references and methods 2016-05-16 20:51:05 -07:00
Matt Nadareski
d408aa6941 [doc] update to return description 2016-05-16 20:19:14 -07:00
Matt Nadareski
a8d45e8e86 Fix RomCenter DAT parsing 2016-05-16 15:48:54 -07:00
Matt Nadareski
47e8f11f82 Add convert to RomCenter functionality! 2016-05-16 15:38:33 -07:00