Commit Graph

59 Commits

Author SHA1 Message Date
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
47e8f11f82 Add convert to RomCenter functionality! 2016-05-16 15:38:33 -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
d5b5a9a30b More changes using DatData objects 2016-05-16 13:42:21 -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
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
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
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
3bf610517e Null really is an issue, but it's good now 2016-05-09 11:12:26 -07:00
Matt Nadareski
68aeee165b Case is a problem sometimes. 2016-05-09 10:31:15 -07:00
Matt Nadareski
ceec81a71c Slight change to output sorting 2016-05-09 10:02:01 -07:00
Matt Nadareski
07e41dba30 Blank games are still a pain 2016-05-09 09:53:56 -07:00
Matt Nadareski
5ad9a83b63 Fix issues with game naming and renaming 2016-05-09 09:35:07 -07:00
Matt Nadareski
010b0a1153 Empty game names are an issue 2016-05-08 20:57:14 -07:00
Matt Nadareski
e7ede7cca2 Even more fun with zero-byte files 2016-05-06 13:12:00 -07:00
Matt Nadareski
a7f97cc419 More 0-byte file shennanigans 2016-05-06 12:56:02 -07:00
Matt Nadareski
57e57151cf Make this message clearer 2016-05-04 12:41:18 -07:00
Matt Nadareski
411115083d Make merging more robust 2016-05-03 23:59:32 -07:00
Matt Nadareski
e11c53b9d6 Fix output being truncated using Dictionaries to List 2016-04-29 13:02:46 -07:00
Matt Nadareski
842ab5f39d Reduce the number of steps 2016-04-29 11:49:23 -07:00
Matt Nadareski
5689b1e29e [doc] Update comments 2016-04-28 21:46:57 -07:00
Matt Nadareski
2216613c83 My spacing was always off 2016-04-28 20:25:28 -07:00
Matt Nadareski
385bd17cf9 These things are taken care of in the main method 2016-04-28 17:19:00 -07:00
Matt Nadareski
2bf2fe9b80 Remove commented code 2016-04-28 17:18:31 -07:00
Matt Nadareski
2b4ac97f36 Make output comperable to regular parsing 2016-04-28 16:58:59 -07:00
Matt Nadareski
fd9451c9bd [doc] add comment about future work 2016-04-28 16:48:14 -07:00
Matt Nadareski
fa519036ad Remove all traces of the outdated DB merge/import 2016-04-28 12:43:56 -07:00
Matt Nadareski
a202dc3dbb More changes to enable Dictionary merging 2016-04-28 11:06:27 -07:00
Matt Nadareski
9672a5962d Add dictionary-based file output 2016-04-28 10:57:32 -07:00
Matt Nadareski
ba5581af63 Fix AB output from new database 2016-04-27 18:29:29 -07:00
Matt Nadareski
18369e89df More code changes to accustom diff and AB 2016-04-27 16:57:03 -07:00
Matt Nadareski
bfdb031438 Comment out code in preparation for eventual removal
The next step is to include the "source DAT name" in the dupe field instead of just "false". It will still be changed to "true" on merging, however. This will allow for multi-dat AB output since each unique source can have the non-dupe roms outputted. This will require a change in WriteToDat2 as well to enable "AB" mode, or at least a field called source that is default empty. If it's not empty, it tries to write out ONLY things that match that source. Maybe merge it in to the "diff" mechanic. Actually, if it's a flag, it will just output every variant: All in A, All in B, All in both, All not in both. Pretty easy.
2016-04-27 16:11:29 -07:00
Matt Nadareski
e450eebfd7 Stage 2 changes for using in-mem database
This change makes it mostly functional, having a way to both parse and merge in one step and output from the database. The issue is that the output from Parse2 doesn't match Parse OR Parse + Merge. Duplicates don't seem to be added in the first case and there are a differing number of roms in the second.
2016-04-27 01:10:24 -07:00
Matt Nadareski
6e6a2f9391 Add new HashDataToString function for later use 2016-04-26 13:17:55 -07:00
Matt Nadareski
8970756a2c Update old header with all information 2016-04-21 20:14:29 -07:00
Matt Nadareski
7e818df8a8 Miscellaneous cleanup
Updated Help to include new commandline params, clean up naming across classes, further updates to help future merging
2016-04-20 21:17:23 -07:00
Matt Nadareski
07ce694ae3 Fix GAME prefix not DAT prefix 2016-04-20 17:45:39 -07:00
Matt Nadareski
f82152e0a6 Add DAT name prefixing 2016-04-20 15:30:56 -07:00
Matt Nadareski
dc590e218b Minor fixes to DatToMiss 2016-04-20 13:56:05 -07:00
Matt Nadareski
e244b7a05a Make extensions functional 2016-04-20 13:41:01 -07:00
Matt Nadareski
ec54249ab6 Add new features requested by Obiwantje 2016-04-20 13:20:50 -07:00
Matt Nadareski
3214a26fb1 Quotes are for my friends 2016-04-20 12:15:57 -07:00
Matt Nadareski
eca0015108 Mono doesn't like empty directories 2016-04-20 12:00:16 -07:00
Matt Nadareski
6ceac909da Build a working DiffDat generator 2016-04-19 16:39:17 -07:00
Matt Nadareski
45a1fc37a0 One space can make all the difference in the world 2016-04-19 15:05:46 -07:00