Page 1 of 13

Alien Isolation (.PAK .BIN)

Posted: Fri Oct 10, 2014 7:32 am
by cra0
Working on it..
pm me or reply here if you know much about BC7 BC5 textures
Image
Image

The game uses:
DXGI_FORMAT_B8G8R8A8_UNORM
DXGI_FORMAT_B8G8R8_UNORM
DXGI_FORMAT_BC1_UNORM
DXGI_FORMAT_BC5_UNORM,
DXGI_FORMAT_BC7_UNORM

need a library to read the BC7 ones to something useable

Re: Alien Isolation (.PAK .BIN)

Posted: Fri Oct 10, 2014 10:03 am
by volfin
According to Microsoft's DirectX GI documentation, BC5 is 2 channel 8 bit image.

http://msdn.microsoft.com/en-us/library ... s.85).aspx
Two-channel color Two color channels (8 bits:8 bits) - BC5 - Direct3D 10


So that should be simple to parse.

BC7 is a bit more complicated.
Three-channel color, alpha channel optional Three color channels (4 to 7 bits per channel) with 0 to 8 bits of alpha - BC7 - Direct3D 11
It's documented here with decompression pseudocode:
http://msdn.microsoft.com/en-us/library ... s.85).aspx

and for reference all the DXGI image formats are documented here:
http://msdn.microsoft.com/en-us/library ... s.85).aspx

DXGI is low level calls suported directly in graphics hardware. So I doubt there's any existing libraries for decompression. Unless someone here has previously written one.

Edit: more details in this OpenGL document: https://www.opengl.org/registry/specs/A ... n_bptc.txt

Also I have found a Library that proports to be able to display BC5/BC7 textures via the "DDSView" Example application included.

Main page: http://directxtex.codeplex.com/
DDSView Source: http://directxtex.codeplex.com/SourceCo ... t#DDSView/

Re: Alien Isolation (.PAK .BIN)

Posted: Fri Oct 10, 2014 11:20 pm
by odrin
working on model replacements? like replacing alien with something humorous

Re: Alien Isolation (.PAK .BIN)

Posted: Sat Oct 11, 2014 1:02 pm
by petx
Did you just extract the textures .dds from a Alien Isolation .pak file??
I want to work with the models so if you could explain how did you extract them...
thanks

Re: Alien Isolation (.PAK .BIN)

Posted: Sun Oct 12, 2014 7:56 am
by alterian
Hey cra0, do you think you will work on the .pak extraction more? I would like to see the shaders/materials/textures.

Re: Alien Isolation (.PAK .BIN)

Posted: Sun Oct 12, 2014 8:08 am
by cra0
alterian wrote:Hey cra0, do you think you will work on the .pak extraction more? I would like to see the shaders/materials/textures.
Maybe would help if I owned the game though :/

Re: Alien Isolation (.PAK .BIN)

Posted: Sun Oct 12, 2014 1:35 pm
by TerryXX
Hi cra0, these days I was just looking for a extractor, I would try to change a few texture.
Once you have finished the work could you make it accessible??
Thanks so much.

Re: Alien Isolation (.PAK .BIN)

Posted: Sun Oct 12, 2014 8:21 pm
by Crimzan
Woow awesome what you achieved so far, cra0 :)

I didn't expect anybody to get onto the files of this game that quick :O
So did you write an extractor for these files yourself or is there already a program out there which can open these archives?

I would really love to take a look at the Models especially, but checking how the textures look would be awesome as well :P

I am really curious to see how all of this turns out. I wish you good luck :)

Re: Alien Isolation (.PAK .BIN)

Posted: Sun Oct 12, 2014 9:28 pm
by volfin
Well the game is made by Creative Assembly, the same people who put out all the Total War: games. They usually include an unpacker with the games for modding. But Since I don't have this game yet, I'm not sure if that unpacker works with Aliens. Would be nice if it did.

Hopefully by the time I get the game, someone will have figured all that out. :)

Re: Alien Isolation (.PAK .BIN)

Posted: Sun Oct 12, 2014 10:56 pm
by odrin
it's using different engine from their other games. but pak files are fairly simple to exact i should think. bml files will help with modding game itself. xml files are easily accessed, but offer very superficial modding options

Re: Alien Isolation (.PAK .BIN)

Posted: Mon Oct 13, 2014 3:50 am
by cra0
volfin wrote: Also I have found a Library that proports to be able to display BC5/BC7 textures via the "DDSView" Example application included.
Thanks for this info I'll look into this
Crimzan wrote: So did you write an extractor for these files yourself?
-EDIT-
Someone showed their genuine support for this and bought me a copy of the game I'll release something soon people can play around with

Re: Alien Isolation (.PAK .BIN)

Posted: Mon Oct 13, 2014 5:39 am
by Haoose
http://aluigi.org/papers/bms/others/alien_isolation.bms
aluigi wrote:No filenames, no compression.
The script is just for the PAK archives.

The BIN files are weird, they are not standard archives, they just contain any data so LEVEL_TEXTURE_HEADERS.ALL.BIN is totally different than MODELS_LEVEL.BIN or RADIOSITY_RUNTIME.BIN.

Re: Alien Isolation (.PAK .BIN)

Posted: Mon Oct 13, 2014 5:53 am
by cra0
beta texture tool
AITexPAKExtract_0.2.zip

Re: Alien Isolation (.PAK .BIN)

Posted: Mon Oct 13, 2014 6:24 am
by odrin
very good. can you decompile the bml files?

also, it seems texture diffuse color are procedurally generated

Re: Alien Isolation (.PAK .BIN)

Posted: Mon Oct 13, 2014 7:10 am
by michalss
Can anyone please help me found fonts or might somone allready know :) ? Thx