Matt Nadareski
0ed44d0b45
[Stats, DatFile] Merge Stats into DatFile
...
Since statistics are something that is supposed to be inherent to Dats, this makes the most sense being inside of DatFile
2016-09-22 17:00:34 -07:00
Matt Nadareski
c17744984c
[Logger] Have logging automatically start on Logger create
2016-09-22 16:43:38 -07:00
Matt Nadareski
64270f5727
[DATFromDir] This needs to be wrapped in try/catch
2016-09-22 16:27:42 -07:00
Matt Nadareski
bd1a0219ac
[DATFromDir] Use pre-existing variable for reference
2016-09-22 16:21:15 -07:00
Matt Nadareski
8a9722f8b2
[FileTools] Add more stream-based methods; reorganize
2016-09-22 16:16:48 -07:00
Matt Nadareski
863e936d07
[ALL] Get rid of rest of non-library usings
2016-09-22 15:59:03 -07:00
Matt Nadareski
74fbe60686
[ALL] Stop using "using" for everything except databases
2016-09-22 15:36:02 -07:00
Matt Nadareski
6b43053b7d
[DATFromDir] Clean-as-you-go directories
2016-09-22 14:50:06 -07:00
Matt Nadareski
9c57b1f68d
[FileTools] Make sure this isn't null first
2016-09-22 14:46:11 -07:00
Matt Nadareski
062d43b3c2
[FileTools] Manual dispose of file stream (thanks edc!)
2016-09-22 14:45:28 -07:00
Matt Nadareski
5074f820c9
[DATFromDir] Clear temp directory in other location too
2016-09-22 14:33:01 -07:00
Matt Nadareski
4cdd6bd003
[DATFromDir] Clean directory after extract only
2016-09-22 14:31:22 -07:00
Matt Nadareski
65fc83e4f5
Revert part of "[DATFromDir] Try to delete the copied file in more places"
2016-09-22 14:21:12 -07:00
Matt Nadareski
42896494f5
Revert "[DATFromDir] One more try"
...
This reverts commit 8fda194f6f .
2016-09-22 11:56:14 -07:00
Matt Nadareski
8fda194f6f
[DATFromDir] One more try
2016-09-22 11:28:44 -07:00
Matt Nadareski
b7ac716d64
[DATFromDir] Try to delete the copied file in more places
2016-09-22 11:17:10 -07:00
Matt Nadareski
cfeccbb43d
[DATFromDir] Move file delete outside so it tries to catch everything
2016-09-22 10:49:37 -07:00
Matt Nadareski
bcab3b72d0
[FileTools] Set the access for the file to be as deletable as possible
2016-09-22 10:07:49 -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
39a9797e13
[README.1ST] Add old commands in their own section
...
This is done partially to help people who have used older versions of the program to find what used to be options. It's also done to help show what has been added or removed from the various parts of the programs
2016-09-21 20:16:57 -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
fa4a5c6f41
[Style] Make output naming more accurate
...
This removes the added extension for RC, DOSCenter, and SabreDat types if the conflicting versions are not being output.
2016-09-21 13:34:55 -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