Thank you so much for your time to write an script, Luigi! I really appreciate it so much!

This script worked for extract PAK.XEN and TEX.XEN files

I will post what I found and my other concerns ^^
In my first post, I attached 4 files:
Singer_Male.pak.xen
singer_male.skin.xen
singer_male.tex.xen
Singer_Male_Anims.pak.xen
Thanks to the script, I was able to extract 3 of the 4 files.
Singer_Male.pak.xen
singer_male.tex.xen
Singer_Male_Anims.pak.xen
The file "singer_male.skin.xen" returns the following error in QuickBMS.
Code: Select all
Offset: faaabaca
Filesize: 4205492938
Filename: 000b4cd8
Error:
Incomplete input file C:\singer_male.skin.xen
Can't read 64 bytes from offset faabaca.
Anyway, don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please, check the following coverage information to know if it's OK.
Coverage file:
file 0 0% 36 740616 . offset faabaca
Last script line before the error or that produced the error:
48 log NAME OFFSET SIZE
I found this inside the following files using QuickBMS:
Singer_Male.pak.xenCode: Select all
Contains: 4 folders (5.428.818 bytes)
1º Folder's Name: 2cb3ef3b
Code: Select all
Contains 1 DAT File:
0000000d.dat (4 bytes)
2º Folder's Name: 8bfa5e8e
Code: Select all
Contains 1 Subfolder:
Subfolder: 00002000
Subfolder 00002000 contains 11 DDS files (4.688.000 bytes):
0000000a.dds (1.398.240 bytes) [Normal Body DDS Texture]
0000000b.dds (11.056 bytes) [Specular Eyes DDS Texture]
00000001.dds (1.398.240 bytes) [Diffuse Body DDS Texture]
00000002.dds (174.896 bytes) [Specular Hair DDS Texture]
00000003.dds (699.184 bytes) [Diffuse Hair DDS Texture]
00000004.dds (816 bytes) [Diffuse Unknown DDS Texture]
00000005.dds (21.984 bytes) [Normal Eyes DDS Texture]
00000006.dds (174.896 bytes) [Normal Hair DDS Texture]
00000007.dds (699.184 bytes) [Specular Body DDS Texture]
00000008.dds (21.984 bytes) [Diffuse Eyes DDS Texture]
00000009.dds (87.520 bytes) [Diffuse Tatoo DDS Texture]
3º Folder's Name: 64112e85
Code: Select all
Contains 1 DAT File:
0000000c.dat (740.616 bytes) [Presumably 3D Information?]
4º Folder's Name: a7f505c4
Code: Select all
Contains 1 DAT File:
00000000.dat (198 bytes)
singer_male.tex.xenCode: Select all
Contains 11 DDS Files (4.688.000 bytes):
00000000.dds (1.398.240 bytes) [Diffuse Body DDS Texture]
0000000a.dds (11.056 bytes) [Specular Eyes DDS Texture]
00000001.dds (174.896 bytes) [Specular Hair DDS Texture]
00000002.dds (699.184 bytes) [Diffuse Hair DDS Texture]
00000003.dds (816 bytes) [Diffuse Unknown DDS Texture]
00000004.dds (21.984 bytes) [Normal Eyes DDS Texture]
00000005.dds (174.896 bytes) [Normal Hair DDS Texture]
00000006.dds (699.184 bytes) [Specular Body DDS Texture]
00000007.dds (21.984 bytes) [Diffuse Eyes DDS Texture]
00000008.dds (87.520 bytes) [Diffuse Tatoo DDS Texture]
00000009.dds (1.398.240 bytes) [Normal Body DDS Texture]
Singer_Male_Anims.pakCode: Select all
Contains 3 folders (895.541 bytes)
1º Folder's Name: 2cb3ef3b
Code: Select all
Contains 1 DAT File (4 bytes):
0000002a.dat (4 bytes)
2º Folder's Name: 745dcd45
Code: Select all
Contains 41 DAT Files (895.528 bytes)
3º Folder's Name: a7f505c4
Code: Select all
Contains 1 DAT File (9 bytes):
00000000.dat (9 bytes)
So, as you can see, both of the files "Singer_Male.pak.xen" and "singer_male.tex.xen" contain exactly the same DDS Textures for the model. However, the file "Singer_Male.pak.xen" may contain some other information about the model, which I can not interpret, since all files are just DAT files. Some DAT files are kind of big, some other DAT files just have 4 bytes in size. The same happens with "Singer_Male_Anims.pak". It only contains DAT files, which I can not open, since I don't know what type of file is each of one originally. I tried changing DAT file extension into FBX or OBJ without results. I think it has to be more difficult than just changing the file extension, right?
So, I would like to ask for your kind assistance again.
- Is there a way the file "singer_male.skin.xen" could be decrypted? Maybe another script for QuickBMS?
- How can I open those DAT files? How can I know what kind of original filetype it is? Is there any DAT file here that can be interpreted as 3D information, mesh, geometry, rigging, bones, animation, etc?
I attach the extracted files (21,7MB)
https://drive.google.com/file/d/0B2WPzY ... sp=sharingI hope we can work this out together, and I thank you in advance for your time

Thank you again and greetings
