Commit Graph

76 Commits

Author SHA1 Message Date
Matt Nadareski
3fe787dc61 How did this stay for so long? 2016-05-21 01:02:23 -07:00
Matt Nadareski
926db51830 More SuperDAT woes 2016-05-20 23:56:21 -07:00
Matt Nadareski
8b196db721 Fix errant strings in DAT output 2016-05-20 23:12:39 -07:00
Matt Nadareski
29edfc45ee One more step missed =( 2016-05-20 10:24:30 -07:00
Matt Nadareski
bb7288925e Err, missed a step with the tabs 2016-05-20 10:23: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
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
41063921f2 Handle blank folders in DATFromDir and output alike 2016-05-19 10:28:53 -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
5364f88c76 Let's support Nodumps for output as well 2016-05-18 16:59:34 -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
48507e76b1 Add "type" to DatData for use with SuperDATs 2016-05-17 11:23:06 -07:00
Matt Nadareski
3dc2d13431 Show the user the count, not just the log 2016-05-17 00:20:49 -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
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