Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Post by AlphaTwentyThree »

I cannot make any sense off the TOC tables because there are different numbers of entries. There are names in the dir and offsets in the idx but both are different numbers. Can anyone help? Here's the archive: http://www70.zippyshare.com/v/TRm7gGsP/file.html
Thanks for your help!
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Post by Ekey »

Well

Code: Select all

struct IDXEntry
{
   uint32_t   dwOffset; //File data offset ??
};

struct DIRHeader
{
   uint32_t   dwTableSize;
   uint32_t   dwTotalFiles;
};

struct DIREntry
{
   uint32_t   dwFileNameOffset; //Offset in string table
   uint32_t   dwUnknown; //File ID i guess
};

   uint32_t   dwStringsOffset = dwTotalFiles * 8 + 8; //For DIR file
Last edited by Ekey on Mon May 23, 2016 7:00 pm, edited 1 time in total.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Post by AlphaTwentyThree »

Thanks for that!

What would be the according QuickBMS script? Just for this one time to see how the transition is made, the next time I can do it on my own I think.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Post by Ekey »

Ok. Seems IDX file contained only offsets for files, but anyway it contains more records than DIR file.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Post by AlphaTwentyThree »

That's the problem I was talking about. Any ideas?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Post by Ekey »

I have no idea at the this moment.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Attack of the Movies 3-D (Wii) - Assets.dfs/.dir/.idx

Post by aluigi »

Strange format, the names in dir are totally useless because they are less than the real number of files.
http://aluigi.org/bms/attack_movies_3d.bms