Commit Graph

3455 Commits

Author SHA1 Message Date
Matt Nadareski
891dd65610 Remove unnecessary using that was causing a build break 2022-04-16 22:12:55 -07:00
Matt Nadareski
fc6bd36822 Convert to using .NET Standard 2.1 2022-04-16 22:03:50 -07:00
Matt Nadareski
7f9f75ae53 Upgrade Appveyor config for VS2022 2022-04-16 21:52:00 -07:00
Matt Nadareski
9045cd2b2b Add .NET 6.0 as build target 2022-04-16 21:47:55 -07:00
Matt Nadareski
c1d5c406a9 Remove uninitialized flag 2022-04-16 21:45:41 -07:00
Matt Nadareski
a651ef738d Update Nuget packages to newest versions 2022-04-16 21:36:16 -07:00
Matt Nadareski
191292b669 Manual revert of 470fc924a0 2022-02-22 13:51:04 -08:00
Matt Nadareski
2074ae5db2 Merge branch 'main' of https://github.com/SabreTools/SabreTools 2022-02-22 13:48:11 -08:00
Matt Nadareski
25fad241e9 Revert DataArea change
This is being reverted because it was so disjoint from the other work that it is meant to work with that I was unaware of the intent of the code. This is not doing something that I feel is correct, so any changes here need to be merged into the other, more relevant PRs so it can be reviewed wholistically.
2022-02-22 13:47:39 -08:00
Lothrien
470fc924a0 add dataareas to part (#52)
* add dataareas to part

to add additional dataareas in rom element

* adding dataareas

while updating vs code, references where lost, but i hope i'll get everything to the correct place...
2022-02-22 13:09:11 -08:00
Matt Nadareski
243e3507d6 Fix and better document DatItem.Sort
There was an issue around how items from different sources were handled, in that sources were checked first and not last. This was due to a few assumptions about source IDs and DAT order in general. This may end up causing different output hashes for merged DATs.
2021-12-21 14:20:27 -08:00
Matt Nadareski
8b35393d1f Update AppVeyor notifications 2021-09-24 10:44:49 -07:00
dependabot[bot]
e9e4c63f41 Bump SharpCompress from 0.28.3 to 0.29.0 in /SabreTools.FileTypes (#42)
Bumps [SharpCompress](https://github.com/adamhathcock/sharpcompress) from 0.28.3 to 0.29.0.
- [Release notes](https://github.com/adamhathcock/sharpcompress/releases)
- [Commits](https://github.com/adamhathcock/sharpcompress/compare/0.28.3...0.29)

---
updated-dependencies:
- dependency-name: SharpCompress
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-20 13:01:39 -07:00
Matt Nadareski
71368c2a1f Fix packing flag writes 2021-09-20 09:30:11 -07:00
Matt Nadareski
20b5266c54 Apply Zip encoding patch from GordonJ 2021-09-08 22:52:23 -07:00
Matt Nadareski
00e0663ff3 Update RV Compress code 2021-09-06 21:44:18 -07:00
Matt Nadareski
dd2d2fa86c Allow user inputs in diff-against and base-replace (fixes #40) 2021-08-17 12:35:31 -07:00
Matt Nadareski
f1b9ae2dd2 Force no quotes on size and hashes for CMP (fixes #39) 2021-07-27 12:00:21 -07:00
Matt Nadareski
72700337ad Add new Archive.org fields to filtering 2021-07-19 11:17:29 -07:00
Matt Nadareski
2ed7d41d34 Finalize read/write support for Archive.org 2021-07-19 10:58:59 -07:00
Matt Nadareski
343ea67bd8 Add preliminary support for Archive.org file lists (fixes #38) 2021-07-19 10:39:21 -07:00
Matt Nadareski
08598d1e8b Bump version for prerelease 2021-07-19 09:44:43 -07:00
Matt Nadareski
5d9ec18877 Ensure consistency by using ConcurrentList (fixes #36) 2021-07-18 21:00:01 -07:00
Matt Nadareski
2dc6dea0e7 Make next line finding a helper method 2021-07-18 13:10:48 -07:00
Matt Nadareski
4bd6fd6fcd Smarter XML comment skipping (fixes #37) 2021-07-18 12:48:59 -07:00
Matt Nadareski
ef2b51a36a Update SMDB test file with size field 2021-05-17 10:09:54 -07:00
Matt Nadareski
b76f064098 Add SMDB size field support 2021-05-17 10:05:29 -07:00
Matt Nadareski
f49ded7323 Bump version for prerelease 2021-04-13 10:24:34 -07:00
Matt Nadareski
afcb7b8d3e Make tool version apparent in generated DATs 2021-03-22 16:37:29 -07:00
Matt Nadareski
9bd34fdec6 Add version feature for SabreTools 2021-03-19 21:01:07 -07:00
Matt Nadareski
040c8fb39d Fix missfile output 2021-03-19 20:56:12 -07:00
Matt Nadareski
f109da2231 Make top-level features return bool 2021-03-19 20:52:11 -07:00
Matt Nadareski
c2fa50f28f A null header from features is an error 2021-03-19 17:11:03 -07:00
Matt Nadareski
b32a630780 Separate out enums 2021-02-22 15:02:05 -08:00
Matt Nadareski
84411a963c Use "include" instead of "skip" for D2D
This is a semi-breaking change. The normal functionality of not specifying any hashes will default to CRC32, MD5, and SHA-1 as expected. However, all other flags have been renamed and act as an include (like how the SHA-256 and above functioned previously). If any of those flags are specified, then it overrides the default behavior and ONLY uses the hashes specified. So to get the same behavior as `--skip-md5`, a user would do `--include-crc --include-sha1`.
2021-02-22 11:20:17 -08:00
Matt Nadareski
873431080d Statistics Collection / Writing Overhaul (#35)
* Add DatStatistics class

* Add isDirectory setting

* Add CalculateStatistics method (nw)

* Add separate stats writing

* Use new methods

* Rename Write -> WriteIndividual

* Naive implementation of new writing (nw)

* Remove unncessary calls

* Make writing more DatFile-like

* Add console flag to constructor

* Remove unused stream constructors

* Move to local writers

* Remove inherent filename

* Fix invocation

* Use SeparatedValueWriter

* Fix final directory stats output

* Use XmlTextWriter for HTML

* Don't output separator on last stat output

* Remove now-completed TODOs

* Remove unused using
2021-02-18 11:13:11 -08:00
Matt Nadareski
10d8387883 Make logger readonly 2021-02-17 21:33:16 -08:00
Matt Nadareski
7b31b36c97 Add note around large files 2021-02-17 17:13:39 -08:00
Matt Nadareski
b6e25334fd Add some better checks around new split 2021-02-17 17:02:54 -08:00
Matt Nadareski
4a2d95ad0a Update description a little 2021-02-17 16:51:23 -08:00
Matt Nadareski
8e59aa6aa5 Add split by total size 2021-02-17 16:47:32 -08:00
Matt Nadareski
1059fa85b6 Fix depot cloning issue 2021-02-17 16:43:01 -08:00
Matt Nadareski
721689d4e7 Feature flags shouldn't need - 2021-02-17 15:53:07 -08:00
Matt Nadareski
83c3264c25 Better log line and stopwatch 2021-02-17 14:53:48 -08:00
Matt Nadareski
29ab4ef020 Clean up comments 2021-02-17 14:50:45 -08:00
Matt Nadareski
1ef8d8fcfb Split batch commands to own private classes 2021-02-17 14:43:24 -08:00
Matt Nadareski
c10b65dfcc Bump version to 1.1.0 2021-02-17 13:13:37 -08:00
Matt Nadareski
321c031ee0 Better Batch state tracking 2021-02-12 22:51:49 -08:00
Matt Nadareski
c496f0f317 Clean up Batch feature 2021-02-12 22:29:11 -08:00
Matt Nadareski
af8e26f0b4 Shortcut extras population 2021-02-09 22:25:43 -08:00