Added support for version 9 ark headers. #12
No reviewers
Labels
No labels
archive-explorer
bug
duplicate
enhancement
gamearchives-lib
help wanted
invalid
new-format
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-maxton/GameArchives!12
Loading…
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In response to submitted issue #11
I also added in a check for ark version 8, which I know hasn't been observed yet. But we might get lucky.
Thanks for the PR. I don't have any version 9 arks to look at, but I trust you've tested this. Two nits and I'll merge 👍
@ -344,9 +346,9 @@ namespace GameArchives.Ark}Since this loop is almost the same as the one above, except for skipping the checksum, can you just move the
readHashcheck to within the loop? I'd like to try to minimize duplicate code.It would be a bit less wasteful to just do
header.Position += 4orheader.Seek(4, SeekOrigin.Current)with a comment explaining that there's a checksum we're ignoring.Oh, and if you could also update the readme to mention the PS3 version of Amplitude and the new version number under the supported formats, that would be great.
@ -344,9 +346,9 @@ namespace GameArchives.Ark}I did it this way so there'd only be one comparison instead of x comparisons (equal to file count). But I guess that's over optimization for our purpose.
@ -344,9 +346,9 @@ namespace GameArchives.Ark}No excuse for this one. I'll fix it immediately.
Thanks!