Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Black Desert PAZ + Meta File

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Timos
ultra-n00b
Posts: 1
Joined: Fri Aug 15, 2014 3:12 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Black Desert PAZ + Meta File

Post by Timos »

(:
Last edited by Timos on Sat Jan 03, 2015 3:55 am, edited 1 time in total.
Deadlymice
ultra-n00b
Posts: 2
Joined: Mon Oct 18, 2010 1:10 pm
Been thanked: 4 times

Re: Black Desert PAZ + Meta File

Post 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:

Code: Select all

02 00 00 00 E8 03 E8 03 E8 03
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];
};
mykolag
ultra-n00b
Posts: 8
Joined: Mon Sep 19, 2011 12:22 pm

Re: Black Desert PAZ + Meta File

Post by mykolag »

Thanks works. waiting for CBT3 client ;)
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Black Desert PAZ + Meta File

Post by Ekey »

If someone got access for CBT3 let me know.
Sectus
veteran
Posts: 98
Joined: Tue Sep 15, 2009 5:47 pm
Has thanked: 12 times
Been thanked: 20 times
Contact:

Re: Black Desert PAZ + Meta File

Post by Sectus »

.
Last edited by Sectus on Wed Dec 10, 2014 2:02 pm, edited 1 time in total.
archeagejp
ultra-n00b
Posts: 3
Joined: Fri Jan 03, 2014 12:27 pm

Re: Black Desert PAZ + Meta File

Post by archeagejp »

none.
Last edited by archeagejp on Tue Dec 16, 2014 8:46 am, edited 7 times in total.
MrMoonKr
beginner
Posts: 29
Joined: Fri Oct 16, 2009 7:18 am
Has thanked: 24 times
Been thanked: 3 times

Re: Black Desert PAZ + Meta File

Post by MrMoonKr »

Ekey's tool works fine for CBT3 as well :mrgreen:

( It would be more better if extraction could be applied to single paz :oops: )
mykolag
ultra-n00b
Posts: 8
Joined: Mon Sep 19, 2011 12:22 pm

Re: Black Desert PAZ + Meta File

Post by mykolag »

Yes, PAZUnpacker works fine with CBT3.
Unpacked folder has 53,380,549,877 bytes
CBT3 - 6000 paz's files (CBT2 - 8822).
guardgold
ultra-n00b
Posts: 1
Joined: Wed Sep 17, 2014 11:29 am

Re: PAZ + Meta File

Post 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!

Image
Results: here
Thank you!
MrMoonKr
beginner
Posts: 29
Joined: Fri Oct 16, 2009 7:18 am
Has thanked: 24 times
Been thanked: 3 times

Re: Black Desert PAZ + Meta File

Post by MrMoonKr »

some normal map textures are mis-extracted.
their fourCC are 0x7C000000, but should be 0x44445320.
archeagejp
ultra-n00b
Posts: 3
Joined: Fri Jan 03, 2014 12:27 pm

Re: Black Desert PAZ + Meta File

Post 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
mykolag
ultra-n00b
Posts: 8
Joined: Mon Sep 19, 2011 12:22 pm

Re: Black Desert PAZ + Meta File

Post 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...
Ahri
beginner
Posts: 25
Joined: Wed Apr 11, 2012 4:23 pm
Has thanked: 1 time

Re: Black Desert PAZ + Meta File

Post 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?
mykolag
ultra-n00b
Posts: 8
Joined: Mon Sep 19, 2011 12:22 pm

Re: Black Desert PAZ + Meta File

Post by mykolag »

You can use PAZUnpacker for CBT3 too.
janii
ultra-n00b
Posts: 1
Joined: Sun Sep 21, 2014 7:52 pm

Re: Black Desert PAZ + Meta File

Post 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
Post Reply