Skip to content

Commit

Permalink
Re-enabled solid compression as everything with multi-partition HFS0 …
Browse files Browse the repository at this point in the history
…creation seems to be working now
  • Loading branch information
nicoboss committed Dec 17, 2023
1 parent 378aacb commit 3f06ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsz/SolidCompressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def processContainer(readContainer, writeContainer, compressionLevel, keep, useL
if isinstance(nspf, Nca.Nca) and nspf.header.contentType == Type.Content.DATA:
Print.info('[SKIPPED] Delta fragment {0}'.format(nspf._path), pleaseNoPrint)
continue
if False and isinstance(nspf, Nca.Nca) and (nspf.header.contentType == Type.Content.PROGRAM or nspf.header.contentType == Type.Content.PUBLICDATA) and nspf.size > UNCOMPRESSABLE_HEADER_SIZE:
if isinstance(nspf, Nca.Nca) and (nspf.header.contentType == Type.Content.PROGRAM or nspf.header.contentType == Type.Content.PUBLICDATA) and nspf.size > UNCOMPRESSABLE_HEADER_SIZE:
if isNcaPacked(nspf):

offsetFirstSection = sortedFs(nspf)[0].offset
Expand Down

0 comments on commit 3f06ba5

Please sign in to comment.