Matt Nadareski
d71b38d90a
[ALL] Rename and move some things around
2016-10-03 15:29:40 -07:00
Matt Nadareski
ec5b56e8f4
[FileTools] Add proper seeking support for GetSingleStreamInfo
2016-10-03 15:25:09 -07:00
Matt Nadareski
ccb063c74e
[ALL] Rename a few things; fix GetSingleStreamInfo; add headerless DFD
2016-10-03 15:05:07 -07:00
Matt Nadareski
574bff9c2e
[FileTools] Fix occasion where XML file is not normally indented and spaced
2016-10-03 09:22:18 -07:00
Matt Nadareski
d05d2ebe9a
[FileTools] Some old CMP dats are not well formed
2016-10-02 20:14:24 -07:00
Matt Nadareski
6aa29f8fae
[ALL] Rename a few things
2016-09-30 12:15:36 -07:00
Matt Nadareski
d0010cef90
[FileTools] Accomodate more broken DATs
2016-09-29 20:05:46 -07:00
Matt Nadareski
0e1c33a89a
[FileTools] Fix compatibility with older and non-compliant XML DATs
2016-09-29 17:57:27 -07:00
Matt Nadareski
36f9b12d06
[DatFile] Make XML parsing safer; skip malformed XML lines
2016-09-28 12:27:39 -07:00
Matt Nadareski
d96b3d4832
[DatFile, FileTools] Add checks for MD5, SFV, and SHA1 files
2016-09-28 11:30:06 -07:00
Matt Nadareski
09cb1e98e9
[DatFile, FileTools] Add preliminary OfflineList support
2016-09-27 12:05:29 -07:00
Matt Nadareski
ec34b91942
[DatFile, FileTools] Tweak SL and SD types
2016-09-27 11:26:55 -07:00
Matt Nadareski
96d4491d82
[DatFile, FileTools] Implement custom traversal of directories
2016-09-26 17:52:20 -07:00
Matt Nadareski
219d6f7664
[DatFile, SimpleSort, FileTools] Make sure extensions are checked properly
2016-09-26 17:36:25 -07:00
Matt Nadareski
8a39d398a4
[Logger] Updating logging to allow for removal of prefix
2016-09-23 15:09:00 -07:00
Matt Nadareski
a3f8f441c5
[FileTools] Remoe unused methods, using
2016-09-22 23:32:43 -07:00
Matt Nadareski
2d903e9dc8
[FileTools] Remove legacy skipper information from Headerer and replace with new system
2016-09-22 21:32:06 -07:00
Matt Nadareski
eb33a84580
[ALL] More rearranging
2016-09-22 21:04:41 -07:00
Matt Nadareski
2a55511c3e
[FileTools, ArchiveTools] Separate archive-specific methods to their own class again
2016-09-22 21:00:18 -07:00
Matt Nadareski
b776240c11
[Headerer, FileTools] Wrap Headerer into FileTools
2016-09-22 20:42:34 -07:00
Matt Nadareski
a8417bdfcc
[DatFile] Reorganize and make more things object-based
2016-09-22 17:52:58 -07:00
Matt Nadareski
ae9bfb9cd3
[DatFile, FileTools] Move GetXmlTextReader to a better location
2016-09-22 17:14:23 -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
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
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
656ac774ab
[DATFromDir] Add async delete
2016-09-22 09:42:45 -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
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
7f08c80341
[SimpleSort] Bring stability improvements to SimpleSort and the classes/methods it relies on
2016-09-18 12:29:33 -07:00
Matt Nadareski
8e1a174800
[FileTools] Make multi-file versions of each of the write archive methods
2016-09-17 23:24:44 -07:00
Matt Nadareski
0a2a85c156
[FileTools] Add another stream-based method and convert file-based version
2016-09-17 18:15:53 -07:00
Matt Nadareski
b39a81f3d3
[FileTools] Preserve file datetime easier...
2016-09-16 17:23:48 -07:00
Matt Nadareski
fc27f7c268
[FileTools] Maintain datestamp on extract
2016-09-16 17:09:26 -07:00
Matt Nadareski
bf6d45a542
[ALL] More temp standardization, naming standardization
2016-09-16 16:35:58 -07:00
Matt Nadareski
4959c67bbb
[FileTools] Yet more things to make TZIP work
...
Only thing that it doesn't do is compress to the right size. Still compresses smaller than RV TZIP.
2016-09-16 15:51:37 -07:00
Matt Nadareski
c69dddbc26
[FileTools, SimpleSort, ZipFile/Entry] TorrentZip works! Mostly!
...
Writing to torrentzip works but for some reason the compressed streams are not being generated at the correct size. This is odd and seems to only affect newly added files and not ones copied from other archives. Also, found some glaring flaws in the headered output that explains why I was having issues previously. Typos D=
2016-09-16 11:37:55 -07:00
Matt Nadareski
444fc1696b
[FileTools] More fiddling with Tzip
2016-09-15 21:25:58 -07:00
Matt Nadareski
6bd7162d00
[FileTools, ZipFile] Fix a couple things
2016-09-15 20:32:18 -07:00
Matt Nadareski
3e4664eb9e
[FileTools] Create first version of WriteTorrentZip
2016-09-15 16:58:45 -07:00
Matt Nadareski
9659b4de0e
[ZipFile, ZipFileEntry, FileTools] Move more things around
2016-09-15 16:20:00 -07:00
Matt Nadareski
c4cad201c0
[ZipFile, ZipFileEntry, FileTools] Move things around, make program compile again
2016-09-15 16:06:06 -07:00
Matt Nadareski
1803eb1ab8
[ZIpFile, ZipFileEntry] Finish porting over code from RV
2016-09-15 15:57:37 -07:00
Matt Nadareski
eb9e61d918
[ZipFileEntry] Get slightly modified version of LocalFile into the project, based on the work in RomVault at https://github.com/gjefferyes/RomVault/blob/master/ROMVault2/SupportedFiles/Zip/zipFile.cs
2016-09-15 13:32:59 -07:00
Matt Nadareski
29b1330d97
[ALL] TorrentZip stuff
...
Taking a cue from RomVault and GordonJ, I'm including the Zlib code as converted by DotNetZip as well as creating a couple slightly more maleable structures for writing archives.
2016-09-15 12:16:33 -07:00
Matt Nadareski
5f79f4205c
[FileTools] Rearrange code
2016-09-14 18:12:05 -07:00