Join also our Discord channel! Click here.

Empire: Total War .PACK archives

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Rheini
Moderator
Posts: 653
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Empire: Total War .PACK archives

Post by Rheini » Sat Mar 07, 2009 4:02 pm

Support would be cool, here's the format:

Code: Select all

char magic[4];
uint uk;
uint uk2;
uint uk3;
uint numFiles;
uint uk5;

struct Entry
{
    uint size;
    string name;
} directory[numFiles]<optimize=false>;

Crypton
advanced
Posts: 60
Joined: Sat Aug 09, 2008 11:19 am
Has thanked: 2 times
Been thanked: 21 times

Re: Empire: Total War .PACK archives

Post by Crypton » Sun Mar 08, 2009 12:22 pm

Nice find, but are you sure that you cant find that unknown dwords ?:P did you tested if game works with unpacked archives ?:P if not then these values may be important for rebuilding archives :)

Maybe I can help and make unpacked if somebody will send me some archive examples :D

Alex Bu
n00b
Posts: 10
Joined: Fri Nov 07, 2008 9:34 am
Been thanked: 1 time

Re: Empire: Total War .PACK archives

Post by Alex Bu » Thu Mar 12, 2009 6:41 am

Code: Select all

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//pack file, file head format

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//				PHF0					>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//		(DWORD) 01 or 00	unknow 		>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//		(ULONG64) 00		no use		>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//		(DWORD)	Num of file				>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//		(DWORD)	Size of index			>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//pack file, file index format

//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//			(DWORD)	Size of file		>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//				(char) file name 		>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
it is a very simple format,no encrypt,no pack,you can visit total war center to find the unpacker,i have found two version,one is written by delphi,the other is written by python :D

Post Reply