Announcement

Collapse
No announcement yet.

UnrealPak Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UnrealPak Error

    Hey guys,

    I'm trying to unpack and look inside my APK to see if the content I blacklisted is still appearing in the pak or not. I tried the following command in command prompt:

    "C:\Program Files\Epic Games\4.10\Engine\Binaries\Win64\UnrealPak.exe" "C:\Users\ME\Projects\AndroidDeployments\Android\example.apk" -List > FileList.txt

    However, that gives me the following error:
    Code:
    LogWindows:Error: Windows GetLastError: The operation completed successfully. (0) LogWindows:Error: === Critical error: === Assertion failed: Info.Magic == FPakInfo::PakFile_Magic [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\PakFile\Private\IPlatformFilePak.cpp]
    Not only does the "-List" parameter give me this error, but even trying to run things like "-Test" give me the same issue. So it doesn't seem to be specific to one command of UnrealPak.

    Any help would be greatly appreciated!

    #2
    Hi Mattapato,

    The APK isn't the PAK file. The PAK file will be in the OBB file, which is an uncompressed ZIP file. You can rename it to have a .ZIP extension and open it with any ZIP compatible utility to extract the PAK file. If you packaged the data (OBB) in the APK, it will be found in the assets directory as "main.obb.png". The APK is also a ZIP file so you can use the same method to open it.

    Comment


      #3
      Oh gosh, that's embarrassing. For some reason when I saw pak my mind read it as apk.

      Anyways... I did what you said and sure enough I found the pak file in the zipped OBB. I used the UnrealPak on it and I was able to see the list of files included! Thanks for the answer!

      Comment

      Working...
      X