Commit Graph

110 Commits

Author SHA1 Message Date
Matt Nadareski
cfeccbb43d [DATFromDir] Move file delete outside so it tries to catch everything 2016-09-22 10:49:37 -07:00
Matt Nadareski
0458e77293 [DATFromDir] Remove list of files to delete 2016-09-22 09:43:30 -07:00
Matt Nadareski
656ac774ab [DATFromDir] Add async delete 2016-09-22 09:42:45 -07:00
Matt Nadareski
57f6d361f7 [DATFromDir] Put retry on intial delete too 2016-09-21 23:17:30 -07:00
Matt Nadareski
284c3e088e [DATFromDir] Get proper output paths again 2016-09-21 23:07:20 -07:00
Matt Nadareski
b353ddeb12 [DATFromDir] Set maximum delete retries at 50 2016-09-21 22:20:30 -07:00
Matt Nadareski
7f44558083 [DATFromDir] Add delayed delete for locked files that have been moved 2016-09-21 22:13:58 -07:00
Matt Nadareski
bd049f12ec [DATFromDir] Add copy files flag
This flag forces files to be copied to the temporary directory before being parsed. This can decrease the parsing time if the temp directory is on an SSD.
2016-09-21 21:16:53 -07:00
Matt Nadareski
f512fa5b50 [ALL] Fix CMP parsing again, add NotNodump option for filter 2016-09-21 16:46:01 -07:00
Matt Nadareski
0dca764563 [ALL] Add full status filtering 2016-09-21 16:19:58 -07:00
Matt Nadareski
ae27ba2157 [ALL] Add full status backup, not just nodump 2016-09-21 15:45:40 -07:00
Matt Nadareski
323b77a78a [DatFile] Make DOSCenter output safer 2016-09-21 15:02:35 -07:00
Matt Nadareski
9bd116589c [DatFile] Add DOSCenter output format to all that support 2016-09-21 14:59:39 -07:00
Matt Nadareski
f147a06bc0 [DatFile] HTML encoded game names for mono worked, so added safeguards are no longer needed. 2016-09-21 14:23:59 -07:00
Matt Nadareski
7212949f56 [Style, DatFile] Add better encoding finding 2016-09-21 12:47:11 -07:00
Matt Nadareski
08437314df [DatFile] Try forcing BOM? 2016-09-21 10:11:15 -07:00
Matt Nadareski
3c67cfe37f [DatFile] Add check for Write Dat as well 2016-09-20 23:43:54 -07:00
Matt Nadareski
ca0e93e1ec [DatFIle] Put check back in 2016-09-20 23:42:49 -07:00
Matt Nadareski
340580708a [DatFile] Force BOM off with UTF8 writing
Input DATs are straight UTF-8 the majority of the time so we should output the same
2016-09-20 23:42:22 -07:00
Matt Nadareski
cadc3e941c [ALL] Cleanup
This is a purge of dead and unused code. The major thing with this is the removal of all original DATabase features. They might be resurrected in the future but , for now, it would need a full rewrite to make sense. Nobody uses it either, so it shouldn't be missed.
2016-09-20 17:39:01 -07:00
Matt Nadareski
656474de7d [DatFIle] Add one more check 2016-09-20 15:32:23 -07:00
Matt Nadareski
943e455cff [DatFile] Add extra precautions for stuff I can't test 2016-09-20 15:28:55 -07:00
Matt Nadareski
9d25ad94b6 [DatFile] Add more security and comments 2016-09-20 14:41:45 -07:00
Matt Nadareski
5c34427c81 [DatFile] Add safeguard for issues I haven't been able to locally verify 2016-09-20 14:01:32 -07:00
Matt Nadareski
7c2f085c77 [DatFile] Add "forcepacking" as flag in CMP too 2016-09-20 12:33:52 -07:00
Matt Nadareski
d625404dea [SabreTools.Helper] Move some things around 2016-09-20 10:19:38 -07:00
Matt Nadareski
df2a06c2e2 [SimpleSort] Fix hash copying 2016-09-19 22:53:33 -07:00
Matt Nadareski
de5e63a695 [DatItem] Fix child classes equatiblity 2016-09-19 22:28:17 -07:00
Matt Nadareski
9a7be539fb [DatFile] Add temporary fix with logging statement 2016-09-19 22:01:16 -07:00
Matt Nadareski
cea31f6c7b [Generate/Import] Remove original implementations 2016-09-19 21:45:51 -07:00
Matt Nadareski
bc87d2a935 [DatTools] A couple more rom locations 2016-09-19 21:45:32 -07:00
Matt Nadareski
81f217b786 [DatFile] Make sure that we use DatItem objects unless specifics are needed 2016-09-19 21:04:45 -07:00
Matt Nadareski
770f9d7275 [DatItem] Add and fix 2016-09-19 20:52:55 -07:00
Matt Nadareski
44b00f9f5a [DatFile, Disk, Rom] Make sure nulls are accounted for 2016-09-19 20:51:18 -07:00
Matt Nadareski
10b74ec550 [DatFile] Fix XML output 2016-09-19 20:39:51 -07:00
Matt Nadareski
1db04406c3 [ALL] Remove Hash struct
This is a bit controversial, even for me, but for the time being, we need to tie very specific information to each type of item. That means that a Rom and a Disk, though they both have hashes, they have different hashes. I'm going to see how this plays out for the time being.
2016-09-19 20:36:12 -07:00
Matt Nadareski
b549085c34 [ALL] Convert Dat from a struct to an object
This effectively doesn't do much for the time being since there's only one "Dat type" that's being used. Realistically, this is probably the best bet since a given DAT should not be restricted to an output type as much as an ItemType is bound to its data. This also removes the experimental classes that won't be in use for forever. More work still might need to be done but it is unknown at this point.
2016-09-19 20:08:25 -07:00
Matt Nadareski
902070c542 [ALL] Overhaul to internal system
This massive change replaces the old "Rom" struct system with a new one that have different objects for each major item type. This required a lot of work and a lot of changes and has unfortunately been untested. But this is the first step in moving away from using structs. The next major step is converting Dat over to this as well.
2016-09-19 18:04:24 -07:00
Matt Nadareski
6879d5a2d5 [SimpleSort] Add slightly more code for new method 2016-09-19 10:49:25 -07:00
Matt Nadareski
22e60c26e0 [ALL] Make Parse use the Dat as a ref
All cases where this was being used, it was being assigned back to the original datdata object. This is not necessary.
2016-09-18 21:05:48 -07:00
Matt Nadareski
7f08c80341 [SimpleSort] Bring stability improvements to SimpleSort and the classes/methods it relies on 2016-09-18 12:29:33 -07:00
Matt Nadareski
4f43aecea2 [SimpleSort] Remove note 2016-09-17 23:58:18 -07:00
Matt Nadareski
92b2ba07d5 [SimpleSort] More comments, more code 2016-09-17 22:47:44 -07:00
Matt Nadareski
9abf97b88a [SimpleSort] Add note about find/bucket 2016-09-17 18:36:41 -07:00
Matt Nadareski
49027e4a50 [SimpleSort] Make sure memory stream is disposed 2016-09-17 18:25:05 -07:00
Matt Nadareski
92330940f7 [SimpleSort] Make sorting more traditional 2016-09-17 18:23:15 -07:00
Matt Nadareski
25e521d50d [SimpleSort] Add header-skipper checks to new method 2016-09-17 18:20:41 -07:00
Matt Nadareski
df3bc65cf8 [SimpleSort] Create mini regions for code blocks 2016-09-17 18:03:55 -07:00
Matt Nadareski
aabb44fb33 [SimpleSort] Start adding better rebuild code 2016-09-17 18:00:18 -07:00
Matt Nadareski
976fd408ad [SimpleSort] Remove part of comment 2016-09-17 17:31:08 -07:00