Conqueror's Blade (.pkg)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
akderebur
Posts: 68
Joined: Wed Nov 15, 2017 1:54 pm

Conqueror's Blade (.pkg)

Post by akderebur »

I am looking at some archive files from this online game. I will attach smaller samples, but there are also huge pkg archives. Most of them contain multiple files.

There are headers before each file with starting offset, packed/unpacked size. I don't know the compression used though. I hope someone can take a look. Thanks.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Conqueror's Blade (.pkg)

Post by aluigi »

I guess it's a sort of modified UE4 archive.
Instead of editing the usual script I opted for a simple one:

Code: Select all

# Conqueror's Blade pkg
comtype lz4
for
    savepos BASE_OFF
    get ZERO long
    if ZERO != 0
        break
    endif
    get DUMMY long
    get OFFSET longlong
    get SIZE longlong
    get ZSIZE longlong
    math OFFSET + BASE_OFF
    clog "" OFFSET ZSIZE SIZE
    math OFFSET + ZSIZE
    goto OFFSET
next

No filenames, the TOC is encrypted anyway.
akderebur
Posts: 68
Joined: Wed Nov 15, 2017 1:54 pm

Re: Conqueror's Blade (.pkg)

Post by akderebur »

Thanks a lot. This should be enough for my needs.
kotaxzz1
Posts: 1
Joined: Mon Jan 10, 2022 10:59 am

Re: Conqueror's Blade (.pkg)

Post by kotaxzz1 »

Seems like they updated the package.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Conqueror's Blade (.pkg)

Post by aluigi »

No idea.
The files start immediately with lz4 data and I don't see any table at the end.
Maybe the table is in a different file but I didn't see anything useful in the list of files on steamdb.