Jump to content

(PC) Far Cry 4 Models and Animations (Documented, but needs tools)


Recommended Posts

  • Members
Posted

I initially wanted to make a topic for help with the animations, but I realized there wasn't a proper model importer either, and it's a bit hard to have one without the other.

Game is built on the Dunia Engine, a heavily modified CryEngine. The archive files are extractable with this tool; https://downloads.fcmodding.com/others/fcbconverter/

Model files are .XBG, textures are .XBT, animations are .MAB, textures are extractable with xbt2dds by cra0

There was a 3DS Max script (direct download from a ResHax post) made for the meshes, but imports no weights, along with the bones being named "Dummy000" and so on, so this was a fail.

There was a Noesis script made for Far Cry 3, but it failed on all the Far Cry 4 models I tried.

There was a blender importer as well, but was made for a very old version, I'm not sure it works. Here it is either way: xntx_4410_Blender249[FarCry4][PC][2015-03-29].zip

At first I was seeing if animation rips were possible; I wanted to port over the first person weapons and animations to some other games.

This brought me to https://github.com/buu342/PY-DuniaAnimationExtractor

Which is basically a documentation hub for Far Cry 3's animations, has a link to a forum talking about it further. However, no data is saved, only read.

This went further, where I found a fork of said GitHub https://github.com/qstlijku/PY-DuniaAnimationExtractor

This fork seems to have gotten further with reading the animation data, and includes an XBG model unpacker to ascii that works with Far Cry 4, however the source for the "FC34_ModelUnpacker.exe" converter I couldn't find, I'm assuming either they made it, or it is from a long forgotten post.

Still though no data is saved, and the Far Cry 4 format is unsupported from even being read by the parser.
I can assume the game formats are at least similar, given the fact some tools seem to work for both games, but I've not the skill to code anything out of these.

With that, I'll attach some sample files, if anyone is interested in exploring further.

Meshes.zip Animations.zip

  • Engineers
Posted

Well parsing xbg isn't that hard but there is a little catch. Align. Sometime's there somtime's not. But what is sure the data are aligned to 16 bytes.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...