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

HedgeArcPack - Broken Lost World PAC Generation #80

Open
Sonen10 opened this issue May 21, 2023 · 1 comment
Open

HedgeArcPack - Broken Lost World PAC Generation #80

Sonen10 opened this issue May 21, 2023 · 1 comment

Comments

@Sonen10
Copy link

Sonen10 commented May 21, 2023

While HedgeArcPack in its current forms appears to work fine with most games, generating PAC files using the Lost World option causes the generation of broken PAC files. It can currently unpack files from the source games fine, but trying to use PAC files generated by the latest version of HedgeArcPack causes the game to refuse to load them. For instance, unpacking and repacking Sonic's archive causes his model to not load on the world map and crashing the game when loading into a zone. HedgeArcPack is fully able to extract these broken PACs too.

Attached are two zip files for reference. One contains the original Sonic PAC files from Lost World, the other contains PAC files with the same contents but repacked via the latest HedgeArcPack.
Sonic - Ripped from sonic2013_patch_0.cpk.zip
Sonic - Generated via Latest HedgeArcPack.zip

@Radfordhound
Copy link
Owner

Thanks very much for reporting this, and especially for providing samples! I'm currently finishing up a rewrite of the packfile handling code in HedgeLib, which should also fix this issue. I'll look into this and try to discover its root cause to make sure it's fixed.

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