-
Notifications
You must be signed in to change notification settings - Fork 92
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
--fix-padding
requires 2 passes for stabilizing the output
#165
Comments
Hi @nicoboss! |
Sorry for not looking into this earlier. Almost nobody is using If you want to see what's happening behind the scenes you can always do so yourself using HexCmp2 from Fairdell Software or any other hex editor with a diff function. HexCmp2 compare the result of running |
Thanks a lot for providing the diff. Sorry for the late replay. I was on ski holiday during the last week. The first pass seams to produce an output matching the No-Intro specifications while the second pass adds some useless padding. |
I'm not sure it's a real issue.
My understanding of the
--fix-padding
flag is that it normalizes the created NSP/NSZ instead of preserving the original padding.So, once this normalization has been done a first time, I would expect
--fix-padding
to become a no-op.This is not what I observe in my tests with v4.6.1:
Note that this is the same when
--fix-padding
is used during decompression steps only, or mixed between compression and decompression steps: the resulting NSP changes twice then stabilizes forever.This is actually easy to work around, but I would like to be sure it's not hiding something bigger.
The text was updated successfully, but these errors were encountered: