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

Crash when opening large .pak files #5

Open
CHLukeW opened this issue Aug 11, 2022 · 11 comments
Open

Crash when opening large .pak files #5

CHLukeW opened this issue Aug 11, 2022 · 11 comments
Assignees

Comments

@CHLukeW
Copy link

CHLukeW commented Aug 11, 2022

Works for small files (ca. 200MB) crashes when trying to open larger files (ca. 2GB)

@FlipperPlz
Copy link
Owner

So far I have only noticed this issue when opening data005.pak (base-game pak). I chalked it up to that file being different and never really thought too much of it, Are you having this issue with more than one pak? If so which pak(s) was it.

@CHLukeW
Copy link
Author

CHLukeW commented Aug 11, 2022

Works for:
core.pak
shaders-dx12.pak
data006.pak
Crashes for:
data.pak
data001.pak-data005.pak

@Rendszerguru
Copy link

Rendszerguru commented Oct 2, 2022

Unfortunately, the released it crashes for files larger than 500MB
when recompiling the source, only data005.pak crashes, so under 2GB is fine and the full Arma Reforger Experimental can be Explorer.
Later the internal files e.g. will it also be possible to unpack .xob?
Thanks

@FlipperPlz
Copy link
Owner

FlipperPlz commented Oct 3, 2022

Unfortunately, the released it crashes for files larger than 500MB

Hey, appreciate the reply on here. My apologies for not looking into it. I made the library awhile back and now it needs to be rewritten a little bit to incorporate some new found knowledge I've learned on the PAK file structure. I can't make promises for a date and time but I can say that this project is in my scope currently. I would say you can expect an update within the month. Parsing was more of a prototype that I incorporated into this program for testing my Enforce grammar, but I don't think I will do much refining regarding it.

Later the internal files e.g. will it also be possible to unpack .xob?

Yes I plan to create libraries for interacting with most filetypes used in Reforger. I only draw the line on encrypted formats as Bi has specifically voiced their opinion on such libraries. Currently the XOB format is lacking in information, but I will ask around and see if its okay legally to create such a library.

@FlipperPlz FlipperPlz self-assigned this Oct 3, 2022
@FlipperPlz FlipperPlz pinned this issue Oct 3, 2022
@tranceakustika
Copy link

tranceakustika commented Jan 11, 2024

hello, you have solved the problem with large files. You can share the new tool of your new version.???

@smithb895
Copy link

Thank you for releasing this tool, it's great. I am experiencing crashing on certain, large mods. For example, when I try to unpack the data.pak in this mod, it crashes:
https://reforger.armaplatform.com/workshop/5AE50EC5B8D6F4AE (size of PAK: 339,066 KB)
But when I unpack this one, it works fine:
https://reforger.armaplatform.com/workshop/60AD58012EA4A317-DarkgruNATOOverhaul (size of PAK: 419,236 KB)

I don't think it's caused by size, because the latter mod is bigger than the first but unpacks just fine.

Thanks again for your work, hopefully this helps with troubleshooting. If there's any additional info I can provide to help, just let me know.

@rockfakey
Copy link

@smithb895 Did you have any luck with your .pak extraction. I am also having similar issues. I'm not sure if flipper is still working on this tool. Great tool by the way ! :)

@Rendszerguru
Copy link

Rendszerguru commented Aug 18, 2024

https://github.com/youarebamboozled/Enfusion-pak-unpacker
I've been using the other "Enfusion pak unpacker" for a long time now,
I modified the code so that it unpacks everything when assigned to a pak file.

@claudejdev
Copy link

https://github.com/youarebamboozled/Enfusion-pak-unpacker I've been using the other "Enfusion pak unpacker" for a long time now, I modified the code so that it unpacks everything when assigned to a pak file.

Would you be able to explain how to, or even share your customized version ?

@rockfakey
Copy link

https://github.com/youarebamboozled/Enfusion-pak-unpacker I've been using the other "Enfusion pak unpacker" for a long time now, I modified the code so that it unpacks everything when assigned to a pak file.

Awesome thanks @Rendszerguru - @claudejdev you will need to compile the source locally.

@Rendszerguru
Copy link

Rendszerguru commented Aug 19, 2024

https://github.com/Rendszerguru/PakEntpacker

Fixed: The original Enfusion pak unpacker was truncating the end of files when decompressing localization.conf files.

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

7 participants