Forum Thread
  Posts  
Help unpack .pkg file for further modding. (Forums : Coding & Scripting : Help unpack .pkg file for further modding.) Locked
Thread Options
Aug 13 2011 Anchor

Hey advanced modders, need your advice.
Recently I met this masterpiece named LIMB0. After I complete it, an idea came to my head.
Shorlty, I want to change the model of protagonist.
User Posted Image
Now there are 3 folders in a game foler - one for savefiles, other for sound/music. and third is for the bootscreen imgs.
So the place model could be is either at limbo_boot.pkg, or at limbo_runtime.pkg which are 18.2 and 12 MBs, placed at the root folder of a game.
Well, also it could be at ...\LIMBO\data\audio\pc\l_default.bnk which is 45.5 MB =|

Knowing my purpose, could u guys now suggest what to start with?
THX.

Jok3r098
Jok3r098 “A computer is like air conditioning – it becomes useless when you open Windows” - Linus Torvals
Aug 14 2011 Anchor

I dont know how limbo stores its info, there are a few things you could try here.
Firstly see if the engine that limbo uses has any documentation and tools to unpack and repackage files.
Secondly, alot of these sorts of archives are really renamed zip files, like for example windows gadgets, epub files, etc. Make a backup and try renaming it to .zip.
Thirdly you could open the files in a hex editor like XVI32 to see if there are any tell-tale signs of what sort of compression/encrytion the files use.

Aug 14 2011 Anchor

The creators, Playdead, used they own engine, no info I found in web.
I tried to rename files and open them - no luck... And about this 3rd way - tell me more about it, what are theese tell-tale signs?

bump

Edited by: get8p

Jok3r098
Jok3r098 “A computer is like air conditioning – it becomes useless when you open Windows” - Linus Torvals
Aug 20 2011 Anchor

Look for filetype headers, and things like that, they usually use 'normal' text so keep an eye out for words like gzip or zip, etc.

Limbo_boot and limbo_runtime dont sound like archives, rather config files or something simmilar, its probably l_default.bnk at 45 mb it certainly looks like an archive. on the other hand looking at its location it may just be a bink compressed video/audio.. Smacker.com

It may be that what you're looking for is embedded inside the program, i dont have limbo else i would go looking for the files myself. but it doesnt look like the 3 files you specified are archives at all, you probably need to look elsewhere, sorry i didnt spot that earlier, i was distracted posting my previous reply

Aug 21 2011 Anchor

Well, no. Now I know for sure, things I need are in one of theese .pkg
With the help of this unpacker from other forum, some guy made it, I successed to extract files. But they got no extension and I cant open them.Also, bfore that I grabbed texture files with 3D Ripper DX, which appears to be grabbed all available textures while I was playing.
Example of a biggest texture file 9e42bb64.dds which weights around 42Mbs
I.piccy.info

So the point is, some extracted files of first unpacker has identical weight to a textures that I grabbed with 3D Ripper DX, xept I cant open them.
Mah m8 sas that its probably a .png with modificated header. So we need to know how it was modified. Here is this 2 files, texture and identical unpacked file. They weight 85Mb together, but packed they weight 5Mb.If any1 can help somehow, Id b glad to take this help=)___
btw Jok3r098. If u still havent play Limbo and u r not intend to, u loosing a lot, trust me. The best indie of past 2 years, thats for sure. Tell ya what, I want to make this mod so bad that I even wrote to a THETA on their email with ask for a help :D truestory.

Edited by: get8p

Jok3r098
Jok3r098 “A computer is like air conditioning – it becomes useless when you open Windows” - Linus Torvals
Aug 21 2011 Anchor

I remember something about the dds format.. gimme a minute i'll see if i cant dig up what it is

Registry.gimp.org i've found this, it sugessts that is a "DirectDraw Surface" Texture, so im going to have a look around the msdn documentation if this gimp extension doesnt work

OK, looks like this gimp extension does the job :), it opens up the DDS file and distributes the mipmaps to different layers (mipmaps are basically smaller versions of the image, so once your finished editing just redo the layers as smaller versions). if there is a gimp extension its quite probable there is a photoshop plugin too, maybe also a paint.net one

I cant think what the file without the extension could be but it seems to have a reference in it to "!data/texture/atlas/atlas_blur.png"

Edited by: Jok3r098

Aug 21 2011 Anchor

Thx Jok3r098, now I can try edit textures. So the only thing left is to find a way pack it back=)

Edited by: get8p

Jok3r098
Jok3r098 “A computer is like air conditioning – it becomes useless when you open Windows” - Linus Torvals
Aug 21 2011 Anchor

lol, i dont suppose the unpacker is open source :P

Aug 21 2011 Anchor

Jok3r098 =P
Budd from another forum currently learning specification of PNG, just for this. Maybe with help of it he can find a way to make an unpacker, who knows.
So... any more ideas? Maybe u know some guys who r modders and have nothing to do right now? :D

Edited by: get8p

Jok3r098
Jok3r098 “A computer is like air conditioning – it becomes useless when you open Windows” - Linus Torvals
Aug 21 2011 Anchor

Not really no.

Ace.net.nz
This seems to think that its a ms developer thing, perhaps you could give a go at opening it with Visual Studio or something

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.