How to open .pak archive?

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
Gnampf
ultra-n00b
Posts: 5
Joined: Thu Jun 05, 2014 1:03 am
Has thanked: 1 time

How to open .pak archive?

Post by Gnampf »

Hello guys,

I want to open a .pak archive and I'm looking for long time to open it. It's an archive from an older game and I want to edit and to see the files, there are some codes, 3D models and something in it. I've found some .pak unpackers, but none of these works. I think it's an modified archive and I can't open it since today. I hope somebody can help me to open and rebuild that archive.

Thanks for help!
Last edited by Gnampf on Sat Jul 12, 2014 2:00 pm, edited 1 time in total.
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: How to open .pak archive?

Post by barti »

Use this QuickBMS script

Code: Select all

math LSIZE  = 104832 # size of file list
math OFFSET = 106496

for cur_off = 0 < LSIZE
    get SIZE  long
    get DUMMY long
    get PSIZE long
    get SIZE  long
    getdstring NAME 48
    
    if NAME == "" then
        cleanexit
    endif

    log NAME OFFSET SIZE
    math OFFSET += PSIZE
    savepos cur_off
next
Also the file format is very similar to RTL Skispringen 2002. Mind if I ask what game the .pak file is from?
Gnampf
ultra-n00b
Posts: 5
Joined: Thu Jun 05, 2014 1:03 am
Has thanked: 1 time

Re: How to open .pak archive?

Post by Gnampf »

It's also a RTL game, it's called "Cobra 11 - Director's Cut". Thanks for the code, it works fine.

Did someone know how to open .es, .3d and .scl 3d models/files ?
Post Reply