Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

Alien Isolation (.PAK .BIN)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 432
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 183 times
Contact:

Alien Isolation (.PAK .BIN)

Post by cra0 » Fri Oct 10, 2014 7:32 am

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

User avatar
volfin
ultra-veteran
ultra-veteran
Posts: 444
Joined: Sun Jul 06, 2014 6:30 am
Has thanked: 107 times
Been thanked: 296 times

Re: Alien Isolation (.PAK .BIN)

Post by volfin » Fri Oct 10, 2014 10:03 am

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/

odrin
mega-veteran
mega-veteran
Posts: 170
Joined: Mon May 23, 2011 2:43 am
Has thanked: 3 times
Been thanked: 7 times

Re: Alien Isolation (.PAK .BIN)

Post by odrin » Fri Oct 10, 2014 11:20 pm

working on model replacements? like replacing alien with something humorous

petx
ultra-n00b
Posts: 2
Joined: Sat Oct 11, 2014 12:55 pm

Re: Alien Isolation (.PAK .BIN)

Post by petx » Sat Oct 11, 2014 1:02 pm

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

alterian
ultra-n00b
Posts: 3
Joined: Sun Oct 12, 2014 7:47 am

Re: Alien Isolation (.PAK .BIN)

Post by alterian » Sun Oct 12, 2014 7:56 am

Hey cra0, do you think you will work on the .pak extraction more? I would like to see the shaders/materials/textures.

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 432
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 183 times
Contact:

Re: Alien Isolation (.PAK .BIN)

Post by cra0 » Sun Oct 12, 2014 8:08 am

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 :/

TerryXX
n00b
Posts: 14
Joined: Sun Oct 12, 2014 1:26 pm
Has thanked: 12 times

Re: Alien Isolation (.PAK .BIN)

Post by TerryXX » Sun Oct 12, 2014 1:35 pm

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.

User avatar
Crimzan
ultra-n00b
Posts: 2
Joined: Sun Oct 12, 2014 8:11 pm
Location: Germany
Has thanked: 3 times

Re: Alien Isolation (.PAK .BIN)

Post by Crimzan » Sun Oct 12, 2014 8:21 pm

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 :)
Image

User avatar
volfin
ultra-veteran
ultra-veteran
Posts: 444
Joined: Sun Jul 06, 2014 6:30 am
Has thanked: 107 times
Been thanked: 296 times

Re: Alien Isolation (.PAK .BIN)

Post by volfin » Sun Oct 12, 2014 9:28 pm

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. :)

odrin
mega-veteran
mega-veteran
Posts: 170
Joined: Mon May 23, 2011 2:43 am
Has thanked: 3 times
Been thanked: 7 times

Re: Alien Isolation (.PAK .BIN)

Post by odrin » Sun Oct 12, 2014 10:56 pm

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

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 432
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 183 times
Contact:

Re: Alien Isolation (.PAK .BIN)

Post by cra0 » Mon Oct 13, 2014 3:50 am

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

User avatar
Haoose
mega-veteran
mega-veteran
Posts: 276
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 68 times
Been thanked: 183 times
Contact:

Re: Alien Isolation (.PAK .BIN)

Post by Haoose » Mon Oct 13, 2014 5:39 am

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.
-= GP-team =-
Image

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 432
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 183 times
Contact:

Re: Alien Isolation (.PAK .BIN)

Post by cra0 » Mon Oct 13, 2014 5:53 am

beta texture tool
AITexPAKExtract_0.2.zip
Last edited by cra0 on Tue Oct 14, 2014 2:30 pm, edited 1 time in total.

odrin
mega-veteran
mega-veteran
Posts: 170
Joined: Mon May 23, 2011 2:43 am
Has thanked: 3 times
Been thanked: 7 times

Re: Alien Isolation (.PAK .BIN)

Post by odrin » Mon Oct 13, 2014 6:24 am

very good. can you decompile the bml files?

also, it seems texture diffuse color are procedurally generated

michalss
Moderator
Posts: 943
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 135 times

Re: Alien Isolation (.PAK .BIN)

Post by michalss » Mon Oct 13, 2014 7:10 am

Can anyone please help me found fonts or might somone allready know :) ? Thx
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

Post Reply