struct IDXHeader
{
//0x47414241 or GABA(ABAG) indicates a audio IDX/BAG pair
//0xEBBCEDFA regular data container, in NoX case BlowFish encrypted
unsigned int Magic;
unsigned int Unknown;//possibly some versioning
unsigned int FileCount;
};
//following the header are count of FileCount Entry structs, in case of RA2 IDX its this structure
struct AudioIDXEntry
{
char Name[16];//someone fucked up at WWP and didn't clear memory tho so make sure to read it to \0
unsigned int Offset;
unsigned int Size;
unsigned int SampleRate;
unsigned int Flags;
unsigned int ChunkSize;
};
The BAG is just raw data in RA2's case
Note in Emperor WW combined idx and bag into just a bag. _________________ Tiberian Dawn, Red Alert, Tiberian Sun ,Red Alert 2,Renegade, Command & Conquer 3,Tiberium and Tiberium Wars and Westwood related image & video archive
https://picasaweb.google.com/113361105083292812413?noredirect=1
Skype live:tomsons26
Don't forget to state who are you otherwise i'll ignore the invite QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum