Page 1 of 1
Empire: Total War .PACK archives
Posted: Sat Mar 07, 2009 4:02 pm
by Rheini
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>;
Re: Empire: Total War .PACK archives
Posted: Sun Mar 08, 2009 12:22 pm
by Crypton
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

Re: Empire: Total War .PACK archives
Posted: Thu Mar 12, 2009 6:41 am
by Alex Bu
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
