ZenHAX
https://zenhax.com/

Far Cry 6 (PC) .XBG
https://zenhax.com/viewtopic.php?f=5&t=15919
Page 1 of 1

Author:  DJ Normality [ Thu Oct 07, 2021 11:33 am ]
Post subject:  Far Cry 6 (PC) .XBG

Some samples from the new Far Cry 6. Only hashes at the moment but the data seems to be correct. Just a newer version.
https://drive.google.com/file/d/1IVS3Ef ... sp=sharing

Author:  DJ Normality [ Mon Oct 11, 2021 12:29 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

Image
Image
Image

Data is off a little but its close. Very strange face data. Anyone care to assist ?

This was file
A08F7270CE7E2467.xbg

Author:  f85322801 [ Wed Oct 27, 2021 9:25 am ]
Post subject:  Re: Far Cry 6 (PC) .XBG

DJ Normality wrote:
Image
Image
Image

Data is off a little but its close. Very strange face data. Anyone care to assist ?

This was file
A08F7270CE7E2467.xbg

Hello, may I ask whether the model resources of Far Cry 6 can be extracted?

Author:  John76 [ Mon Nov 08, 2021 4:36 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

Maybe someone with more experience knows SDOL struct.....Thank's!!!


SDOL chunk 20 bytes (blue range)
dword lod (yellow range)
dword unknown1 (null)
float somefloat (green range)
dword unknown2 (red range)
dword unknown3 (null)
dword vertsize (grey range)
dword buffsize (light blue range) vertsize + normals + uv?
dword buffsize1
????

Image

Attachments:
fc6_2.zip [1.09 KiB]
Downloaded 62 times

Author:  DJ Normality [ Tue Nov 16, 2021 1:21 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

Some hope..
Image

Will update as soon as I know more but a very special person in my discord is working on a tool. Help is still required in SDOL format but it does seem to pull a few meshes and LOD's.

Author:  DKDave [ Tue Nov 16, 2021 4:31 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

I've had a look at this one as well - hope image is big enough to read. Bit tricky... but I've worked out the structure as follows:

Image

Grey = SDOL header (0x1c bytes)
Orange = Section header, 8 bytes (7 = number of parts in this mesh)
Pink = Parts table, first entry of each part highlighted, each part is 0x24 bytes
Yellow = total size of vertex/normal/UV data
Red = unknown bytes before vertex data, size varies
Blue = start of actual vertex data

So the only real unknown is the red part, which seems to be an unspecified number of bytes before the actual vertex data. The count for this doesn't seem to be stored, so not sure what it is.

Author:  h3x3r [ Tue Nov 16, 2021 6:37 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

The Red Part is align. Somtimes is here somtimes not. It's not static.
Image

Author:  DKDave [ Tue Nov 16, 2021 7:50 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

Ah, I can see that now. The vertex and face data are aligned to the next 16-byte offset. I had extracted the SDOL section separately to analyse, but that messes up the alignment.

Author:  John76 [ Wed Nov 17, 2021 1:30 am ]
Post subject:  Re: Far Cry 6 (PC) .XBG

Why do you think the SDOL size is 28 bytes? I think 20...
Please put your xbg model so we can download

Author:  DKDave [ Wed Nov 17, 2021 12:35 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

John76 wrote:
Why do you think the SDOL size is 28 bytes? I think 20...
Please put your xbg model so we can download


The samples are in DJ's first link.

I think it's 28 because the next section starts with that float value and number of submeshes again. Example below. The yellow is the start of the next section. Those 28 bytes don't seem to appear again in the SDOL data.

Image

Author:  ganic3000 [ Tue Nov 23, 2021 5:04 pm ]
Post subject:  Re: Far Cry 6 (PC) .XBG

DKDave wrote:
John76 wrote:
Why do you think the SDOL size is 28 bytes? I think 20...
Please put your xbg model so we can download


The samples are in DJ's first link.

I think it's 28 because the next section starts with that float value and number of submeshes again. Example below. The yellow is the start of the next section. Those 28 bytes don't seem to appear again in the SDOL data.

Image

Hello, this is my first time here, looking at the forums, I partially understood how to get models from the XBG FC6, but that's bad luck, I can't get all the models, maybe I'm looking for something in the wrong place in "offsets" or bytes, here is a video in which I clearly show how get a weapon that not all can be obtained, but some.
https://youtu.be/JANHV7Bz57M

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/