ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Dec 04, 2021 5:27 pm

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Far Cry 6 (PC) .XBG
PostPosted: Thu Oct 07, 2021 11:33 am 

Joined: Tue Jul 24, 2018 8:52 am
Posts: 580
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


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Mon Oct 11, 2021 12:29 pm 

Joined: Tue Jul 24, 2018 8:52 am
Posts: 580
Image
Image
Image

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

This was file
A08F7270CE7E2467.xbg


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Wed Oct 27, 2021 9:25 am 

Joined: Wed Oct 27, 2021 9:05 am
Posts: 1
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?


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Mon Nov 08, 2021 4:36 pm 

Joined: Fri Apr 17, 2020 11:11 pm
Posts: 9
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 63 times
Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Tue Nov 16, 2021 1:21 pm 

Joined: Tue Jul 24, 2018 8:52 am
Posts: 580
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.


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Tue Nov 16, 2021 4:31 pm 
User avatar

Joined: Mon Nov 23, 2020 6:01 pm
Posts: 89
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.

_________________
"You now stand on the cusp of two realities, about to leave all that you know behind. I have called many mortals here in ages past to call forth judgement and test the spirit in the hearts of men."


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Tue Nov 16, 2021 6:37 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 88
The Red Part is align. Somtimes is here somtimes not. It's not static.
Image


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Tue Nov 16, 2021 7:50 pm 
User avatar

Joined: Mon Nov 23, 2020 6:01 pm
Posts: 89
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.

_________________
"You now stand on the cusp of two realities, about to leave all that you know behind. I have called many mortals here in ages past to call forth judgement and test the spirit in the hearts of men."


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Wed Nov 17, 2021 1:30 am 

Joined: Fri Apr 17, 2020 11:11 pm
Posts: 9
Why do you think the SDOL size is 28 bytes? I think 20...
Please put your xbg model so we can download


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Wed Nov 17, 2021 12:35 pm 
User avatar

Joined: Mon Nov 23, 2020 6:01 pm
Posts: 89
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

_________________
"You now stand on the cusp of two realities, about to leave all that you know behind. I have called many mortals here in ages past to call forth judgement and test the spirit in the hearts of men."


Top
   
 Post subject: Re: Far Cry 6 (PC) .XBG
PostPosted: Tue Nov 23, 2021 5:04 pm 
User avatar

Joined: Tue Nov 23, 2021 4:24 pm
Posts: 1
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited