Thank you
.gif)
And to sort the files a bit more and to have some less .raw files just add the following switch/case in the GWUnpacker.cpp from xtridence.
Hope the PF one is not a mess from programming style but I'm not a c++ developer and it works like that so I didn't care about it.
Add this one to case 'XETA':
Code:
case 'XCD3':
CreateDirectory("GWDat/ATEX/3DCX",NULL);
printf(" 3DCX");
sprintf(newname,"GWDat/ATEX/3DCX/%s.atex\0",Name);
break;
And the rest in the switch (i):
Code:
case 'UETA':
CreateDirectory("GWDat/ATEU",NULL);
printf(" ATEU");
switch (k)
{
case '1TXD':
CreateDirectory("GWDat/ATEU/DXT1",NULL);
printf(" DXT1");
sprintf(newname,"GWDat/ATEU/DXT1/%s.ateu\0",Name);
break;
case '2TXD':
CreateDirectory("GWDat/ATEU/DXT2",NULL);
printf(" DXT2");
sprintf(newname,"GWDat/ATEU/DXT2/%s.ateu\0",Name);
break;
case '3TXD':
CreateDirectory("GWDat/ATEU/DXT3",NULL);
printf(" DXT3");
sprintf(newname,"GWDat/ATEU/DXT3/%s.ateu\0",Name);
break;
break;
case '5TXD':
CreateDirectory("GWDat/ATEU/DXT5",NULL);
printf(" DXT5");
sprintf(newname,"GWDat/ATEU/DXT5/%s.ateu\0",Name);
break;
break;
case 'LTXD':
CreateDirectory("GWDat/ATEU/DXTL",NULL);
printf(" DXTL");
sprintf(newname,"GWDat/ATEU/DXTL/%s.ateu\0",Name);
break;
}
break;
case 'PETA':
CreateDirectory("GWDat/ATEP",NULL);
printf(" ATEP");
switch (k)
{
case '1TXD':
CreateDirectory("GWDat/ATEP/DXT1",NULL);
printf(" DXT1");
sprintf(newname,"GWDat/ATEP/DXT1/%s.atep\0",Name);
break;
case '5TXD':
CreateDirectory("GWDat/ATEP/DXT5",NULL);
printf(" DXT5");
sprintf(newname,"GWDat/ATEP/DXT5/%s.atep\0",Name);
break;
}
break;
case 'ffba':
CreateDirectory("GWDat/abff",NULL);
printf(" abff");
sprintf(newname,"GWDat/abff/%s.abff\0",Name);
break;
// FP
case 83536:
CreateDirectory("GWDat/PF",NULL);
char type[9];
for (int z=8; z<16;z++)
type[z-8] = Output[z];
type[8] = '\0';
printf(" PF %s", type);
char dirname[18];
sprintf(dirname, "GWDat/PF/%s\0", type);
if (strcmp("ABNKBKCK", type) == 0)
{
CreateDirectory(dirname, NULL);
sprintf(newname,"GWDat/PF/%s/%s.mp3\0",type, Name);
}
else
{
CreateDirectory(dirname, NULL);
sprintf(newname,"GWDat/PF/%s/%s.pf\0",type, Name);
}
break;
case 'dnsa':
CreateDirectory("GWDat/asnd",NULL);
printf(" asnd");
sprintf(newname,"GWDat/asnd/%s.asnd\0",Name);
break;
case 'srts':
CreateDirectory("GWDat/strs",NULL);
printf(" strs");
sprintf(newname,"GWDat/strs/%s.strs\0",Name);
break;
Hope I didn't miss any files. And I didn't know any of the files (except the audio because of the Xing Header) so I just gave them the names I saw in the header.
EDIT:// Edit was because I forgot making ATEP and ATEU dir :/ Sorry