Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support reading the headers for Corruption paks #82

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

henriquegemignani
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Patch coverage: 74.00% and project coverage change: +0.52% 🎉

Comparison is base (3479a71) 64.23% compared to head (fb2720b) 64.76%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   64.23%   64.76%   +0.52%     
==========================================
  Files          75       76       +1     
  Lines        4949     4972      +23     
==========================================
+ Hits         3179     3220      +41     
+ Misses       1770     1752      -18     
Files Changed Coverage Δ
...retro_data_structures/construct_extensions/dict.py 70.58% <68.75%> (+70.58%) ⬆️
src/retro_data_structures/formats/pak_wii.py 76.92% <76.92%> (ø)
src/retro_data_structures/formats/pak.py 61.29% <100.00%> (+2.66%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

PAKNoData = Struct(
_start=construct.Tell,
_header=PAKHeader,
table_of_contents=construct.Aligned(64, make_dict(Int32ub, construct.PaddedString(4, "ascii"))),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this just a FourCC?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... Yes!

@henriquegemignani henriquegemignani merged commit f80139c into main Sep 14, 2023
10 checks passed
@henriquegemignani henriquegemignani deleted the feature/pak-corruption branch September 14, 2023 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants