Commit Graph

130 Commits

Author SHA1 Message Date
Matt Nadareski
7b0d198ef0 [RomManipulation] Values can be empty or null 2016-06-02 10:29:46 -07:00
Matt Nadareski
67c787ccde [RomManipulation] Remove debug log statements 2016-06-02 00:03:29 -07:00
Matt Nadareski
945a25ea11 Finetuning of Romba mode as well as misc fixes for other issues related. 2016-06-01 22:49:02 -07:00
Matt Nadareski
ed4330b50e [DATFromDir, RomManipulation, Stats] Various changes, see below
There are at least 2 separate changes that got intermingled on this one so I'm committing them all at the same time.
The first is massive overhauls to the Romba portion of DATFromDir. This part is still a work in progress.
The second is adding more items to the DatData struct to allow for better and more efficient stat collection.
2016-05-31 23:34:19 -07:00
Matt Nadareski
f2d51558bc [RomManipulation] Fix disk parsing in CMP DATs 2016-05-30 12:05:54 -07:00
Matt Nadareski
682dba5290 [RomManipulation] remove debug output 2016-05-30 11:44:44 -07:00
Matt Nadareski
6c72e0cbe2 [RomManipulation] Fix case-based issues in merging 2016-05-30 11:39:33 -07:00
Matt Nadareski
8186ed0892 [RomManipulation] Make code look cleaner 2016-05-29 21:25:42 -07:00
Matt Nadareski
fa40bb39cf [RomManipulation] Make game cleaning more standardized 2016-05-29 21:15:05 -07:00
Matt Nadareski
a7f7b6a4ff [RomManipulation] Fix game name cleaning in CMP and RC 2016-05-29 21:01:06 -07:00
Matt Nadareski
b07ccfbacd [RomManipulation] Add more trim statements for clean 2016-05-29 15:36:17 -07:00
Matt Nadareski
83ad5bef5f [RomManipulation] Add more logic for name checking 2016-05-29 14:39:07 -07:00
Matt Nadareski
c8f962e2bb [RomManipulation] Add cleaning to other DAT formats 2016-05-29 13:36:02 -07:00
Matt Nadareski
30e2d41827 [RomManipulation] Uncomment and fix cleaning code, add cleaning flag 2016-05-29 13:27:34 -07:00
Matt Nadareski
f9cc461100 [RomManipution] Add logging support to Merge 2016-05-29 00:57:17 -07:00
Matt Nadareski
1233acb735 Fix key issue in parsing 2016-05-28 15:13:28 -07:00
Matt Nadareski
8b5ace74d1 [doc] add remark about XML dats 2016-05-27 17:45:34 -07:00
Matt Nadareski
982f872cc3 Handle M1 DATs natively 2016-05-27 16:59:28 -07:00
Matt Nadareski
e8c5a39e34 Test commit to see if I can get converstion-quality code directly into parse 2016-05-27 16:06:19 -07:00
Matt Nadareski
ce12700cb1 Further fixes to logging and SL read 2016-05-27 10:55:21 -07:00
Matt Nadareski
a8686d0b7b Fix new SL DATs again 2016-05-27 10:47:41 -07:00
Matt Nadareski
430536dfca Fix quirks in inplace outputs 2016-05-26 21:43:28 -07:00
Matt Nadareski
8323464e49 Set FileName explictily where appropriate 2016-05-25 11:29:19 -07:00
Matt Nadareski
9184aa824e Refactor creating SortedDictionary 2016-05-23 14:15:09 -07:00
Matt Nadareski
96b8880bcb Take care of case of software tag ONLY having roms inside after the description.
This is rare and probably not seen too much in many softlists, but it is a possible issue, and must be addressed.
2016-05-22 17:24:19 -07:00
Matt Nadareski
66795c8b18 Create Constants class and consolodate 2016-05-22 13:15:13 -07:00
Matt Nadareski
e8224606b7 Clean up commented commit from @tractivo 2016-05-22 12:51:02 -07:00
attractivo
f310273c8d adding ///// comments for name NormalizeChars, RussianToLatin, SearchPattern 2016-05-21 22:01:03 +02:00
attractivo
c0950ca55a adding name trimming feature in //// comments for future use 2016-05-21 15:04:33 +02:00
Matt Nadareski
235d43dc8b Shouldn't have to expicitly define an empty dictionary for parse.
Addendum to this fix is adding a Nodump output for HashSplit
2016-05-21 00:45:56 -07:00
Matt Nadareski
926db51830 More SuperDAT woes 2016-05-20 23:56:21 -07:00
Matt Nadareski
5a197d30b9 Forgot the second location, thanks @tractivo 2016-05-20 14:12:49 -07:00
Matt Nadareski
290494c598 Oops, forgot to add the type here 2016-05-20 14:04:49 -07:00
Matt Nadareski
71783d27ed Descriptions can have double-quotes 2016-05-20 13:00:55 -07:00
Matt Nadareski
de9f3d6ac8 Adding Date to official specification, fix SabreDAT output
Secondary fix: how on Earth did reading from a game/rom formatted XML DAT not explode? It was using "xtr" instead of "subreader" for everything...
2016-05-20 10:21:24 -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
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
8994cf6f4c More SuperDAT improvments 2016-05-17 16:53:02 -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