Page 8 of 11
Re: Black Desert PAZ + Meta File
Posted: Sun Aug 24, 2014 7:19 pm
by Timos
Re: Black Desert PAZ + Meta File
Posted: Tue Aug 26, 2014 12:12 pm
by Deadlymice
The animation format is rather confusing :S
I've spent the day looking at it and I can easily determine the number of bones in the animation and where the blocks of data for each bone is but I have had no luck decyphering the blocks of data.
From what I've gathered so far:
Code: Select all
// File Header
0x00000000 char fileId[4]; // 50 41 52 20 "PAR "
0x00000004 unsigned_int16 fileVersion;
0x00000006 BYTE unknownData[10];
// Animation Details
0x00000010 unsigned_int16 boneCount;
0x00000012 float animationTime; // ?? Unsure about this ??
0x00000016 BYTE unknownData[4]; // If animationTime isn't correct this might not even be 4 bytes
// Array of Bone Animation Data
0x0000001A unsigned_int32 boneHash; // Hash value of bone, can easily get all the locations for these from using the .PAB files for reference
// Unknown layout of bone animation data
// Following data next boneHash is present
As for the data in between the boneHash pairs (the hash value for a bone is the start of the data block), the minimum size appears to be 0x3A (58) and I think the next step up size is 0x4E (68)
These blocks seem to be universally starting with the following data:
And the data "E8 03" appears to pop up a lot during this data, I'm unsure of the significance of this. The data isn't in the same format that it's in in the PAB files and I don't think it's in a 4x3 matrix (the step between 0x3A and 0x4E if representative of another key frame isn't a big enough step for another matrix). I haven't even been able to determine where it indicates what frame or timestep the animation data is for. And given the step sizes I've seen between the data I'm not even sure if they are storing the scale, position & rotation of the bone for each point in time (I'd like to think they aren't using bone scales though but that might just be my feelings on the matter).
I have a bunch of bookmark files that I can upload for hex workshop if anyone is interested.
Incase anyone is curious about the bone (PAB) files, I use the following structure with Hex Workshop (load it and map the BoneFile structure to 0x0 of the file):
Code: Select all
#include "standard-types.hsl"
typedef struct FileHeader
{
CHAR fileId[4];
USHORT fileVersion;
BYTE unknown[10];
} FileHeader;
typedef struct Matrix4x4
{
FLOAT data[4][4];
} Matrix4x4;
typedef struct Vector3
{
FLOAT x;
FLOAT y;
FLOAT z;
} Vector3;
typedef struct Quaternion
{
FLOAT x;
FLOAT y;
FLOAT z;
FLOAT w;
} Quaternion;
typedef struct Bone
{
ULONG boneHash;
BYTE boneNameLength;
CHAR boneName[boneNameLength];
ULONG boneParent;
Matrix4x4 boneMatrix;
Matrix4x4 boneMatrixInverse;
Matrix4x4 boneLocalMatrix;
Matrix4x4 boneLocalMatrixInverse;
Vector3 boneScale;
Quaternion boneRotation;
Vector3 bonePosition;
BYTE unknown[2];
} Bone;
struct BoneFile
{
FileHeader fileHeader;
USHORT boneCount;
Bone bones[boneCount];
};
Re: Black Desert PAZ + Meta File
Posted: Tue Sep 09, 2014 12:13 am
by mykolag
Thanks works. waiting for CBT3 client

Re: Black Desert PAZ + Meta File
Posted: Tue Sep 09, 2014 1:56 pm
by Ekey
If someone got access for CBT3 let me know.
Re: Black Desert PAZ + Meta File
Posted: Mon Sep 15, 2014 2:15 pm
by Sectus
.
Re: Black Desert PAZ + Meta File
Posted: Mon Sep 15, 2014 11:34 pm
by archeagejp
none.
Re: Black Desert PAZ + Meta File
Posted: Tue Sep 16, 2014 12:01 pm
by MrMoonKr
Ekey's tool works fine for CBT3 as well
( It would be more better if extraction could be applied to single paz

)
Re: Black Desert PAZ + Meta File
Posted: Tue Sep 16, 2014 4:30 pm
by mykolag
Yes, PAZUnpacker works fine with CBT3.
Unpacked folder has 53,380,549,877 bytes
CBT3 - 6000 paz's files (CBT2 - 8822).
Re: PAZ + Meta File
Posted: Wed Sep 17, 2014 11:54 am
by guardgold
Ekey wrote:teoma wrote:hey Ekey , why when i'm trying to download your PAZ unpacker - it says me - W32/Induc.A Virus.
Thanks for reporting. Here i attach new recompiled version and now it's 100% cleared!

Results:
here
Thank you!
Re: Black Desert PAZ + Meta File
Posted: Thu Sep 18, 2014 6:36 am
by MrMoonKr
some normal map textures are mis-extracted.
their fourCC are 0x7C000000, but should be 0x44445320.
Re: Black Desert PAZ + Meta File
Posted: Thu Sep 18, 2014 9:17 am
by archeagejp
Has anyone ever extracted the client data files(cbt3)?
I extracted the sound files, but it wasn't playable on anything.
The same situation as this topic.
viewtopic.php?f=17&t=11603
Re: Black Desert PAZ + Meta File
Posted: Thu Sep 18, 2014 11:16 pm
by mykolag
archeagejp wrote:Has anyone ever extracted the client data files(cbt3)?
I extracted the sound files, but it wasn't playable on anything.
The same situation as this topic.
viewtopic.php?f=17&t=11603
Did you apply latest 4 patches?
I think CBT3 client will have more updates sooooon...
Re: Black Desert PAZ + Meta File
Posted: Fri Sep 19, 2014 12:20 pm
by Ahri
mykolag wrote:archeagejp wrote:Has anyone ever extracted the client data files(cbt3)?
I extracted the sound files, but it wasn't playable on anything.
The same situation as this topic.
viewtopic.php?f=17&t=11603
Did you apply latest 4 patches?
I think CBT3 client will have more updates sooooon...
How did you extract the CB3 FIles?
Re: Black Desert PAZ + Meta File
Posted: Fri Sep 19, 2014 2:30 pm
by mykolag
You can use PAZUnpacker for CBT3 too.
Re: Black Desert PAZ + Meta File
Posted: Sun Sep 21, 2014 8:04 pm
by janii
Hmmm Pazunpacker says "out of memory" after a minute of freeze
What does it mean?
Yup either crashes or I get that error.
Anything else doesnt happen