Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Search found 2 matches

by jreyesl85
Sun Mar 24, 2019 4:30 pm
Forum: 3D/2D models
Topic: Black Desert Online File Formats (PAB, PAC, PAA)
Replies: 56
Views: 45628

Re: Black Desert Online File Formats (PAB, PAC, PAA)

public ushort FloatToHalf(float float32) { int si32 = BitConverter.ToInt32(BitConverter.GetBytes(float32),0); int num1 = si32 >> 16 & 32768; int num2 = (si32 >> 23 & (int) byte.MaxValue) - 112; int num3 = si32 & 8388607; if (num2 <= 0) { if (num2 < -10) return (ushort) num1; int num4 = n...
by jreyesl85
Sun Mar 24, 2019 4:26 pm
Forum: 3D/2D models
Topic: Black Desert Online File Formats (PAB, PAC, PAA)
Replies: 56
Views: 45628

Re: Black Desert Online File Formats (PAB, PAC, PAA)

I used the method halftofloat from PAZ unpacker code to get 4bytes float values from 2bytes data representing float values It worked for both formats PAC an PAB, even PAA keyframe values seem normal values but rotation and translation are quite weird, you can see tha t is moving but with an unaccept...