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

HedgeLib - Some unpacked PACx403L archives do not repack correctly #77

Open
AdelQue opened this issue Jan 1, 2023 · 2 comments
Open

Comments

@AdelQue
Copy link

AdelQue commented Jan 1, 2023

An example archive I ran into was NeedleShader.pac in Sonic Frontiers. Unpacking appears to work fine, but repacking those unmodified files results in a .pac archive that's about 25% larger than the original and crashes the game upon trying to read them. Tried repacking as both the Frontiers .pac and Origins .pac.

I can unpack that newly made .pac archive and the files are the exact same as what was unpacked from the original archive

@Radfordhound
Copy link
Owner

Hey, apologies for the late response, things have been crazy lately.

I'm currently aware of two bugs with my .pac generation code which sometimes cause corrupted .pac files to be generated. I believe this issue is caused by one of these two bugs.

I'm actually in the process of rewriting the .pac handling code completely to improve how I'm handling things. I plan to fix these two bugs as part of this rewrite process. I'll leave updates here as this rewrite progresses.

@Radfordhound
Copy link
Owner

The rewrite process is still underway, but in the meantime, 8ac3dc4 should fix the first bug. The second bug is still a bit of a mystery. I'll continue to look into it and try to fix it as part of the rewrite.

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

No branches or pull requests

2 participants