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
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
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
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
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
f059b5389c
[DatTools] Move things around to make more sense
2016-09-19 11:37:18 -07:00
Matt Nadareski
ca00ef029a
[DatTools] Move enumeration and get static list
2016-09-19 10:48:58 -07:00
Matt Nadareski
c9a3417b9a
[DatTools] Remove each list as you go, trying to reduce memory usage further
2016-09-19 10:02:11 -07:00
Matt Nadareski
dfcad4c95e
[DatTools] Cleanup
2016-09-18 22:52:59 -07:00
Matt Nadareski
2b8a739ac3
[DatTools, RomTools] Move filter to better location
2016-09-18 22:49:51 -07:00
Matt Nadareski
ef1e70d5cd
[DatTools] Make sure threading is respected for populating
2016-09-18 21:26:21 -07:00
Matt Nadareski
2753542a1f
[DatTools] Part 2 of using ref
2016-09-18 21:11:35 -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
ffbd416174
[DatTools, RomTools] Fix convert, fix sort
2016-09-18 13:03:51 -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
d0526db863
[DatTools] Strip out non-roms/disk unless specified
2016-09-17 15:24:37 -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
Matt Nadareski
f2b71c9df2
[FileTools] Get more TZIP stuff there
2016-09-14 18:10:09 -07:00
Matt Nadareski
8eb7953a70
[FileTools] Fix TZIP out
2016-09-14 17:07:00 -07:00
Matt Nadareski
4cb13d473a
[DatFromDir] Remove original implementation
2016-09-14 14:53:48 -07:00
Matt Nadareski
ee575b32c6
[Dattools] More output tweaks
2016-09-14 12:51:18 -07:00
Matt Nadareski
53e54353c8
[DatTools] Only output optional fields if they exist
2016-09-14 12:45:53 -07:00
Matt Nadareski
2cff1a48b1
[DATFromDir] Fix basic SuperDAT output
2016-09-14 12:16:34 -07:00
Matt Nadareski
b5307b79c3
[DATFromDir] Force file order parity
2016-09-14 11:05:40 -07:00
Matt Nadareski
c44b9ee5b7
[RomTools] Make sure machine name is always compared the same
2016-09-14 10:56:46 -07:00
Matt Nadareski
c015640bfb
[SimpleSort] Fix SimpleSort naming
2016-09-14 10:33:45 -07:00
Matt Nadareski
87f249bb0c
[DATFromDir, SimpleSort] Add flags for blanks and date
2016-09-14 10:25:01 -07:00
Matt Nadareski
e6d901f9b9
[FIleTools] Fix SuperDAT write out
2016-09-14 10:06:31 -07:00
Matt Nadareski
901ecf2c49
[DatTools] Fix date read in XML
2016-09-14 09:54:29 -07:00