Skip to content

UE4.27: Failed to parse ContainerHeader #7

Description

@korgano

I attempted to utilize the following commands on SD Gundam Battle Alliance, a UE 4.27.2 game, and received Failed to parse ContainerHeader errors:

.\retoc.exe manifest "E:\SteamLibrary\steamapps\common\SDGundamBA\SDGundamBA\Content\Paks\pakchunk0-WindowsNoEditor.utoc"

Failed to parse ContainerHeader. Package metadata will be unavailable: failed to fill whole buffer
thread 'main' panicked at src\main.rs:281:71:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

.\retoc.exe to-legacy --debug -v "E:\SteamLibrary\steamapps\common\SDGundamBA\SDGundamBA\Content\Paks\pakchunk0-WindowsNoEditor.utoc" -f GOP_* "E:\SteamLibrary\steamapps\common\SDGundamBA\SDGundamBA\Content\Paks\Extracted"

Failed to parse ContainerHeader. Package metadata will be unavailable: failed to fill whole bufferndam
[00:00:00] ########################################       0/0
Extracted 0 (0 failed) legacy assets to "E:\\SteamLibrary\\steamapps\\common\\SDGundamBA\\SDGundamBA\\Content\\Paks\\Extracted"
Extracted 0 shader code libraries to "E:\\SteamLibrary\\steamapps\\common\\SDGundamBA\\SDGundamBA\\Content\\Paks\\Extracted"

I am unsure why this occurs, as using retoc unpack-raw works on another of the game's UTOCs.

It may be related to the size of the UTOC, as pakchunk0-WindowsNoEditor.utoc is 2.2GB, and the UTOC dumped with unpack-raw was much smaller (sub-1GB).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions