*PC | Limbo .pkg archives

Read or post about compression. And decompression. Or ask questions how to decompress your files.
User avatar
Teryal5532
beginner
Posts: 28
Joined: Wed May 11, 2011 12:10 am
Location: Romania

*PC | Limbo .pkg archives

Post by Teryal5532 » Thu Aug 04, 2011 8:39 pm

The contents of this post was deleted because of possible forum rules violation.

qabRieL
veteran
Posts: 124
Joined: Wed Aug 04, 2010 3:58 pm
Has thanked: 2 times
Been thanked: 3 times

Re: *PC | Limbo .pkg archives

Post by qabRieL » Thu Aug 04, 2011 9:07 pm

Do you know what this archive includes?
Textures, texts, etc..?

User avatar
Teryal5532
beginner
Posts: 28
Joined: Wed May 11, 2011 12:10 am
Location: Romania

Re: *PC | Limbo .pkg archives

Post by Teryal5532 » Thu Aug 04, 2011 10:06 pm

Yup. There are 2 archives/

limbo_boot and limbo_runtime

They contain everything for the game (textures, texts, models, images...).

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: *PC | Limbo .pkg archives

Post by chrrox » Thu Aug 04, 2011 10:41 pm

just run offzip on them then inside the extracted files is a simple to extract archive.

c:\offzip.exe -a c:\file.pkg c:\extract 0x0

User avatar
Teryal5532
beginner
Posts: 28
Joined: Wed May 11, 2011 12:10 am
Location: Romania

Re: *PC | Limbo .pkg archives

Post by Teryal5532 » Thu Aug 04, 2011 11:01 pm

Image

I do something wrong or what?

The archive is in C:\. The output folder is 'extracted'.

Sorry but i'm ultra noob :D

Rick
Moderator
Posts: 388
Joined: Tue Aug 09, 2005 10:10 pm
Location: California
Been thanked: 84 times
Contact:

Re: *PC | Limbo .pkg archives

Post by Rick » Thu Aug 04, 2011 11:18 pm

Code: Select all

uint32 entryCount
entry[entryCount] entries

entry:
  uint32 nameHash // crc32 of file name
  uint32 offset // relative to end of entry table, ie, 4 + (entryCount * 12)
  uint32 size


Some files will have an extension ".d" which generally indicates it's compressed with zlib. ie: derived/pc/data/animation/boy/death/death.anim.d is compressed
http://blog.gib.me/

Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: *PC | Limbo .pkg archives

Post by chrrox » Thu Aug 04, 2011 11:30 pm

this is the command i ran

c:\offzip\offzip.exe -a c:\limbo_boot.pkg "c:\extracted" 0x0

User avatar
Teryal5532
beginner
Posts: 28
Joined: Wed May 11, 2011 12:10 am
Location: Romania

Re: *PC | Limbo .pkg archives

Post by Teryal5532 » Fri Aug 05, 2011 12:20 am

Okay, i extracted the files but every file is with .dat extension... :[

Where i can find the textures, models and the text for the game and how i can open those .dat files?

I need help :!:

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2387
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 296 times

Re: *PC | Limbo .pkg archives

Post by finale00 » Fri Aug 05, 2011 3:57 am

I think that's as much as offzip can do in terms of filenames lol

Though from rick's post it seems there aren't any useful filenames anyways.

get8p
ultra-n00b
Posts: 8
Joined: Thu Aug 18, 2011 4:24 pm

Re: *PC | Limbo .pkg archives

Post by get8p » Thu Aug 18, 2011 6:14 pm

Heya, Ive got the same trouble, I unpacked files good, but I only got .dat files, plus to that, my target is to change a model(texture?) of protagonist in the game, so I need a way to pack it back after I edit it in some way =\

Rick
Moderator
Posts: 388
Joined: Tue Aug 09, 2005 10:10 pm
Location: California
Been thanked: 84 times
Contact:

Re: *PC | Limbo .pkg archives

Post by Rick » Fri Aug 19, 2011 7:18 am

Here is my code and file lists:

http://svn.gib.me/public/limbo/trunk/

I have no further plans to work on LIMBO further, sorry.
http://blog.gib.me/

Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.

get8p
ultra-n00b
Posts: 8
Joined: Thu Aug 18, 2011 4:24 pm

Re: *PC | Limbo .pkg archives

Post by get8p » Fri Aug 19, 2011 10:31 am

Guys, any chance somebody here can make an upnpack/pack tool? Cuz I dont know anything about it...
Or perhaps somebody knows somebody who can? I guess I shouldnt say obvious things like I would b supermega grateful and incredibly happy Image
Last edited by get8p on Fri Aug 19, 2011 4:44 pm, edited 1 time in total.

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2387
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 296 times

Re: *PC | Limbo .pkg archives

Post by finale00 » Fri Aug 19, 2011 4:05 pm

From the unpacking code, it would seem pretty hard to pack it...

get8p
ultra-n00b
Posts: 8
Joined: Thu Aug 18, 2011 4:24 pm

Re: *PC | Limbo .pkg archives

Post by get8p » Fri Aug 19, 2011 7:15 pm

Turns out, pkg is...Mac OS X Installer Package, aint it?
Or its some kind of other .pkg?
Last edited by get8p on Fri Aug 19, 2011 7:32 pm, edited 1 time in total.

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2387
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 296 times

Re: *PC | Limbo .pkg archives

Post by finale00 » Fri Aug 19, 2011 7:31 pm

pkg is just an extension. Microsoft decided that it would be cool to associate certain extensions with certain applications, but you don't have to follow it.

Post Reply