-
Notifications
You must be signed in to change notification settings - Fork 12
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
Problems reading Tower Unite pak file #28
Comments
Can you tell me which UE version this game is using? |
My best guess is UE 4.20? Considering the pak version, and umodel lists it as UE 4.20 as well on the compatibility matrix. I tried checking the EXE metadata and dumping strings from the EXE and memory, but I haven't found anything to confirm this. I did try the --force-version flag with a bunch of different versions when mounting, but they all either failed instantly or kept throwing the same Input/output errors when reading files. Version 7 in particular fails to mount with rust-u4pak, but seems to work with the Python script:
I'm noticing that the Python script doesn't work completely with this configuration though, files are missing from directory listings (C_Condo isn't even listed but it can be read if I request):
|
Usually the "Corrupt deflate stream" error indicates that something went wrong with the alignment of compression blocks. |
Sorry, forgot to mention that I did indeed build from source (1.4.0) and I also did try release 1.3.0, both of them produce the same problem. |
Hmmm, hard to debug, as I don't own the game. Ill do some testing and see if I can find something. |
I'm trying to mount the pak file for Tower Unite. Although I can access folders and see filenames, I'm unable to actually read any files (it just says Input/output error).
I've been able to use the Python script to mount the same pak no issues (I had to force version 7 because 5 wasn't supported and it seemed to work to some extent)
I looked deeper and found that the error is being triggered here. The value of error was
Custom { kind: InvalidInput, error: "corrupt deflate stream" }
rust-u4pak/src/mount.rs
Lines 464 to 466 in 458eb6d
I also tried running the check command and it seemed to throw a lot of errors
The final output is 115 megabytes, I've compressed it to a 15MB zip: check.zip
The game seems to run fine, umodel can read it, and the Python script can read it as well, so I don't think the pak file itself is corrupted.
The text was updated successfully, but these errors were encountered: